A
A
Alexander Chibilyaev2016-01-19 16:49:34
PHP
Alexander Chibilyaev, 2016-01-19 16:49:34

How to get Bitrix catalog.section products?

Good afternoon. We use Bitrix small business
The following problem has appeared:
There is a color text field in the product properties.
In an open product, the color field is filled with "red;yellow;green";
How to filter the getlist so that it selects yellow
PS there can be about 15 colors in one product

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Chibilyaev, 2016-01-19
@AAChibilyaev

Solved the issue:
$arFilter["PROPERTY_COLOR"] = '%'.$color.'%'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question