[-] 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 3df7d9a131
commit ce886cbde6
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];