Answer the question
In order to leave comments, you need to log in
How to remove a discount from a product via the API?
You need to remove the discount for a specific product. The old kernel has a CCatalogDiscount::Update method, but how do I get the product IDs of this discount? If receive like this
$discounts = CCatalogDiscount::GetDiscountProductsList(
array(),
array("DISCOUNT_ID" =>1785),
false,
false,
array()
);
Array
(
[ID] => 3
[DISCOUNT_ID] => 1785
[PRODUCT_ID] => 0
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question