rramos-acuabit Posted January 31, 2017 Share Posted January 31, 2017 (edited) Hello. The price of the product is wrong when we select more than one combination. On the product page the price is wrong, but not in the cart.We are using the version of Prestashop 1.6.1.11 with a child theme from default bootstrap prestashop theme. We have made several tests, changing the default theme, deactivating the price with VAT included, regenerating the combinations again, etc. But nothing works. I attach a couple of screenshots indicating the combinations selected and the price difference. Here is a example: https://bkfit.com/tienda/268-maillot-entretiempo-wild-wolf-manga-larga-verde-oscuro.htmlDoes anyone have this problem? Could someone help us please? Thanks. Edited February 1, 2017 by rramos-acuabit (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted February 1, 2017 Share Posted February 1, 2017 It's a core bug, discounts are not properly calculated with combos in the js. How are you adding it? Fixed amount right? To the specific combo or globally? Link to comment Share on other sites More sharing options...
rramos-acuabit Posted February 1, 2017 Author Share Posted February 1, 2017 (edited) Hi NemoPS Yes, the discount is assigned for all customers, all customer groups, all currencies and all combinations as the fixed amount (impact on price). I attached a screenshot of the article. Is there a patch or any solution for this problem ?? It's very serious, customer are watching two different prices Edited February 2, 2017 by rramos-acuabit (see edit history) Link to comment Share on other sites More sharing options...
rramos-acuabit Posted February 8, 2017 Author Share Posted February 8, 2017 (edited) It's a core bug, discounts are not properly calculated with combos in the js. How are you adding it? Fixed amount right? To the specific combo or globally? Hi NemoPS, Do you know how to solve this problem? Thanks. Edited February 8, 2017 by rramos-acuabit (see edit history) Link to comment Share on other sites More sharing options...
Plika1988 Posted July 13, 2018 Share Posted July 13, 2018 I had the same kind of issue. I solved it like this: Go to controllers/front/ ProductController.php Change this: $combinations[$row['id_product_attribute']]['price'] = (float)($row['price'], null, Context::getContext()->currency, false); To this: $combinations[$row['id_product_attribute']]['price'] = (float)$row['price']; This fixed my problem anyways. Hope it helps! 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