Sedaidruck Posted August 7, 2015 Share Posted August 7, 2015 (edited) Hello everyone, unfortunately, I have the following problem with my online shop: the price in products don't update when I select variables or the amount of the product changes. However, the correct price will appear in shopping cart. Link to the shop: http://www.sedaidruck.de/ Prestashop 1.6.1.0 How can I fix this? Thanks in advance for your help Edited August 14, 2015 by Sedaidruck (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted August 7, 2015 Share Posted August 7, 2015 Javascript issue Uncaught ReferenceError: group_reduction is not defined Caused by hsmultiaccessoriespro Link to comment Share on other sites More sharing options...
Sedaidruck Posted August 7, 2015 Author Share Posted August 7, 2015 Thank you for your quick response. we have corrected the error, but the price still don't update. Any other ideas? Link to comment Share on other sites More sharing options...
NemoPS Posted August 8, 2015 Share Posted August 8, 2015 Odd. I guess you can only try to inspect product.js now, where it's supposed to update the value for #our_price_display, and see why it's not Link to comment Share on other sites More sharing options...
Sedaidruck Posted August 13, 2015 Author Share Posted August 13, 2015 I can not find the error. Can someone please look at the file in detail? Link to comment Share on other sites More sharing options...
NemoPS Posted August 14, 2015 Share Posted August 14, 2015 Debugging js is a long process, I guess you'll need to hire someone for that Link to comment Share on other sites More sharing options...
Sedaidruck Posted August 14, 2015 Author Share Posted August 14, 2015 (edited) I have found the problem. It was a module (Multi Accessories Pro). It has overwrited the product.js with own file (/modules/hsmultiaccessoriespro/abstract/views/js/accessoriesprice_16.js) and the line: $('#our_price_display').text(formatCurrency(priceWithDiscountsDisplay * currencyRate, currencyFormat, currencySign, currencyBlank)).trigger('change'); was in this file uncommented. Edited August 14, 2015 by Sedaidruck (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts