Adding Code for Tag into 'New Order' Email Notifications

Topic summary

Main issue: Include order tags in Shopify’s “New Order” notification emails to distinguish POS (in-store) vs online orders. The user auto-tags orders via a plugin with “POS-order” for POS and “Online” for online.

Context: They want email filters to route online order notifications for action, while POS orders need no follow-up. They’re surprised Shopify lacks a built-in solution.

Attempts: Edited the default “New Order” email template with if statements to display the tag (visually or as plain text), but nothing appears.

Request: A copy-paste code snippet for Shopify’s notification template that outputs the order tag so their email platform can filter on “POS-order” or “Online.”

Definitions: POS = point-of-sale (in-store transactions). “New Order” email = Shopify’s order notification.

Status: No answer or code provided yet. The user reaffirmed interest (“I do, please!”), so the thread remains open with the key question unresolved.

Summarized with AI on January 18. AI used: gpt-5.

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!

I do, please!