Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento: previewing/testing transactional emails with actual data, without actually sending them?

Tags:

oop

php

magento

I'm editing some phtml files which are included in transactional emails in Magento, but in order to test the changes, I have to actually send the emails. In the case of (e.g.) the order confirmation email this means I have to place an order each time I want to test an email!

Choosing "preview email" in the backend does not help because the email contains no visible order data.

Is there a way to preview a transactional email but have it render with order data?

like image 536
WackGet Avatar asked Dec 11 '12 16:12

WackGet


People also ask

How do I preview an email template in Magento 2?

Preview Magento 2 email templates after customizing. After importing and customizing, or creating a new email template, you can preview it quickly by hitting “Preview Template'' which is right beside the ''Save Template'' button.

Where are transactional emails in magento 2?

The general settings of the Magento 2 Responsive Transactional Emails extension can be found under Stores -> Settings -> Configuration -> Magetrend Extensions -> MT Email.

How do I edit an email template in Magento?

In order to manage the transactional emails in Magento 2 go to Admin Panel > Marketing > Communications > Email Templates. Then, choose an email template you want to edit or you can add a new one by pressing the Add New Template button.


1 Answers

From user R.S:

You dont have to create a new order, you could resend a previous order email (by going to that order and click resend email).

That's the closest thing I've found to quickly re-test emails when playing around with the templates. Thanks R.S!

like image 115
WackGet Avatar answered Sep 29 '22 09:09

WackGet