I
I
Ivan Anikin2020-08-11 12:29:38
1C-Bitrix
Ivan Anikin, 2020-08-11 12:29:38

How to get specific discounts applied to a product in sale.basket.basket?

The $arResult variable contains the $arResult["APPLIED_DISCOUNT_LIST"] array, which contains all applied discounts to products.
There is an array $arResult["ITEMS"]["AnDelCanBuy"] which lists all products, their prices before and after applying discounts, but I can't find information specifically which discounts from $arResult["APPLIED_DISCOUNT_LIST"] have changed for a particular product.

How can I get this information, for example, through the API?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question