Yves Posted December 28, 2018 Share Posted December 28, 2018 (edited) Hi there! First of all: I'm using version 1.7.4.4. Situation: I create a combination product with 6 combinations and - for example - 4 images: the cover image to illustrate all possibilities, the image of combination 1+4, the image of combination 2+5 and the image of combination 3+6. However, the cover image to illustrate all possibilities is never shown... All combinations are only linked to the correct image of that combination to improve the interpretation. As one of the combinations is (always?) set as the default combination (for example combination 6), the image of combination 6 is always shown in the product list at the front end. How can I force the cover image of the main information to be shown instead of the default combination image in the product list as a useful trigger to understand all possible combinations? Thanks is advance! Edited December 28, 2018 by Yves a part of the tekst forgotten... (see edit history) Link to comment Share on other sites More sharing options...
ritopina Posted February 3, 2019 Share Posted February 3, 2019 I am also looking for a solution ! 1 Link to comment Share on other sites More sharing options...
monszaic concepts Posted February 5, 2019 Share Posted February 5, 2019 Hello guys. Back in the day when i had my own shop, i had a similar problem with the images. In my situation i wanted all the "green images" to show on the "green-attribute combination". So i developed ImageAssignator. https://bit.ly/2TsXyCx In your case, @Yves i believe this module could work too. The idea behind the Image Assignator is to assign with 2-3 clicks all the images to all the combinations that you want, or to assign specific images to specific combinations. You could assign "Cover" image to all existing combinations and then append the specific images to the specific combinations. Ex: Attributes: Red, Blue Images: Cover Image, Red Image, Blue Image Combinations: Red Combination, Blue Combination. Step 1: You assign Cover Image to Red Combination and Blue Combination. Step 2: You then assign Red Image to Red Combination. This combination will now have Cover Image and Red Combination Step 3: You do the same for Blue Image to Blue Combination. This is a simple solution and may fix your issue. The only downside to it is that you will have "Cover" image when you click the green attribute in the select box. It can be made to hide the cover image once an attribute is selected from the dropdown but you have to edit the front-end functionality and somehow go around the fact that Prestashop uses default combinations at the CORE of a product page. This can complicate things a bit. @ritopina does this solution help you too ? To all guys who may be interested in seeing the live-demo, this is the link towards it: https://bit.ly/2UJXtLh User: [email protected] Pass: demodemo Respectfully, Bogdan Monszaic Concepts Link to comment Share on other sites More sharing options...
ritopina Posted February 5, 2019 Share Posted February 5, 2019 Thank for information Link to comment Share on other sites More sharing options...
zone-S Posted February 20, 2019 Share Posted February 20, 2019 Bonjour, @ritopina Avez-vous trouver une solution ? Merci d'avance Link to comment Share on other sites More sharing options...
Poulsgaard Posted February 21, 2019 Share Posted February 21, 2019 I have the same issue. Also if the default product is sold out, the label "Not on stock" will be shown, even though there might be several variants on stock.... I would be nice, it there was a work-around this... Link to comment Share on other sites More sharing options...
Frankyet Posted April 14, 2019 Share Posted April 14, 2019 This is a known issue, please report here... https://github.com/PrestaShop/PrestaShop/issues/12241 Link to comment Share on other sites More sharing options...
c64girl Posted April 23, 2019 Share Posted April 23, 2019 Well i have 1.7.5 and this bug should been fixed a long time ago. If anyone is interested i found a solution. 1. Add combination named "p" 2. Attach this combination "p" to picture You want to have as cover. And set up as cover hit save button. 3. Turn on dissapiring combinations when out of stock. In this case You have a combination that is Cover image and its out of stock so when someone enter the product it show only avalable combinations. Link to comment Share on other sites More sharing options...
ozn3 Posted May 5, 2019 Share Posted May 5, 2019 Did someone solve this problem? To fix the problem i used c64girl solution but i would like to show the combinations when out of stock! There is any way to fix this bug? Maybe changing the code of some files? Link to comment Share on other sites More sharing options...
dinesh badrukhiya Posted October 2, 2019 Share Posted October 2, 2019 On 12/28/2018 at 2:40 PM, Yves said: Hi there! First of all: I'm using version 1.7.4.4. Situation: I create a combination product with 6 combinations and - for example - 4 images: the cover image to illustrate all possibilities, the image of combination 1+4, the image of combination 2+5 and the image of combination 3+6. However, the cover image to illustrate all possibilities is never shown... All combinations are only linked to the correct image of that combination to improve the interpretation. As one of the combinations is (always?) set as the default combination (for example combination 6), the image of combination 6 is always shown in the product list at the front end. How can I force the cover image of the main information to be shown instead of the default combination image in the product list as a useful trigger to understand all possible combinations? Thanks is advance! Follow this guide How to show cover image of your product with combination in PrestaShop 1.7 2 Link to comment Share on other sites More sharing options...
zomex Posted October 20, 2019 Share Posted October 20, 2019 @dinesh badrukhiya Fantastic guide, thanks! Link to comment Share on other sites More sharing options...
cricket-hockey Posted November 7, 2019 Share Posted November 7, 2019 @monszaic concepts I bought your module a few months ago but it won't install properly. I have tried contacting you many times through envato marketplace and by email but never get a response. I would be grateful if you could check your messages and reply as I really need to get this working. Thanks Jamie Link to comment Share on other sites More sharing options...
Mastuzza Posted November 19, 2020 Share Posted November 19, 2020 On 10/2/2019 at 11:37 AM, dinesh badrukhiya said: Follow this guide How to show cover image of your product with combination in PrestaShop 1.7 Hello dinesh adrukhiya, I have read the guide you recommended but I can't find the code mentioned in the guide in the pathtemplates \ catalog \ _partials \ miniatures \ product.tpl I use prestashop 1.7.6.8 Could you help me understand how to insert a cover image different from the one that prestashop automatically takes from the product combination? Thanks in advance to anyone who wants to help me. Excuse my English but I'm Italian Link to comment Share on other sites More sharing options...
c64girl Posted December 3, 2020 Share Posted December 3, 2020 On 5/5/2019 at 7:56 PM, ozn3 said: Did someone solve this problem? To fix the problem i used c64girl solution but i would like to show the combinations when out of stock! There is any way to fix this bug? Maybe changing the code of some files? I hide the not avalable attributes using css. Link to comment Share on other sites More sharing options...
Symphony Posted September 28, 2022 Share Posted September 28, 2022 On 11/19/2020 at 9:20 PM, Mastuzza said: Hello dinesh adrukhiya, I have read the guide you recommended but I can't find the code mentioned in the guide in the pathtemplates \ catalog \ _partials \ miniatures \ product.tpl I use prestashop 1.7.6.8 Could you help me understand how to insert a cover image different from the one that prestashop automatically takes from the product combination? Thanks in advance to anyone who wants to help me. Excuse my English but I'm Italian Me too - anyone know where to find the code on 1.7.6.8? Link to comment Share on other sites More sharing options...
JBW Posted September 29, 2022 Share Posted September 29, 2022 My Module Please choose attributes - Product combination check has options to replace the default image by the cover image and to always display all combination images 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