Magento Tutorials

Learn Magento with us

How to create and edit order emails in Magento

  1. From Magento Admin panel to System→Transactional Emails
  2. On top right click "Add New Template"
  3. Load default template
  4. Click "Save Template" button

Magento default functionality offers the ability to send transactional emails.

Transactional emails are customized emails with different purposes.

So think of emails that you receive in order to reset your password, emails that remind you that you have left your cart abandoned, track packages emails, etc.

They are also widely used for confirming orders, communicating different order information, sending offers or news from your online store to your subscribers and customers.

In this tutorial, we will show you how to create a template for order email in Magento.

We will start from Magento Admin Panel, from where we will navigate to System and choose menu item Transactional emails.

Transactional email menu item

Upon choosing Transactional Email menu item, you will see all the templates you have created so far.

We wanted to create a new template, so we clicked on orange Add New Template button (in the top right corner) of the page.

Here is how it looks:

Add new template button

At this point, you should start adding Template Name and setting up Locale – two of the obligatory fields.

In order to set up Template Name, click on the field next to it and a dropdown menu will appear.

From the dropdown menu (as seen in the screenshot below) you should choose which is the template that you want to load/create by clicking on the orange button that says Load Template.

We chose New order template.

How to create and edit order emails

Once the template is loaded you will see that two fields – Template Subject and Template Content – are automatically generated.

At this point we added Template Name, as shown in the screenshot below:

How to create and edit order email in Magento

In order to add the name of your store, or any other variable, click on the Insert Variable orange button.

Set up the Store name as a variable (considering that you have previously set up the name of your store).

Of course, you can choose to convert a template into a Plain Text by clicking on the orange button in the upper-right part of the page.

Make sure you use the option to Preview Template so that you can adjust it and make it exactly how you wanted.

Now, after previewing your email template, return to Admin Panel and, assuming that you are satisfied with the preview, scroll to the top of the screen and click on Save Template button in the upper right corner.

See the screenshot:

Add new template button in Magento

Notice: Your email preview will be missing customer and order data.

Next, success page will show you that your email template has been saved.

Well done, now go ahead and start confirming all those orders!