From 63c9afabff4417caf2f4333b28dfddf48113698a Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 23 Jun 2025 21:54:30 +0300 Subject: [PATCH] =?UTF-8?q?Maks=20|=20fix:=20=D0=B2=D1=8B=D0=B2=D0=B5?= =?UTF-8?q?=D0=BB=20=D0=A1=D0=B5=D0=BE=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=20?= =?UTF-8?q?=D0=B8=D0=B7=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D0=B0=20=D1=80=D0=B0=D0=B7=D0=B4=D0=B5=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bitrix/catalog/main/section_vertical.php | 68 +++++++++++-------- 1 file changed, 40 insertions(+), 28 deletions(-) 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