A
A
Anton2019-03-22 15:22:41
1C-Bitrix
Anton, 2019-03-22 15:22:41

How to finalize a smart filter?

I have the output of elements through api, I also customized the filter template.
When there are no options, the items in the filter are darkened, but not always.
For example, I use my "in stock" checkbox property and display items based on availability.
But the filter, of course, knows nothing about such a tick. It turns out that it does not obscure the item.
How to do prefiltering or, in other words, make a smart filter take into account my property?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kudis, 2019-03-22
@kudis

The property has an option "Use in smart filter" - tick it!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question