Get the lines of an order from only one location

Get the lines of an order from only one location

raulvaquerizo
Shopify Partner
17 3 5

I want to get only the orders where the location is a specific one, and if there are more than one location in the same order, I only want to get the lines from one location. How can I do that? I would also like to know how Shopify interacts when more than one tracking is added to the same order.
Thank you

Replies 3 (3)

JoesIdeas
Shopify Partner
2516 229 678

If by "get orders" you mean receive an email, you can do that with Order Automator app. You can get specific emails based on the order contents, and you can also limit the contents to only a certain location.

 

You might be able to create an email filter as well, depending on how complex your email software is. For example, you could try creating a rule in your email software so that if an email contains certain text, then automatically forward that to an email address.

 

To know how Shopify interacts when more than one tracking is added to the same order, it depends on your configuration. Best way to know that is to create a test order than add 1 tracking number, then add a second (you can add bogus tracking numbers, they don't need to be real shipments).

• Creator of Order Automator [auto tag, fulfill, connect FBA, daily jobs]
• Co-Creator of Product Automator [suite of features for products / collections]
• Shopify developer for 10+ years, store owner for 7 years
• Blog: Shopify Tips, Guides, and Automation Tactics
raulvaquerizo
Shopify Partner
17 3 5

I was referring to Webhooks, my bad for not specifying, but thank you so much.

JoesIdeas
Shopify Partner
2516 229 678

Ah I see, I'm not sure how to do that. Hope you find a solution though.

• Creator of Order Automator [auto tag, fulfill, connect FBA, daily jobs]
• Co-Creator of Product Automator [suite of features for products / collections]
• Shopify developer for 10+ years, store owner for 7 years
• Blog: Shopify Tips, Guides, and Automation Tactics