S
S
SteepNET2021-12-08 23:30:38
1C-Bitrix
SteepNET, 2021-12-08 23:30:38

Bitrix, output of products in stock first?

Good afternoon! Bitrix: Business latest version.
Comprehensive product catalog bitrix:catalog.
As you know, this is a typical mechanism and works from the standard settings, and provided that:
1. Quantity accounting
is enabled 2. The possibility of buying goods with a negative balance is disabled.
Yes, under these conditions, everything sorts perfectly, out-of-stock items go to the end of the catalog.

But in my case, points 1 and 2 are included, is it possible to somehow resolve this issue?

"ELEMENT_SORT_FIELD" => "sort",
"ELEMENT_SORT_FIELD2" => "id",
"ELEMENT_SORT_ORDER" => "asc,nulls",
"ELEMENT_SORT_ORDER2" => "desc",


Does not help..

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question