Shopify notification email guide

Add the order note to the Shopify order confirmation email

What you’ll need

  • Access to Settings in your Shopify admin

    How to get this: Access to Settings in your Shopify admin
    1. Sign in at admin.shopify.com with the account you use for your store.
    2. If you are staff rather than the owner, ask the owner to give you Settings permission in Settings › Users.

    Step-by-step guide (opens in a new tab)

  • Shopify’s email template to paste into

    How to get this: Shopify’s email template to paste into
    1. Settings › Notifications › Customer notifications, open Order confirmation (or the email the tool names), then Edit code.
    2. Copy the current code somewhere safe first, so you can undo.

Make the snippet

Steps

  1. In Shopify admin, go to Settings › Notifications › Customer notifications and open Order confirmation. Click Edit code.
  2. Search for <h3>Customer information</h3>. A few lines above it is <table class="row section">, the start of that section.
  3. Click at the start of the <table class="row section"> line and paste the Order note section from the builder.
  4. Click Save, then Preview to check the email. Adding a few lines, instead of replacing the whole template, keeps the rest of Shopify’s template as it is.

Why escape and newline_to_br

escape stops a customer’s note from adding HTML to your email, and newline_to_br keeps their line breaks.

Questions

Where does the note come from?

The cart’s “Order special instructions” box, or a note you add in admin before the email goes out.

More guides