Re: Tagging orders with their physical location

Solved

Tagging orders with their physical location

tomsagi
Shopify Partner
4 0 0

Hi, I am trying to use Shopify Flow to tag orders with the physical location they're being shipped from.

 

The flow should be very simple and straightforward, yet for some reason, even though it is triggering and running, the orders are not being tagged with their physical location.

 

I have tried re-running the flow again on orders and still, the tag section seems to be missing the location tag.

 

Here's screenshot of what the flow looks like - https://imgur.com/a/AuaV61Y

 

Thanks,

Tom.

Accepted Solution (1)
ADEcom
Tourist
5 1 2

This is an accepted solution.

Hi again,

i have used the below on a test store and can confirm this works for us:

location{% for fulfillmentServices_item in shop.fulfillmentServices %} {{fulfillmentServices_item.location.fulfillmentService.location.name}},{% endfor %}

 

ADEcom_0-1728486076578.png

 




View solution in original post

Replies 6 (6)

ADEcom
Tourist
5 1 2

Hi Tomsagi,

Could you provide a screenshot of the flow logic? I may be able to assist as we have set up something of similar nature using Flow

tomsagi
Shopify Partner
4 0 0

Hi man here you go!

 

https://imgur.com/a/AuaV61Y

ADEcom
Tourist
5 1 2

Hi Tom,

Thanks for the image, have you tried adding in reading the inventory location from the product within the order instead of the order itself, or an if function, ie if from X location add x tag, i'm not sure how many inventory locations you are using, so may be more of a task.

Let me know if you need a more in-depth explanation or visual to this in flow.

tomsagi
Shopify Partner
4 0 0

Hi, Iv'e tried the following, do you have any idea why it's not working? https://imgur.com/a/EyGVreA

ADEcom
Tourist
5 1 2

This is an accepted solution.

Hi again,

i have used the below on a test store and can confirm this works for us:

location{% for fulfillmentServices_item in shop.fulfillmentServices %} {{fulfillmentServices_item.location.fulfillmentService.location.name}},{% endfor %}

 

ADEcom_0-1728486076578.png

 




tomsagi
Shopify Partner
4 0 0

I got it to work with your help, thanks a lot!