diff --git a/classes/Product.php b/classes/Product.php index 4c32d433f..d253d87f7 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -2470,7 +2470,7 @@ class ProductCore extends ObjectModel if ((int)$id_cart) { $condition = ''; - $cache_name = (int)$id_cart.'_'.(int)$id_product.'_'.(int)$id_product_attribute; + $cache_name = (int)$id_cart.'_'.(int)$id_product; if (!isset(self::$_cart_quantity[$cache_name]) || self::$_cart_quantity[$cache_name] != (int)$quantity) self::$_cart_quantity[$cache_name] = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue(' SELECT SUM(`quantity`)