Hi,
we have two warehouses. The first is for the online store, which ships today. The second one is a drop shipment warehouse. We can ship this later.
What we want to do is this: When a product has inventory in the second warehouse, we want to sell it online even when the first warehouse doesn’t have stock. So the checkbox “Continue when out of stock” should be enabled when there is stock in warehouse 1 or 2. The checkbox should be disabled when there is no stock at all.
Is there a way to do this automatically? I can’t find it in the shopify flow app.
Thanks a lot, dirk
Are these not setup as inventory locations already that should already prevent selling when both out of stock?
The main thing is the inventory data in shopify itself.
If stock data is in shopify you could use a scriptable automation app like usemechanic to toggle the selling states based on inventory data. Though they do not have this specific case premade https://tasks.mechanic.dev/?q=inventory%20policy
There is a shopify-flow app script similar but it is for publish/unpubish low or out of stock, and currently no off the shelf action for variants inventory policy.
https://help.shopify.com/en/manual/shopify-flow/reference/examples#inventory-and-merch.
Though disabling add-cart could be facilitated using a metafield action if know how to customize the theme.
https://help.shopify.com/en/manual/shopify-flow/reference/actions/update-product-variant-metafield
Good hunting.