Skip to main content

How do I change the preview text for my notification emails?

Changing preview text within Shopify notification templates

B
Written by Barranger

Preview text, sometimes called preheader text, is the short line of copy that many inboxes show beside or underneath the subject line. For Shopify notification emails, this text is saved inside the Shopify notification template code.

After your UpOrder notification template is live in Shopify, you can update the preview text directly in Shopify. Each notification has its own template code, so you will need to update the preview text separately for each email where you want different copy.

Before you start

  • Make a copy of the current Shopify notification code before editing it.

  • Only change the preview text copy. Leave the surrounding HTML and Liquid code in place.

  • If you later republish or copy the same notification template from UpOrder into Shopify, review this change again. Republishing can replace the Shopify template code with the version generated by UpOrder.

How to update the preview text

  1. From your Shopify admin, go to Settings > Notifications.

  2. Open Customer notifications, then select the notification you want to edit. For example, Order confirmation.

  3. Click Edit code.

  4. In the email body code, look near the top of the template for the hidden preview or preheader text. It is usually before the main visible email content.

  5. Replace the preview text copy with the wording you want customers to see in their inbox. Keep any Shopify variables you still want to use, such as {{ order_name }}.

  6. Preview the notification or send yourself a test email to confirm the preview text and email content look correct.

  7. Click Save.

Example

An Order confirmation template might include preview text similar to this:

Order {{ order_name }} has been confirmed. Thank you for your purchase.

You can replace the sentence with your own inbox preview copy, while leaving the Liquid variable in place if you want Shopify to include the order name.

Please reach out to [email protected] or through the in-app chat if you have any questions!

Did this answer your question?