diff --git a/local/templates/.default/components/bitrix/catalog/main/section_vertical.php b/local/templates/.default/components/bitrix/catalog/main/section_vertical.php index 58ec232..4c692ee 100644 --- a/local/templates/.default/components/bitrix/catalog/main/section_vertical.php +++ b/local/templates/.default/components/bitrix/catalog/main/section_vertical.php @@ -1,6 +1,16 @@ $sectionId, + 'ID' => $arCurSection["ID"], 'ACTIVE' => 'Y', 'GLOBAL_ACTIVE' => 'Y' - ], false, ['ID', 'NAME', 'SECTION_PAGE_URL']); - + ], false, ['ID', 'NAME', 'SECTION_PAGE_URL', 'DESCRIPTION']); + if ($arSection = $res->GetNext()) { $APPLICATION->AddChainItem($arSection['NAME'], $arSection['SECTION_PAGE_URL']); } } -/** - * @global CMain $APPLICATION - * @var CBitrixComponent $component - * @var array $arParams - * @var array $arResult - * @var array $arCurSection - */ - if (isset($arParams['USE_COMMON_SETTINGS_BASKET_POPUP']) && $arParams['USE_COMMON_SETTINGS_BASKET_POPUP'] == 'Y') { $basketAction = $arParams['COMMON_ADD_TO_BASKET_ACTION'] ?? ''; } else { @@ -336,17 +335,30 @@ $APPLICATION->IncludeComponent( -
- - - - IncludeComponent( - "bitrix:main.include", - "", - array( - "AREA_FILE_SHOW" => "file", - "PATH" => "/include/catalog-seo-text.php" - ) - ); ?> - + +
+
+ IncludeComponent( + "bitrix:main.include", + "", + array( + "AREA_FILE_SHOW" => "file", + "PATH" => "/include/catalog-seo-text.php" + ) + ); + } + ?> +
\ No newline at end of file