S
S
Sergey Valitov2019-07-25 06:36:32
1C-Bitrix
Sergey Valitov, 2019-07-25 06:36:32

How to filter a directory by name and property?

Hello. Question: how to filter a directory by NAME and one property (string)?
Roughly speaking:

$arrFilter =  array('NAME' => '%'.htmlspecialchars($_GET['name']).'%', 'PROPERTY_part_type_VALUE' => 'Audi')

I think you need to look towards complex filters (OR, AND). It is necessary that the results were both by name and by property in the selection.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question