[-] FO : #PSCFV-3268 - Fix bug with cache and cart rule discount calculation
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16661 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -321,6 +321,10 @@ abstract class PaymentModuleCore extends Module
|
||||
$cart_rule_used = array();
|
||||
$products = $this->context->cart->getProducts();
|
||||
$cart_rules = $this->context->cart->getCartRules();
|
||||
|
||||
// Make sure CarRule caches are empty
|
||||
CartRule::cleanCache();
|
||||
|
||||
foreach ($order_detail_list as $key => $order_detail)
|
||||
{
|
||||
$order = $order_list[$key];
|
||||
|
||||
Reference in New Issue
Block a user