Email Templates in Magento 2: From A to Z

Magento 2 Email Templates: From A to Z

by admin

Magento 2 Email Templates, also known as the Body Message of an email to distinguish it from the Header and Footer configuration sections, are the primary focus of your store’s mailing system. Its programmatic function sends email notifications to each guest and admin operating action in the store.

Aware of Magento 2 templates needed for your store

Firstly, you must know there are 11 categories for your body message template, corresponding to its parent categories in Store > Configuration. Templates starting with Magento_groupname to mark they are default templates by Magento:

  • Magento_Checkout: Payment failed.
  • Magento_Contact: Contact form.
  • Magento_Customer: Change email, change email & password, forgot password, new account, new account (Magento/luma), new account confirmation key, new account confirmed, new account without password, remind password, reset password.
  • Magento_Directory: Currency Update Warnings.
  • Magento_Newsletter: Subscription Confirmation, Subscription Success, Unsubscription success.
  • Magento_Product Alert: Cron Error Warning, Price Alert, Stock Alert.
  • Magento_Sales: Credit Memo Update, Credit Memo Update (Magento/luma), Credit Memo Update for Guest, Credit Memo Update for Guest (Magento/luma), New Shipment, New Shipment (Magento/luma),  New Shipment for Guest, New Shipment for Guest (Magento/luma), Order Update, Order Update (Magento/luma), Order Update for Guest, Order Update for Guest (Magento/luma), Shipment Update Shipment Update (Magento/luma),  Shipment Update for guest, Shipment Update for Guest (Magento/luma).
  • Magento_Send friend: Send Product Link to Friend.
  • Magento_Sitemap: Sitemap Generation Warnings.
  • Magento_User: Forgot Admin Password, User Notification.
  • Magento_Wish list: Wish list sharing.

Later on, you might have more Magento 2 email templates for different features or modules, such as:

CLICK TO READ change Magento 2 email logo in blinks.

How to Add and Customize Body Message of Magento 2 Email Templates

We will go to the tutorial part right now. Please login to the Admin Panel. Find Marketing on Admin Sidebar. Select Magento Email Templates which are under the section of Communication.

magento-2-email-templates-configs

You will browse Template Management, including a list of created and modified Magento 2 email templates. To preview the last template, click Preview. To delete the template, open the target template by clicking once. And choose the Delete Template.

magento-2-email-templates

agency-email

Now we move on to how to modify the template content. Click Add New Template to start:

magento-2-email-templates-add-new-one

In the New template Window, choose one Template to change the content. Click to the arrow and find templates starting with Magento_,

*Note: Skip Magento_Email (for Header, Footer).

The Magento system sends some templates to admin such as Magento Directory, Magento Product Alert, Magento Sitemap, Magento User, while the rest are sent to customer accounts/guests.

new-template

In this example, I will guide you through the Payment Failed Template. Find Magento_Checkout, I click Load Template.

load-template

tempate-loading

Wait a few seconds. You are ahead to customize the name of the template, subject of the email, and template content – styles.

Before that, see the template configuration in Currently Used for. In Payment Failed, you can find and configure in Stores > Configuration, page: Sales – section: Checkout, like in the path.

magento-2-email-templates-edit

To add more information to the email, choose Insert Variables, you will see the list of additional fields.

insert-variables

When customization is done, click Save Template to preserve all changes. Click Reset to re-do again, Preview to see the draft template before Save or Convert to Plain Text to quit the current HTML view.

In the next part, you will know how to use the templates you have just created.

Back to Admin Sidebar, look for Stores. Navigate to Configuration.

Find Sales. See the Checkout. At the Payment Failed Emails, specify Payment Failed Email Sender/ Receiver.

Assign the template by selecting templates in the drop-down menu.

email-configuration

After all, settings are done, click Save Config to use your edited template body message email. You have successfully compiled your body message in Magento 2 email template!

We would summarize the full Magento 2 Email Templates list preview in the final part. Let’s take a look now!

>>> EXPLORE how to  Create Magento 2 Order Confirmation Email Template In 5 Min

Summary of full list Default Magento 2 Email Templates

1. Payment Failed

payment-failed-magento-2

