vodalus Posted November 6, 2014 Share Posted November 6, 2014 Hi I have been asked to make a small change to a prestashop 1.6.0.9 site. Currently when a product is loaded that has multiple colours available the first product in the colours select list is automatically selected and the main image displays the image for that colour rather than the image which is set as "cover" for that product. The client would like that no colour be automatically selected when the page loads and that the cover image be loaded first and not changed until a specific colour is selected. I have been able to get the select dropdown list not to be set to a specific colour just by adding "<option value="">Select One</option> to the template file however this does not stop the image for the first colour option from loading. How do I make it so that the "cover" image for a product is displayed when a product page is first loaded? Thanks Link to comment Share on other sites More sharing options...
Preetgill Posted July 31, 2015 Share Posted July 31, 2015 Hi, does anyone have a solution to this yet? Link to comment Share on other sites More sharing options...
Guest Posted November 15, 2015 Share Posted November 15, 2015 I want to do exactly the same thing, did you find a solution? Anyone has a good idea? I tried to compare Category.tpl loading the home-default image which is the correct one but I fail to be able to load this image from Product.tpl. This is a pretty sensible requirement and I am surprised this is not the default way of working in Prestashop. Link to comment Share on other sites More sharing options...
hannes01 Posted December 17, 2015 Share Posted December 17, 2015 I'm having the same issue. A cover image should be a cover image and not depend on the attribute. Could someone please offer a solution.... thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now