Get the lines of an order from only one location

Get the lines of an order from only one location

raulvaquerizo
Shopify Partner
13 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
2395 220 635

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 Shopify automation apps Order Automator + Product Automator [apps that save you time + money]
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Figure Out Why You're Not Getting Sales
raulvaquerizo
Shopify Partner
13 3 5

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

JoesIdeas
Shopify Partner
2395 220 635

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

• Creator of Shopify automation apps Order Automator + Product Automator [apps that save you time + money]
• Shopify developer for 10+ years, store owner for 7 years
• I also make guides like Shopify Automation Tips and How to Figure Out Why You're Not Getting Sales