• Digital Products & Software

How to create custom email template in magento 2

Published On: 6 August 2018.By .

First we have to create a field in configuration ‘system.xml’ in folder app/code/Auriga/Email/etc/adminhtml/,  from where we can select which email template will use.

Now create a email template configuration file at app/code/Auriga/Email/etc location file name should be email_templates.xml

Now create email template file at app/code/Auriga/Email/view/adminhtml/email as name which you given in email_template.xml file . Here we will use  “custim_email.html” name for email template

Now Call this template from where you want to call it.

 

Related content

Stay Close to What We’re Building

Get insights on product engineering, AI, and real-world technology decisions shaping modern businesses.

Go to Top