Answer the question
In order to leave comments, you need to log in
How to display products through a smart filter if the "Available Quantity" parameter is greater than 0?
There is a clothing store with different sizes. But there are sizes that have already ended, but the smart filter still displays them. Can I set to display products with the specified size if their quantity is greater than 0?
Answer the question
In order to leave comments, you need to log in
Firstly, it is impossible to "display goods through a smart filter". Products are displayed as list components (individually or as part of complex ones). The filter only changes the list of products before output.
Secondly, the solution to your problem depends on the catalog model. Namely: is the size a characteristic of a product or a sales offer?
Look here: https://dev.1c-bitrix.ru/user_help/components/cont...
You should be interested in the HIDE_NOT_AVAILABLE parameter. Often, with the right settings, this is enough.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question