Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi!
We sometimes have products that become out of stock but with more due in imminently, so we add them to a 'Pre-Order' collection. My question is can I use Flow to automatically put the fulfilment of these orders on hold? Or automatically add a tag to them so I can filter which orders are ready for fulfilment and which need to wait?
So I'm hoping for a flow like "If order is in collection 'pre-order', place fulfilment on hold' but i don't see how to do that.
TIA!
Solved! Go to the solution
This is an accepted solution.
Would something like this work?
Start with an Order created trigger, then for each line item in the order, check if the product is in the relevant collection, and then Hold fulfillment order (or whatever other action you desire).
This is an accepted solution.
Actually, looking at this again and you probably don't even need the for each loop. A simpler and more efficient approach would be to define it all in a condition where if at least one of order.lineItems and at least one of product.collections matches your criteria then hold fulfillment.
Yeah I think you would need a custom run code step though to pull in the collections associated to the products in the line items.
This is an accepted solution.
Would something like this work?
Start with an Order created trigger, then for each line item in the order, check if the product is in the relevant collection, and then Hold fulfillment order (or whatever other action you desire).
YES! Thank you, that did the trick!
This is an accepted solution.
Actually, looking at this again and you probably don't even need the for each loop. A simpler and more efficient approach would be to define it all in a condition where if at least one of order.lineItems and at least one of product.collections matches your criteria then hold fulfillment.
Hey 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, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024