[-] FO : empty cache getContextualValue_ when updating cart quantity
This commit is contained in:
1 parent
22694898df
commit
47c118c3ca
1 file changed
+1
@@ -953,6 +953,7 @@ class CartCore extends ObjectModel
|
|||||||
$this->update(true);
|
$this->update(true);
|
||||||
$context = Context::getContext()->cloneContext();
|
$context = Context::getContext()->cloneContext();
|
||||||
$context->cart = $this;
|
$context->cart = $this;
|
||||||
|
Cache::clean('getContextualValue_*');
|
||||||
if ($auto_add_cart_rule)
|
if ($auto_add_cart_rule)
|
||||||
CartRule::autoAddToCart($context);
|
CartRule::autoAddToCart($context);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user