Answer the question
In order to leave comments, you need to log in
How to display all elements of a section?
Guys, please help. There is an infoblock that has subsections. There is a component that is included at the index: bitrix:catalog
In sections.php - it is written - I do the include of the component: bitrix:catalog.section
- in the parameters of this component I set:
"IBLOCK_ID" => $arParams["IBLOCK_ID"], /*здесь значение какое нужно*/
"SECTION_ID" => "",
"SHOW_ALL_WO_SECTION" => "Y",
"INCLUDE_SUBSECTIONS" => "Y"
Answer the question
In order to leave comments, you need to log in
If you want to display all elements from the specified section and all its subsections, then set the parameter "
SHOW_ALL_WO_SECTION
" = > "Y"
Проверьте, какое значение у параметра SECTION_CODE, оно должно быть пустым, как и у SECTION_ID. Второй вариант - если вдруг случайно в фильтре для элементов, задаваемом параметром FILTER_NAME, было добавлено ограничение по разделам.
Maybe there is a limit on the number of displayed elements on one page in the PAGE_ELEMENT_COUNT parameter?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question