The component in which you want to display the DESCRIPTION
product catalog is named catalog.list
.
$arResult["DESCRIPTION"]
it is not defined. In $ arResult, this component has a list of products in this directory.
How do I get the component to take DESCRIPTION
?
The catalog.section
component, in which $arResult["DESCRIPTION"]
present on the catalog page, simply does not exist, because someone wrote this all ...
<? $res = CIBlockSection::GetByID(ID раздела); $ar_res=$res->GetNext(); echo $ar_res['DESCRIPTION']; ?>
<? $res = CIBlockSection::GetByID(ID раздела); $ar_res=$res->GetNext(); echo $ar_res['DESCRIPTION']; ?>
<? $res = CIBlockSection::GetByID(ID раздела); $ar_res=$res->GetNext(); echo $ar_res['DESCRIPTION']; ?>
- Nikolay