Код |
---|
<? GLOBAL $arrFilter; $arrFilter = array(); $brand = isset($_GET['brand']) ? intval($_GET['brand']) : 0; if ($brand > 0) $arrFilter['PROPERTY_BRAND'] = $brand; ?> <?$APPLICATION->IncludeComponent("bitrix:catalog.section", "", array( "IBLOCK_TYPE" => "...", "IBLOCK_ID" => "...", "SECTION_ID" => "", ........... "FILTER_NAME" => "arrFilter", ........... "INCLUDE_SUBSECTIONS" => "N", "SHOW_ALL_WO_SECTION" => "Y", ........... "CACHE_FILTER" => "Y", ........... ), false );?> |