nemocean Posted December 29, 2013 Share Posted December 29, 2013 I have a few discounts (6% after 6000, 8% after 8000 etc) And I have set of gifts: 1 gift after 1000, 2 gifts after 2000, ..., 8 gifts after 8000 etc I set priority of cart rules for discount, so it should be applied first, before gifts But it's not work I have order cost 7430 and discount -434. Total: 6 996 to pay But I get 7 gifts (calculated from 7430) instead of 6 gifts (calculated from 6 996 after discount) How can I fix it? Link to comment Share on other sites More sharing options...
NemoPS Posted December 30, 2013 Share Posted December 30, 2013 Prestashop version? Cart rules priority was bugged at least till 1.5.4 Link to comment Share on other sites More sharing options...
nemocean Posted December 30, 2013 Author Share Posted December 30, 2013 PrestaShop™ 1.5.4.1 Link to comment Share on other sites More sharing options...
NemoPS Posted December 30, 2013 Share Posted December 30, 2013 I think it;'s still a prestashop bug then... but anyone may feel free to correct me Link to comment Share on other sites More sharing options...
nemocean Posted January 2, 2014 Author Share Posted January 2, 2014 Hmmm how can I fix it then? Can I find somewhere code changes to fix it? Link to comment Share on other sites More sharing options...
NemoPS Posted January 2, 2014 Share Posted January 2, 2014 Maybe somewhere in the cartrule.php class, but I'm not sure quite honestly. Could be on the the whereabouts of the checkValidity() method Link to comment Share on other sites More sharing options...
Recommended Posts