Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi,
We currently have products that we have marked as 'continue selling when out of stock'. We would like a workflow to do one of two things or both:
1. When an order is created, if a line item is a negative inventory then tag the order as hold
2. When an order is crated, if a line item is a negative inventory then change the fulfilment status to on hold - when inventory is added change the status to unfulfilled.
Can anyone help?
Assuming you mean out of stock for the variant on the order and that you want to put it on hold if any variant on the order is out of stock, you could check:
if at least one of order / lineItems / variant / inventoryQuantity <= 0
The workflow would look like:
Order created
Condition (see above)
If true:
Hold Fulfillment Order
Hi Paul, thanks for answering Linzal's question. This works great for us. The trouble we're having now is, how to we release orders on hold when products come back in stock? Is there a way to have the system check each order at midnight and release the ones that have all items in stock, or review orders when inventory numbers change? I'm a little stuck here. Thanks for your help!
The might depend on how back in stock works for you, like how you mark products that were not in stock, and what items might be on hold. In the "get order data" action, you can query by sku and fulfillment_status, so you could use that combined with "inventory quantity changed". The workflow would look something like:
This might not be exactly right (e.g., I'm not sure the value to query by is "hold" or not). I'm also not sure how you would want to handle if there were multiple items that aren't in stock for that order (you could probably check that all have an inventory > 0 before releasing the hold).
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024