Jump to content

Switch Image Of Product In Product List


sonny90

Recommended Posts

Hello everybody,

I want to allow image of product to be switched from its image1 to image2 when i mouse over it in the product list. I'am using Leo Fashion Store 1.6.0.9.

 

Actually it was working but i used this code http://nemops.com/features-to-product-list-prestashop-16/#.VsL7y9AXVyp in order to show attributes in product list and had to use the product_list.tpl from "default-bootstrap" folder rather than the original one from "Leo_Fashion_Store" folder inside of theme folder. Now the attributes are shown perfectly but the mouse over product image no more :(

 

I searched and found this code https://www.prestashop.com/forums/topic/96085-rollover-image-in-product-list/ but it doesnt seems to work i'am guessing because of version issues.

Hope someone could help me because i'am stuck with that for a while now.

Thanks

Link to comment
Share on other sites

Thanks.

Actually i found the problem is that in "Leo_Fashion_Store" folder i should have added the code with attributes in a file called "product_item.tpl" rather than product_list.

Now it works fine without having to use files from  "default_bootstrap" folder.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...