Answer the question
In order to leave comments, you need to log in
How to set up the "Filter by Elements" component?
In my infoblock, the elements have three properties. The "Filter by Elements" component should filter by these properties. What data and where should I insert?
<?$APPLICATION->IncludeComponent (
"bitrix:catalog.filter",
"",
Array(
"IBLOCK_TYPE" => "news",
"IBLOCK_ID" => "2",
"FILTER_NAME" => "arrFilter",
"FIELD_CODE" => array(),
"PROPERTY_CODE" => array(),
"OFFERS_FIELD_CODE" => array(),
"OFFERS_PROPERTY_CODE" => array(),
"PRICE_CODE" => array(),
"CACHE_TYPE" => "A",
"CACHE_TIME" => "36000000",
"CACHE_GROUPS" => "Y",
"LIST_HEIGHT" => "5",
"TEXT_WIDTH" => "20",
"NUMBER_WIDTH" => "5",
"SAVE_IN_SESSION" => "N",
"PAGER_PARAMS_NAME" => "arrPager"
),
false
);?>
Answer the question
In order to leave comments, you need to log in
Solved the problem, it was necessary to create a symbolic code for the properties
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question