[-] FO: Fix #PSCFV-7714 quantity discounts displaying in product page for specific customer
This commit is contained in:
1 parent
f013fdbc2d
commit
ad5b6b875f
1 file changed
+1
-1
@@ -300,7 +300,7 @@ class ProductControllerCore extends FrontController
|
|||||||
$id_product = (int)$this->product->id;
|
$id_product = (int)$this->product->id;
|
||||||
$id_shop = $this->context->shop->id;
|
$id_shop = $this->context->shop->id;
|
||||||
|
|
||||||
$quantity_discounts = SpecificPrice::getQuantityDiscounts($id_product, $id_shop, $id_currency, $id_country, $id_group, null, true);
|
$quantity_discounts = SpecificPrice::getQuantityDiscounts($id_product, $id_shop, $id_currency, $id_country, $id_group, null, true, (int)$this->context->customer->id);
|
||||||
foreach ($quantity_discounts as &$quantity_discount)
|
foreach ($quantity_discounts as &$quantity_discount)
|
||||||
if ($quantity_discount['id_product_attribute'])
|
if ($quantity_discount['id_product_attribute'])
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user