A
A
Alex Sokol2021-10-24 21:07:43
1C-Bitrix
Alex Sokol, 2021-10-24 21:07:43

Why do I create a $code=CCatalogDiscount::Add($arF) product discount but it is not visible anywhere?

Why do I create a $code=CCatalogDiscount::Add($arF) product discount but it is not visible anywhere?
only in the discount list CCatalogDiscount::GetList

neither in the admin panel nor in the product array nor in the product card

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Gritsuk, 2021-10-25
@winer

CCatalogDiscount are the old discounts from the catalog module.
You need the CSaleDiscount class - these will be the cart rules (discounts from the sale module)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question