👷How can I add custom fields to new order notification emails sent to STAFF?
You can display custom field data in New Order notification emails by editing the staff email template in Shopify.
Go to Shopify Admin → Settings → Notifications → Staff Notifications
Select New Order
Click on the Edit code button to access the email template


Simply place your cursor on email body and use the keyboard shortcut Ctrl + F (or Command + F on Mac) to activate the search function there. Please look for " line.variant.title "

Once you find "if" statement for line.variant.title, please find "endif" to ensure that this statement ends properly.
Right after that endif statement, please copy and paste this code snippet below.
Copy
Here is how it may look like eventually.

PreviousHow can I show custom fields in the order confirmation email sent to CUSTOMERS?
NextHow to add custom fields to fulfillment email notification?
Last updated