P
P
pavelmosin2020-02-05 10:42:55
1C-Bitrix
pavelmosin, 2020-02-05 10:42:55

Sorting in catalog sections by availability in warehouses?

Good afternoon. There
is an exchange from 1s, from which ~ 100 warehouses for different cities come.
Goods are simple
. The city of the buyer is written to the session, the warehouse of his city is selected by this value and the available quantity is shown
.
the head comes only when exchanging with 1s, count the quantity in a particular city for each product and write it to the property, and then sort the goods by it.
Maybe there is a simpler / more correct way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail, 2020-02-05
@pavelmosin

*CATALOG_STORE_AMOUNT_<warehouse_id> - sorting by quantity of goods in a particular warehouse (available since version 15.5.5 of the Trade catalog module).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question