Answer the question
In order to leave comments, you need to log in
How to set a discount for 3 sections with products?
There are many sections with product groups.
You need to set the same discount for 3 sections.
If you write like this
$IBLOCK_SECTION_ID= 13
then everything is fine, but when I try to specify several sections, for example, like this
$IBLOCK_SECTION_ID= [13,14,15];
That discount is placed on the goods themselves with this id.
Please tell me how can I specify several sections at once?
Answer the question
In order to leave comments, you need to log in
In your condition it is indicated that you are checking the elements of the infoblock. Apparently you need to do this:
[
"CLASS_ID" => "CondIBSection",
"DATA" => [
"logic" => "Equal",
"value" => $IBLOCK_SECTION,
]
]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question