We would I like to add a location attribute in the collections’ conditions which checks the ‘Inventory Stock’ at a specific location.
We currently have the below scenario;
Our online store is only allocated inventory from just one of our locations. So when we add the Condition “Inventory Stock” IS GREATER THAN “0”, it accounts for all inventory stock at all our locations. However this is not what we want. We’d like for it to only check the inventory stock at the specific location that’s dedicated to our online store only.
Shopify’s built-in collection conditions do not support filtering products based on inventory levels at specific locations. The “Inventory Stock” condition checks the total inventory across all locations, which, as you’ve noticed, isn’t ideal for your use case.
One approach would be to use product tags in combination with automated processes:
Set up an automated task (eg using Shopify Flow) that checks inventory levels at your specific location regularly.
If a product’s inventory at that location is greater than 0, the task adds a specific tag to the product (e.g., “Available Online”).
If the inventory drops to 0, the task removes that tag.
Create a Smart Collection that includes products with the “Available Online” tag.
This way, only products with inventory at your specific location will be included in the collection.
Hi @Liam - this works only for hiding the product from a collection right? So, for example if the customers searches the product, or if any recommendations widget is active it may be that they will see the product again, right?