[-] Core: Fix specific prices if they are configured to count quantity per product and not per combination
This commit is contained in:
1 parent
e56ec2f234
commit
8996690a65
1 file changed
-1
@@ -2476,7 +2476,6 @@ class ProductCore extends ObjectModel
|
|||||||
SELECT SUM(`quantity`)
|
SELECT SUM(`quantity`)
|
||||||
FROM `'._DB_PREFIX_.'cart_product`
|
FROM `'._DB_PREFIX_.'cart_product`
|
||||||
WHERE `id_product` = '.(int)$id_product.'
|
WHERE `id_product` = '.(int)$id_product.'
|
||||||
AND `id_product_attribute` = '.(int)$id_product_attribute.'
|
|
||||||
AND `id_cart` = '.(int)$id_cart);
|
AND `id_cart` = '.(int)$id_cart);
|
||||||
$cart_quantity = self::$_cart_quantity[$cache_name];
|
$cart_quantity = self::$_cart_quantity[$cache_name];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user