$rsPath = GetIBlockSectionPath($arResult["ITEMS"][0]['IBLOCK_ID'], $arResult["ITEMS"][0]['IBLOCK_SECTION_ID']); while($arPath = $rsPath->GetNext()) { $APPLICATION->AddChainItem($arPath["NAME"], $arPath["SECTION_PAGE_URL"]); }