Answer the question
In order to leave comments, you need to log in
How to display all store products in a specific category?
I'm trying to display products with the tag sale in the same category. Filter out the categories you need
if($arResult["VARIABLES"]["SECTION_CODE"] === "rasprodazha") {
global $arrFilter;
$arrFilter = Array('PROPERTY_RASPRODASA_VALUE' => 'да');
}
Answer the question
In order to leave comments, you need to log in
The section.php file (or section_horizontal.php, or section_vertical.php) has a component that lists the sections: catalog.section. Which section to display this component understands by parameters
"SECTION_ID" => $arResult["VARIABLES"]["SECTION_ID"],
"SECTION_CODE" => $arResult["VARIABLES"]["SECTION_CODE"],
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question