Learn how to customize Shopify’s default email templates using Klaviyo to achieve brand consistency across all of your notifications.
Shopify provides many default email templates that can be leveraged within Shopify for automated notifications, such as shipping updates and password resets. While these templates are functional, there is no built-in template editor in Shopify that you can use to customize and style these emails. With Klaviyo, you can fully customize your Shopify notification templates with a distinct layout and style, then export and paste them into Shopify in order to send them via Shopify (not Klaviyo).
Before Getting Started
Make sure to integrate your Shopify store with Klaviyo before getting started.
Tips and Troubleshooting
- Shopify notification templates must be built using Klaviyo's classic editor at this time.
- Klaviyo saves all of your email templates. If you decide to change your logo or website theme, it's easy to go back and update your notification emails accordingly. After making any changes, you'll need to re-import the updated template into Shopify.
- You can find a complete list of Shopify's notification variables here. You can use any of these variables to customize your Shopify email templates.
- Shopify doesn't currently support the use of Klaviyo Product Blocks, which are used to dynamically populate your products in emails. For this reason, if you attempt to export a notification template from Klaviyo that has a product block, you will see an error message or the Export option will be grayed out. If you delete the block, you should then be able to successfully export the template.
- All of the variables you see in these templates are Shopify variables, which are different from Klaviyo variables. While you can edit the content and customize these templates any way you'd like, edit the blocks with dynamic variables with caution. If you make too many changes, you may impact the functionality of the template.
- Preview the edited email templates directly in Shopify to understand what customers will receive. You can also preview these templates within Klaviyo, but only for styling purposes — you won't be able to see the variables populate with dynamic content unless you are previewing in Shopify.
Edit a Template
1. Navigate to the Email Templates tab in Klaviyo.
2. Click Create Template, select Use classic editor, then click Create Template again.
3. Go to the Shopify Notification Templates tab. Here, you can access a number of pre-built Shopify notification templates.
4. Select the template you'd like to use, then name the template and click Create Template. You will be taken to the template editor. From there, you can edit any blocks you'd like, add block styles, choose colors, and add content to customize the template for your brand.
Your template will then appear in the list of templates in your Email Templates tab.
Export Your Template To Shopify
All Shopify notification emails are sent through Shopify, not Klaviyo. Once you've customized your templates, you'll need to export the HTML code one email at a time and paste it into Shopify. For each email template:
1. Go to your Email Templates tab.
2. Find your template and click the three dots, then choose Export. An Export Template HTML window will appear.
3. Copy the HTML code in the window so that you can paste it into Shopify.
4. In your Shopify store admin, click Settings > Notifications.
5. Here, find the notification template you would like to update and click on it.
6. You will immediately see a large section labeled Email body (HTML). Replace the existing code you see in this window with the code you copied from Klaviyo.
7. Click Preview. You should see an example email that reflects the customized template you designed in Klaviyo.
8. Click Save.
Once you've customized each email template and added the HTML to Shopify, your notification emails sent by Shopify will be personalized and reflect your brand's styles.