Adding Code for Tag into 'New Order' Email Notifications

emilyg1
Visitor
3 0 0

Hello!

 

I'm trying to find a solution for filtering emails made by POS versus online. Through a plug-in app, I've created a rule to auto-tag my POS orders with 'POS-order' and online orders with 'Online.' Then in my email platform, I've created rules for filtering emails by the text 'POS-order' and 'Online.' Hoping that if we can have the tag show up in the our 'New Order' email notifications, then we can differentiate between in-store and online. Overall, I need notifications of online order so that we can take action on them; but POS orders are already said and done as the sale was made in person and need no further action. (TBH, I'm shocked Shopify doesn't have a solution for this problem yet!)

 

Having a hard time editing the code to display the tag either visually, or even just the text. I've tried using 'if' statement code and am not seeing any results. 

 

Can someone provide me the code to plug in to Shopify's default 'New Order' email code?

 

THANK YOU IN ADVANCE!

Reply 1 (1)
emilyg1
Visitor
3 0 0

I do, please!