I need to my store can identify when im buying from a different country and block the inventory thats not available on that country. Example: we have 10 t shirts available in US and we are selling that same t shirt in UK but is sold out in my UK warehouse i want the people in UK to see thats sold out and the people in US can continue shopping. Can we do this?? Cause i know we can use different inventories in different locations but when 1 is sold out automatically by default it takes the product from the main inventory. I need a solution for this.
Topic summary
Managing location-based inventory visibility so shoppers in each country only see stock available in the warehouse that fulfills them. Merchants want UK customers to see items as sold out when the UK warehouse is out, while US customers can still buy from US stock.
Reported behavior: Shopify keeps selling to customers assigned to an out-of-stock location, then shows negative inventory for that warehouse. When one location is sold out, Shopify can draw from a main inventory by default, undermining location-specific availability.
Workaround suggested: Use theme-level Liquid to check per-location inventory and the shopper’s geo-location to display availability accordingly. This can control what’s shown on the storefront.
Limitation: Front-end checks don’t stop backend overselling—inventory can still be deducted incorrectly, producing negative values. Merchants report needing to manually move stock between locations to correct errors.
Status: Ongoing issue; no confirmed fix from Shopify. Merchants request a software fix for Locations inventory logic.
Key terms: Liquid (Shopify’s templating language), geo-location (detects shopper’s country to tailor display/fulfillment).
We also need to be able:
-
have inventory in different locations/warehouses/countries
-
when one location is out-of-stock it should show out of stock to customers that are fulfilled from that location, but allows selling to other customers that are fulfilled from other locations/warehouses that have inventory
Currently, Shopify will keep selling to customers that are being fulfilled by an out of stock warehouse, then show a negative valve for that location/warehouse..
This does not make sense to us.
Thank you for your help,
Bob
Experiencing this exact issue on electric-hair.myshopify.com
Has any solution been found?
We are still having this problem ![]()
was there a solution to this? We would also need to be able to do this.
Your theme should be able to handle this via Liquid, it can simply check the inventory at each location and match to the geo-location of the user, and then display what inventory is available.
Yes, we do this… but Shopify’s software has a bug. It will deduct when there is “0” inventory so a location/warehouse will show a “negative” value. Shopify really needs to fix these… otherwise you will have to constantly be moving inventory from one location/warehouse to another to correct for Shopify’s software bug.
Shopify’s locations is a great feature for those of us with multiple warehouses… unfortunately, Shopify’s software has a bug so inventory is not deducted correctly… we think Shopify should fix this bug in their software… they know this is an issue… Shopify just has not fixed it yet ![]()