Comment on page

Email templates

You can customize the email notifications sent to the customers when they place an order. The email templates offer a wide range of short codes to include dynamic data like order information, customer information in the email notification.

Customizing the template

Free version
Write a language override for the following constants:
This is the subject of the email
This controls the body of the email.
Refer below all the short codes that can be used in the email template
PRO version
In Pro version, you have the ability to create the email template from the backend. And you also have the ability to apply different restrictions for them.
To create an email template, follow the steps as shown with the help of images.
Creating a new email template
From the resulting page, click on New in the top left corner.
Creating a new template using new button

How to create email template?

You will get two settings tabs to be filled up for creating an email template. They are
  • Basic
  • Advanced
The fundamental requirements of a template. Let us see one by one.
Choose the mail receiver to whom the mail should send. Sometimes you may want to send a mail to only customer or both admin and customer or to send store admin only. In this case, you can use this option to choose the mail receiver.
The languages for which the template is compliant, is set here. You can select All for all languages.
Order Status
A specific order status can be selected for emailing the necessary intimation to be sent. It can be any one of all the options listed. If email has to be sent for multiple options, then multiple templates has to be created.
Here the user group from which the email can be sent is selected.
Payment Methods
The payment methods that are covered for emails can be selected here.
It has to be enabled first to send email.
A short one line info about the content of the email.
Template Body Source
The source used to design the email template is selected here. There are two options to choose from. They are:
  1. 1.
    Simple Editor
  2. 2.
    Template List
After you select an option from the list, you have to Save once. Then only you can set the advanced tab.
In Simple Editor, the content of the email body can be designed here. There are so many options available to customize the content. There is a rich text editor that helps formatting the content. The facilities that are available in the editor:
  • Cut, Copy, Paste
  • Insert links or images
  • Formatting the text in the body like, bold, italicize, line spacing, underlining, and much more
  • Insert tables
  • Insert source code etc
Full articles can also be added to the content, from other external sources.
In Template List, you can have a list of templates in the form of .php files. You can select from the available one in the advanced tab.
If you have selected Simple Editor in the Basic Tab, then the Advanced Tab will look like the below image.
Advanced settings adding shortcodes
There are a number of tags listed in the extreme right of the editor from where they can be added to the editor content.

How to add custom fields inside email template ?

Also, you can add custom fields you have created in the editor. To add a custom field in the editor for display, you need to follow the format given below:
Keep in mind, the following, when you add a custom field to the editor:
  • The custom field should be enclosed in []
  • All the letters should be in CAPITAL letters
  • ‘CUSTOM’ is the first word inside the []
  • Next, the section in which you have created the field, like, ‘BILLING_FIELD’
  • And finally, the field name
Refer the image below for more clear understanding.
Supported shortcodes for custom fields

How to create template override for items table showing in the order email ?

If you would like to customize the order item table showing in order email notification, that could be possible by creating template override. Carrying out customizations through template override will not overwrite the changes if you update it in future.
Here are the instructions to be followed:
The files that controls items table is located at
Copy the above file and paste it under
Make your changes and save.

How to add logo in your Email Template ?

Adding a logo in email templates

Short codes

[ITEMS] (This displays all items in the order)
Video tutorials