Answer the question
In order to leave comments, you need to log in
How to display the description of the section of the Bitrix catalog?
The site doesn't display a description of the catalog sections, the standard example that everyone recommends $arResult["DESCRIPTION"] doesn't work.
When checking with <? echo ""; print_r($arResult); echo "";?> produces the following code:
Array
(
[FOLDER] => /uslugi/
[URL_TEMPLATES] => Array
(
[sections] =>
[section] => #SECTION_CODE#/
[element] => #SECTION_CODE#/#ELEMENT_CODE#/
[compare] => compare.php?action=#ACTION_CODE#
[smart_filter] => #SECTION_ID#/filter/#SMART_FILTER_PATH#/apply/
)
[VARIABLES] => Array
(
[SECTION_CODE] => vyzov-ritualnogo-agenta
)
[ALIASES] => Array
(
[compare] => Array
(
[ACTION_CODE] => action
)
)
)
Answer the question
In order to leave comments, you need to log in
In this file
/templates/name/components/bitrix/catalog/uslugi/section.phpthere is no information about the section yet, only the catalog.smart.filter and bitrix:catalog.section components (and other offal) are connected here.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question