From 8996690a6580a611e5b5a93bf5f741bdd2060982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Mon, 29 Apr 2013 18:49:42 +0200 Subject: [PATCH] [-] Core: Fix specific prices if they are configured to count quantity per product and not per combination --- classes/Product.php | 1 - 1 file changed, 1 deletion(-) diff --git a/classes/Product.php b/classes/Product.php index 5eb9a0017..4c32d433f 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -2476,7 +2476,6 @@ class ProductCore extends ObjectModel SELECT SUM(`quantity`) FROM `'._DB_PREFIX_.'cart_product` WHERE `id_product` = '.(int)$id_product.' - AND `id_product_attribute` = '.(int)$id_product_attribute.' AND `id_cart` = '.(int)$id_cart); $cart_quantity = self::$_cart_quantity[$cache_name]; }