A
A
Andrew Sky2016-03-03 13:24:37
PHP
Andrew Sky, 2016-03-03 13:24:37

Is it possible to make a filter with logic in Bitrix?

The task is to write a filter with the following logic:
parameter No. 1: A, B, C
parameter No. 2: D, E, E
Step 1. The user selects A and B first.
Step 2. At the same time, the values ​​D and E that do not correspond to them become inactive ( or disappear).
Step 3. The user selects the remaining value D.
OUTPUT: - product that meets both values
​​A and D - product that meets both values
​​B and D only the value of G Is it possible to write this based on bitrix.smart.filter? If so, what is at least the implementation concept

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikita, 2016-03-03
@Sky161

Isn't that how a smart filter works? in one OR parameter, but between AND parameters?
As far as I remember, that's how it works.

R
Rad1calDreamer, 2016-03-04
@Rad1calDreamer

Can. Read about GetList

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question