[-] FO : #PSCFV-3268 - Fix bug with cache cartrule badly fill
// This fix is not "clean". It would be intersting to take more time to found a better solution
This commit is contained in:
@@ -913,6 +913,15 @@ class CartRuleCore extends ObjectModel
|
||||
|
||||
return $reduction_value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Make sure caches are empty
|
||||
* Must be called before calling multiple time getContextualValue()
|
||||
*/
|
||||
public static function cleanCache()
|
||||
{
|
||||
self::$only_one_gift = array();
|
||||
}
|
||||
|
||||
protected function getCartRuleCombinations()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user