Hi, Does someone know how to automatically tag an order based on the fulfilment location? I have looked at all Shopify Flow conditions and can't find something suitable.
I also received another suggestion which is to use https://shopify.dev/api/admin-graphql/2021-10/objects/FulfillmentOrder#field-fulfillmentorder-assign... which might be more appropriate for online orders.
Thanks for this but it's not really what I'm after. We have an online store with 2 different locations and sometimes location 1 doesn't have the product so location 2 needs to dispatch it. Based on this, how can Flow automatically tag an order depending on which store needs to dispatch it? I hope this makes sense.
@Fed-Graphics if you don't have any luck achieving this with Flow, as a backup option you can use Order Automator app. It can tag orders based on fulfillment location (and many other criteria), optionally notify someone by email, and even change the location if you want, depending on inventory.
If you need any help with it feel free to reach out to orderautomator.com/contact, we do customizations too.
Just to give a little more clarity to how things work...when an order is created a background job kicks off to assign the lineItems to one or more fulfillment locations. Because the locations are not ready at the time Order Created is fired, this is why you need to use "Order Ready to Fulfill" as the trigger. This trigger fires for each fulfillmentOrder (a set of lineItems assigned to a single location).
As per the template you can then check "fulfillmentOrder / assignedLocation / name" for a location, or use that same variable in the tag action to output the location name to a customer or order tag.
If you need to check inventory for lineItems in the order at a specific location, that is also possible in Flow, but quite a bit more complicated. If so, please provide more details about what you want to have happen.
Make the shift from discounts to donations, and witness your business not only thrive fina...By Holly Dec 4, 2023
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023