How to modify Email Templates in Magento 2

This is good when you start your own Magento 2 website and get a lot of orders later. But what’s next? You need to contact your customers, and as usual, email is the most popular channels. It provides the default email template for each section of the body sent via Magento 2 system. But in every situation, they should not be suitable for your shop, so you have to modify email templates for every website, store or store view. Upgrade the system configuration after creating a personalized template, so that the custom template is used instead of default. Here, we will explain how to shop owner to modify email templates in Magento 2.

In Magento 2, Body Content Email Template combines header and footer templates to create full message. The content is designed with HTML and CSS, and can be easily edited and customized by adding variables and frontend applications. Besides, default templates include your logo and store information can also be used without further customization. In a good practice, however, you have to visit each template and make any necessary changes before sending them to the customers.

Here are the following steps which help to modify the Email Templates in magento 2:

Step 1: Load the Default Templates

  • In the admin sidebar, go to Marketing>Communication>Email Templates.
  • Click Add new template. In the Template list, select the message template that you want to modify then click Load template.

Step 2: Complete the Template Information

  • After go to Email templates tab, you must fill all the following information below:

Step 3: Modify the template content

  • In the Template Content box, customize the HTML as required (When working on the template code, be careful not to overwrite anything that’s covered in double braces).

  • To add a variable, place the cursor in the code where you need the variable to display, and click insert variable. Then, select the variable that you need to add. When a variable is chosen, a markup tag for the variable is added in the code. In addition to store content variables, the list contains client account URL, customer email and customer name. However, you are not limited to the variables in this list. You can type the code for any system or custom variable into the template.

  • If you want to create any CSS declarations, type the styles in the Template Style Box.
  • When you are prepared to review your work, click Preview Template. Then, make adjustments to the template as required.
  • After complete, click Save Template

Step 4: Update the Configuration

After modifying Email templates, they are auto-saved to email templates list. To build them, you only want to do the following as usual. For this example, the template is placed in the Design/Email section. And you only want to get the Email template field in the form, and select the new template that you formed.

I hope the following steps help you to modify the Email Templates in Magento 2

Last Update: September 13, 2019  

February 23, 2018   713   Nandini Ramachandran    Marketing    
Total 1 Votes:

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Leave a Reply

Your email address will not be published. Required fields are marked *