2. Change Email

magento-2-change-email

3. Change Email & Password

magento-2-change-email-password

4. Forgot Password

magento-2-forgot-password

5. New account

magento-2-new-account

6. New Account Confirmation Key

confirmation-key

7. New account confirmedmagento-2-new-account-confirmed

8. New Account without Password

magento-2-new-account-without-pass

9. Remind Password

magento-2-remind-pass

10. Reset Password

magento-2-reset-password

11. Cron Error Warning

12. Credit Memo Update

magento-2-credit-memo-update

13. Credit Memo Update for Guest

magento-2-credit-memo-guest

14. Invoice Update

magento-2-invoice-update

15. Invoice Update for Guest

magento-2-update-guest

16. New Credit Memo

magento-2-new-credit-memo

17. New Credit memo for Guest

magento-2-new-credit-memo-guest

18. New invoice

magento-2-invoice

19. New Invoice for Guest

magento-2-invoice-guest

20. New Order

magento-2-new-order

21. New Order for Guest

magento-2-new-order-guest

22. New Shipment

magento-2-shipment

23. New Shipment for Guest

magento-2-shipment-guest

24. Order Update

magento-2-order-update

25. Order Update for Guest

magento-2-order-update-guesst

26. Shipment Update

magento-2-shipment-update

27. Shipment Update for Guest

magento-2-shipment-update-guest

28. Send product link to a friend

magento-2-send-product-link-to-friend

29. Sitemap Generation Warnings

30. Forgot Admin Password

magento-2-forgot-admin-password

31. User notification

magento-2-user-notification

32. Wish List Sharing

magento-2-wishlist-sharing

>>>CLICK HERE to find the Step By Step To Customize Magento 2 Footer Template For Emails

Best Practice For E-commerce Email Template

While using the pre-built email template can reduce your work, it can also bring adverse effects for your business if you don’t weigh all aspects of the template carefully.

Owners can assimilate these practices into their Magento 2 email templates selection process because a well-designed email can captivate and immediately impact a business’s performance.

  • Keep your email template simple: Keep your Magento email templates simple, not just reduce your time and efforts in producing those messages, but also prevent your business from being listed as spam by the recipient’s spam filter. An email with too many images can also be overwhelming for your subscribers, and they can miss the main point of your email. Refer to 4 Steps To Add Image To Email Template In Magento 2 and some tips to optimize email images.

keep-magento-2-email-templates-simple

  • Attract customers by excellent subject line: The subject line is like the first greeting to subscribers from their inbox. You want to make sure that it’s as attractive and memorable as it can be. Including Call-To-Actions words in your subject line is what we would typically recommend, and you can also utilize phrases like “end soon” or “limited availability” to induce in readers a sense of fear of missing out. And not just the subject line of your email, but a few first words of your email also displayed along with it. When choosing your Magento 2 email templates, keep that in mind because those words need to string your contacts long enough for them to get through the sales cycle.
  • Include some visual elements in your email template content: Just because you should keep your email simply doesn’t mean your Magento email template should be plain-text and insipid. A few images, GIFs, or colored blocks can break up your message and make it easier to skim, as long as you don’t overdo it.

email-templates-with-images

>>> DON’T MISS OUT: Magento 2 Email Settings: Easy Step-By-Step Tutorials To Master

Wraps Up

With many years of Magento 2 experience, we’ve noticed that most stores prefer the default Magento 2 email templates and designs for their body email message. Granted, it is quite an informative configuration for operation mailing for a store, and you can take good advantage of this ready resource.

BSS Commerce is one of the leading Magento extension providers and web development services globally. With experienced and certified Magento developers, we commit to bringing high-quality products and services to optimize your business effectively. Furthermore, we offer FREE Installation – FREE 1-year Support and FREE Lifetime Update for every Magento extension.

CONTACT NOW to let us know your problems. We are willing to support you every time.

Next Reading Suggestions

© 2019 BSS Commerce owned by THANH CONG INTER ., JSC. All Rights Reserved.
Business registration certificate no. 0106064469 issued by Hanoi Department of Planning and Investment on 19 December 2019.
Legal Representative: Mr. Nguyen Quang Trung.