Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Out-of-stock handling issue for products stored across multiple warehouses

Solved

Out-of-stock handling issue for products stored across multiple warehouses

Aktyva
Tourist
10 0 0

 

Hi Shopify community,

We have a B2C e-commerce website that ships products from multiple warehouses. Orders are fulfilled from the warehouse assigned to the market where the goods need to be delivered.

Here is a simple example of our setup: product X is stored across Warehouses 1 and 2. Each warehouse serves specific markets: A-B-C for Warehouse 1, D-E-F for Warehouse 2.

Our current Shipping profile looks like this:Profile "Example" / handles product X:
- Warehouse 1 (i.e. origin 1) > has active shipping rates set up for markets A-B-C
- Warehouse 2 (i.e. origin 2) > has active shipping rates set up for markets D-E-F

The problem: in the example above, if product X is out of stock in Warehouse 1, a customer in market A is still able to checkout - Shopify somehow allocates the stock from Warehouse 2.
He is even presented with the shipping rates from Warehouse 1 to Market A. These are obviously completely off as in reality, it would be a lot more expensive to ship from Warehouse 2 to Market A.


Expected outcome: we are trying to prevent Warehouse 2 from fulfilling an order in market A when Warehouse 1 is out of stock of product X (broadly speaking, we need to ensure Warehouses only fulfill orders assigned to their countries).In such situation, customers in Market A should be informed that product X is out of stock. They shouldn't be able to complete their order.

Note that we have:
- Set up inventory tracking for each warehouse in our Shopify admin
- Set our routing to have only one active rule: "Stay within the destination market"

Here is a link to a video that shows the issue: https://www.loom.com/share/bd06059ed4ea42808092110add34dc73?sid=ada94dc4-eeda-4500-8c56-569064289240


Would you guys be able to advise what we have done wrong? Is there way to enable what we want?We understand this is not a simple problem, please let us know if you need any screenshots or anything else.
Thank you,


The Aktyva Team

Accepted Solution (1)

Eric-HAN
Shopify Partner
275 30 30

This is an accepted solution.

Hi, there

Can you see the option in your shipping setting

 

EricHAN_0-1722322801874.png

 

- Helpful? Please hit Like and mark it as a solution
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me    Buy Me A Coffee

View solution in original post

Replies 2 (2)

Eric-HAN
Shopify Partner
275 30 30

This is an accepted solution.

Hi, there

Can you see the option in your shipping setting

 

EricHAN_0-1722322801874.png

 

- Helpful? Please hit Like and mark it as a solution
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me    Buy Me A Coffee
Aktyva
Tourist
10 0 0

Hi Eric,
Thanks very much for that, this seems to work. Somehow we hadn't noticed this before!
The Aktyva Team