K
K
Karina2017-01-05 22:01:54
1C-Bitrix
Karina, 2017-01-05 22:01:54

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"

However, I only see items from the first section, but I need them from all. I don't know what to think anymore.
Thanks everyone for the replies.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman Gritsuk, 2017-01-06
@iKapex

If you want to display all elements from the specified section and all its subsections, then set the parameter " SHOW_ALL_WO_SECTION " = > "Y"

Дмитрий Королев, 2017-01-05
@workDNK

Проверьте, какое значение у параметра SECTION_CODE, оно должно быть пустым, как и у SECTION_ID. Второй вариант - если вдруг случайно в фильтре для элементов, задаваемом параметром FILTER_NAME, было добавлено ограничение по разделам.

Олег Максименко, 2017-01-06
@olegprof

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 question

Ask a Question

731 491 924 answers to any question