diff --git a/classes/Cart.php b/classes/Cart.php index 828bda26c..f477f38b0 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -3462,7 +3462,9 @@ class CartCore extends ObjectModel WHERE `id_cart` = '.(int)$this->id.' '.(Configuration::get('PS_ALLOW_MULTISHIPPING') ? ' AND `id_shop` = '.(int)$this->id_shop : ''); - $emptyCache = Db::getInstance()->execute($sql); + $result = Db::getInstance()->execute($sql); + if ($result) + $emptyCache = true; if (Customization::isFeatureActive()) Db::getInstance()->execute('