Answer the question
In order to leave comments, you need to log in
How to not display section description on pagination pages?
Hello!
The section description is output by the bitrix:catalog component
Here is the code:
<?if($posSectionDescr=="BOTH"):?>
<?if($arSection[$section_pos_bottom]):?>
<?=$arSection[$section_pos_bottom]?>
<?endif;?>
<?elseif($posSectionDescr=="BOTTOM"):?>
<?if($arSection[$arParams["SECTION_PREVIEW_PROPERTY"]]):?>
<?=$arSection[$arParams[" SECTION_PREVIEW_PROPERTY"]]?>
<?elseif ($arSection["DESCRIPTION"]):?>
<?=$arSection['DESCRIPTION']?>
<?elseif($arSection["UF_SECTION_DESCR"]):?>
<? =$arSection["UF_SECTION_DESCR"
Answer the question
In order to leave comments, you need to log in
The simplest option is a crutch, check for the presence of a pagination variable and do not display if it exists
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question