lmestre Posted October 11, 2015 Share Posted October 11, 2015 (edited) Dear all, I've just installed Prestashop 1.6.1.2RC3 and I am having the following problem. On a product page, if a product has variants, images display ok and zoom functions correctly. See example here : http://revolana.fr/couettes/100-hajla-couette-4-saisons-2-pers.html If a product does not have variants, images display but the zoom function does not work. See example of the following page: http://revolana.fr/couettes/102-hajla-couette-4-saisons-enfant.html On the js console I am getting the following error : ReferenceError: combinationsHashSet is not defined product.js:949:7 I traced down what is different between the page with variants and the one without. In product.js the test on line 78 is true in case of variants but false if there is no variant. if (typeof combinations !== 'undefined' && combinations) { combinationsJS = []; combinationsHashSet = {}; var k = 0; it appears that combinations contains the list of variants but is undefined if there is no variant. Hence the variable combinationsHashSet gets initialized if there are variants but stays uninitialized if there is no variants. If there are no variant, the zoom function does not work either with JqZoom or Fancybox. I already tried to deactivate all options of concatenation, compression and caching of CSS and JavaScript but that does not change the behavior described above. If anybody has any idea how I could fix the problem I would be very much thankful. Lionel Edited October 12, 2015 by lmestre (see edit history) 1 Link to comment Share on other sites More sharing options...
assisassi Posted October 13, 2015 Share Posted October 13, 2015 I see the same problem... but why post a bug of PS 1.6.1.2RC3 in this forum of PS 1.6.0.12 / .13? Link to comment Share on other sites More sharing options...
lmestre Posted October 14, 2015 Author Share Posted October 14, 2015 I couldn't find a topic on PS 1.6.1.2 RC3 and I really didn't know where to post. Thanks to point me to any other topic that would be best suited to get an answer. Cheers Link to comment Share on other sites More sharing options...
Delart Posted October 14, 2015 Share Posted October 14, 2015 Hi, I've reported the bug at the Forge: http://forge.prestashop.com/browse/PSCSX-7056 Link to comment Share on other sites More sharing options...
lmestre Posted October 14, 2015 Author Share Posted October 14, 2015 Thanks Delart, very much appreciated. Link to comment Share on other sites More sharing options...
lmestre Posted October 24, 2015 Author Share Posted October 24, 2015 This problem has been solved in 1.6.1.2 RC4 1 Link to comment Share on other sites More sharing options...
Kerm Posted November 23, 2015 Share Posted November 23, 2015 This problem has been solved in 1.6.1.2 RC4 Where i can find info about this fix only? for some reason i cant update all files on new version, i want update only files with this fix. Thx. Link to comment Share on other sites More sharing options...
Recommended Posts