M
M
miniven2017-09-07 16:15:22
HTML
miniven, 2017-09-07 16:15:22

How to force the Bitrix filter to show only the values ​​of the properties of the current section?

There was a problem of the following character: added a smart filter to the directory section. Everything filters great. But the filter is shown in different sections, such as "Kitchens", "Chairs", etc. And if there is a green product in the "Kitchens" section, or a blue product in the "Chairs" section, then the filter shows these options in all sections. And I need that in the "Kitchens" section in the filter there is no "Blue" value of the "Color" property, if there is no blue kitchen in this section, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-09-08
@gangstarcj

Is the filter connected in the complex? There, the SECTION_ID is passed to the filter component parameter and the properties are taken from this section

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question