Daenu Posted July 1, 2016 Share Posted July 1, 2016 (edited) Customer group reduction & product combinations Using version 1.6.1.6 (latest) The situation is as follows: If product HAS combination AND group reduction => Detail page price = wrong => shopping cart price = correct If product HAS NO combination AND group reduction => all prices = correct If product HAS combination AND NO group reduction => all prices = correct I've read a lot of topics concerning this subject but they all cover elder versions like 1.6.01 and so on. the last entry i saw was posted in October 2015. So I wonder if it's (still) a bug or if it's just impossible to have combined products with a group reduction.... To say that my client swears that it has worked (sometimes) which isn't really helpful. I did a lot of the things suggested by the before mentioned posts but none of them has solved the problem. Any suggestions? Edited July 3, 2016 by Daenu (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted July 3, 2016 Share Posted July 3, 2016 is the default theme? if not, try with default Link to comment Share on other sites More sharing options...
Daenu Posted July 3, 2016 Author Share Posted July 3, 2016 (edited) Unfortunately it doesn't matter which theme is used. I had installed a "blank" shop with the default theme to do some tests. And it's the same problem. I could send you the admin login of the test shop if it helps Edited July 3, 2016 by Daenu (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted July 16, 2016 Share Posted July 16, 2016 you can try to find a third party module in addons store Link to comment Share on other sites More sharing options...
MarX Posted June 26, 2020 Share Posted June 26, 2020 From my POV is BUG #462 in ProductController.php // replace // $combinations[$row['id_product_attribute']]['price'] = (float)Tools::convertPriceFull($row['price'], null, Context::getContext()->currency, false); // with this // $combinations[$row['id_product_attribute']]['price'] = (float)Tools::ps_round(Product::getPriceStatic((int)$this->product->id, false, $row['id_product_attribute'], 6), (int)Configuration::get('PS_PRICE_DISPLAY_PRECISION')); 1 Link to comment Share on other sites More sharing options...
Behc98 Posted October 16, 2021 Share Posted October 16, 2021 On 6/26/2020 at 3:00 PM, MarX said: From my POV is BUG #462 in ProductController.php // replace // $combinations[$row['id_product_attribute']]['price'] = (float)Tools::convertPriceFull($row['price'], null, Context::getContext()->currency, false); // with this // $combinations[$row['id_product_attribute']]['price'] = (float)Tools::ps_round(Product::getPriceStatic((int)$this->product->id, false, $row['id_product_attribute'], 6), (int)Configuration::get('PS_PRICE_DISPLAY_PRECISION')); it solved my problem, thanks. I don't know if it will cause another problem. Link to comment Share on other sites More sharing options...
MarX Posted October 16, 2021 Share Posted October 16, 2021 Hi, It´s 100% safe, only one disadvantage is that previous version is faster in the order of milliseconds. On the other hand, the advantage is that it works. 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