Kerm Posted March 28, 2012 Share Posted March 28, 2012 On attributes change, products images hide except first one, how turn off....i dont have attributes/groups images, only products images. When i select other size/color on product page all products images hide except first one... also i need some rule that hide attributes with quantity = 0 (don't say go to bo on products tab, that option never work!) Link to comment Share on other sites More sharing options...
gociak Posted May 31, 2012 Share Posted May 31, 2012 I have the same problem. Can somebody help??? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted May 31, 2012 Share Posted May 31, 2012 Hi Kerm and gociak, Can you please post links where we can see this in action on your sites? -Mike Link to comment Share on other sites More sharing options...
mikey3232 Posted June 27, 2012 Share Posted June 27, 2012 Link of Issue Once you select a color it automatically will ONLY show the black choice. Why arent the other images showing when color is selected? Link to comment Share on other sites More sharing options...
tomerg3 Posted June 28, 2012 Share Posted June 28, 2012 It shows the images that you have selected for the combination. If you want to disable this feature, if you let us know the version number I could point you to the spot in product.js Link to comment Share on other sites More sharing options...
sad Posted June 30, 2012 Share Posted June 30, 2012 (edited) It shows the images that you have selected for the combination. If you want to disable this feature, if you let us know the version number I could point you to the spot in product.js Hi, my version is 1.4.6.2 and i want to disable this feature. Please can you tell me which lines i have to remove in product.js? I already spent about 1 hour , trying to do it by myself in product.js, but got nothing.... Edited June 30, 2012 by sad (see edit history) Link to comment Share on other sites More sharing options...
tomerg3 Posted June 30, 2012 Share Posted June 30, 2012 Edit /themes/_your_theme/js/product.js and change function refreshProductImages(id_product_attribute) { ..... To function refreshProductImages(id_product_attribute) { return; ...... [/code] Save, clear your browser cache and try. 2 Link to comment Share on other sites More sharing options...
sad Posted July 1, 2012 Share Posted July 1, 2012 Edit /themes/_your_theme/js/product.js and change function refreshProductImages(id_product_attribute) { ..... To function refreshProductImages(id_product_attribute) { return; ...... [/code] Save, clear your browser cache and try. thanks mate , i got it. Link to comment Share on other sites More sharing options...
StretchShapes13 Posted September 24, 2013 Share Posted September 24, 2013 (edited) 1.4.9 Edited September 24, 2013 by StretchShapes13 (see edit history) Link to comment Share on other sites More sharing options...
StretchShapes13 Posted September 24, 2013 Share Posted September 24, 2013 Edit /themes/_your_theme/js/product.js and change function refreshProductImages(id_product_attribute) { ..... To function refreshProductImages(id_product_attribute) { return; ...... [/code] Save, clear your browser cache and try. Tomer, How do I do this for my site? I am using prestashop 1.4.9 Thank you Link to comment Share on other sites More sharing options...
tomerg3 Posted September 24, 2013 Share Posted September 24, 2013 I'm not quite sure what you mean how to do it. Open the file mentioned above, and add the line mentioned above. Link to comment Share on other sites More sharing options...
StretchShapes13 Posted September 24, 2013 Share Posted September 24, 2013 Ok will do. I though it may be different for the different version. Thanks Link to comment Share on other sites More sharing options...
Kerm Posted September 26, 2013 Author Share Posted September 26, 2013 // Change the current product images regarding the combination selected function refreshProductImages(id_product_attribute) { return; } Link to comment Share on other sites More sharing options...
Recommended Posts