S
S
smoln2016-07-07 15:08:59
1C-Bitrix
smoln, 2016-07-07 15:08:59

Show only products that are in stock, when searching, what parameter should I specify?

There is a standard search.page component, it is used when searching for goods, where and what should be specified so that only goods that are in stock are displayed in the search?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Emelyanov, 2016-07-07
@babarun

dev.1c-bitrix.ru/api_help/iblock/classes/ciblockel...
see parameter
CATALOG_STORE_AMOUNT_<warehouse_id>
If there are many warehouses, then do GetList with OR condition

S
Sergey, 2016-07-07
@gangstarcj

To search for goods, it is better to use the search from the complex component "Catalogue", in it all this can be registered. You just have a search for the elements of the infoblock

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question