Editing code? We recommend saving a backup copy of your template in a plain text editor such as Notepad or TextEdit. You can also restore the default version of an email's global template with the instructions below.

Click + Add template to create a new email template. To edit an existing template, click the ⋯ settings button next to a template and select Edit Template.

Select Edit Template from the menu.

Use the dropdown list at the top of the page to switch between managing the global/default version of this email template or a storefront-specific version.

Toggle between different versions of the same template for each storefront, or the global version.

Click Send test email to receive a copy of this template’s resulting email to the inbox of your user account email address. You can also use the Preview tab when editing a template to see what it will look like.

Send Test Email button at the top of the page when editing an email template


Use the Send in dropdown to set when the email will be sent to the shopper. You can select anywhere from 1 hour to 10 days after the order is considered abandoned. You cannot have multiple emails sent out at the same time to the same customer.

Add a Coupon code to encourage shoppers to complete their order. Select from any coupon codes and coupon promotions you've created.

Set when to send the email, and whether you would like to include a coupon code.


Under the Phrases tab, you can customize the text used in the template. The Phrase name is an identifier used in the template code that outputs a string of text in the resulting email, called the Phrase value. The phrase name is not visible to the shopper.

Phrases are a combination of phrase names and values.

You can change the Phrase name and Phrase value of existing phrases, or you can delete existing phrases by clicking the ⋯ settings button next to the phrase and selecting Delete phrase. You can also create new phrases in a template by clicking the + Add new button at the bottom of the Phrases tab.

Click + Add New to add new phrases, and use the menu to delete phrases.

For example, you can add a phrase named "contact" to direct customers to contact you at a specific email address. In the phrase value, you can enter a phrase like "Contact us at [email protected]". It is also possible to add HTML in the phrase value if you want to create a clickable link like "<a href="mailto:[email protected]">[email protected]</a>".

Example of a new phrase.


Under the Code tab, the Subject line and Email Body of each template can be customized. The subject has a maximum character limit of 255. Select variables are allowed, enabling you to show personalized information. Some variables can be used on their own in a template, while other variables require additional formatting to show specific information. For example, the store name can be used on its own, but listing the products contained in a cart requires additional formatting.

The editable Subject line of an email template

The body of the template is customized by editing its underlying HTML and Handlebars code. It is divided between CSS styling at the top and HTML content at the bottom. We recommend making edits by copying the template code into a text editor and pasting the edited version back into the Email body box.

The Email body portion of an email template, showing the underlying HTML and Handlebars coding


Under the Preview tab, you can see a sample of the resulting email the template will produce, and then go back to the Phrases or Code tabs to make further changes if necessary.

Click Save when you’re done making changes.

If you wish to restore the phrases and code in a global template to their original values, click the ⋯ settings button and select Reset to defaults.

Select Reset to defaults to restore a template to its original values

To restore a storefront-specific template to global values, check the Use Global box.

Enable Use Global to reset a storefront-specific template to use global values.
Did this answer your question?