Answer the question
In order to leave comments, you need to log in
Bitrix. Warehouses. How to make a withdrawal only from a specific warehouse?
The task is this. 2 warehouses. 1 Kaliningrad and 2 regions.
If a person enters in Kaliningrad, the prices of Kaliningrad are substituted for him.
Otherwise, the prices of the region are set.
Now the task is to break the warehouses. If the product is not in stock in the regions, then do not display it.
I saw this setting with prices, but I have trouble with warehouses. I don't see how to switch.
Answer the question
In order to leave comments, you need to log in
A year ago there was the same task, by dripping in the source code I found out that there was no way. It's just that the API does not provide such filtering. For each warehouse, I had to create a property with its balances in each region and specify the catalog component as an additional filtering parameter so that the value of the property responsible for the balance of goods in a particular region was greater than zero.
But, in the marketplace there is a module in which the guys managed to filter the goods by the remnants of certain warehouses without resorting to additional saints. Perhaps in the latest update there was such an opportunity, but it is not yet documented, or they make a selection through the ORM.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question