diff --git a/classes/SpecificPriceRule.php b/classes/SpecificPriceRule.php index b0312a4fcbb4b..65491e3121c88 100644 --- a/classes/SpecificPriceRule.php +++ b/classes/SpecificPriceRule.php @@ -319,7 +319,7 @@ public static function applyRuleToProduct($id_rule, $id_product, $id_product_att (int) $rule->from_quantity, (string) $rule->from, (string) $rule->to, - (int) $rule->id + $rule->id != 0 ); $specific_price = new SpecificPrice($idSpecificPrice);