Answer the question
In order to leave comments, you need to log in
How to filter news component by multiple property?
Guys, hello everyone. Such a question - I want to filter the news component in Bitrix by the PROPS multiple property. This property has a multiple value of type string. Now there are several lines, for example: Price = 1500000 €, area = 500m², etc.
I reassign the arrFilter array and reference it in the component's parameters. How do I populate the array:
$GLOBALS['arrFilter'] = Array("ACTIVE" => "Y", 'PROPS' => array("1.900.000 €"));
Answer the question
In order to leave comments, you need to log in
here is the dock
https://dev.1c-bitrix.ru/learning/course/index.php...
filtering by property is done like this
$arrFilter['PROPERTY_<property code>']
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question