We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Можно с помощью функции:
$nav = CIBlockSection::GetNavChain(false, $IBLOCK_SECTION_ID); while ($sectionItem = $nav->Fetch()){ ... }
Функция возвращает путь по дереву от корня до раздела $IBLOCK_SECTION_ID