[-] FO : #PSCFV-3268 - Fix bug with cache and cart rule discount calculation

This commit is contained in:
mDeflotte
2012-08-02 09:07:18 +00:00
parent 789d8ebe30
commit b3d1dbbadc
3 changed files with 27 additions and 16 deletions
+4
View File
@@ -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];