Answer the question
In order to leave comments, you need to log in
Is it possible to override catalog.section parameters in a complex component?
Briefly:
If a complex component still contains a catalog.section, is it possible to somehow redefine some of the parameters of this component so as not to use the TOP component?
It is necessary to clear the parameter ID of the request, add the name of the filter and the parameter
"SHOW_ALL_WO_SECTION" => "Y"
GLOBAL $arrFilter;
$arrFilter = array(
'PROPERTY_ID_свойства' => ID раздела,
);
Answer the question
In order to leave comments, you need to log in
Yes, you can, just redefine the variables in the
section.php or sections.php files of the complex component
The complex component passes them through the $arParams array
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question