Answer the question
In order to leave comments, you need to log in
How to get Bitrix subsection id?
It is necessary to check in the template whether the product belongs to a subsection. The problem is that products belong to both the main section and the subsection. $arResult['IBLOCK_SECTION_ID']
returns the ID of the main partition.
Is there some function to check if a directory object belongs to a particular partition?
Answer the question
In order to leave comments, you need to log in
Good afternoon.
There is a function to get the sections to which the element is attached
dev.1c-bitrix.ru/api_help/iblock/classes/ciblockel...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question