How to Create Custom Email Template in Magento

Talk to Experts Need expert help? Don’t hesitate to talk.

You can do direct email atinfo@mconnectmedia.com

WE'RE HERE FOR YOU

We would love to hear about your Magento project, challenge, or opportunity. We'll respond within 24 hours!

Hi, Are you looking for a custom email template for your Magento store? Try the below code!

Try this code to create email template

add following code in config.xml

<global>
<template>
<email>
<custome_email module=”wholecust”>
<label>Custome Email</label>
<file>custome_email.html</file>
<type>html</type>
</custome_email>
</email>
</template>
</global>

 

add custome_email.html file in this directory
app/locale/en_US/template/email/

<body style=”background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;”>
<div style=”background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;”>
<table cellspacing=”0″ cellpadding=”0″ border=”0″ height=”100%” width=”100%”>
<tr>
<td align=”center” valign=”top” style=”padding:20px 0 20px 0″>
<!– [ header starts here] –>
<table bgcolor=”FFFFFF” cellspacing=”0″ cellpadding=”10″ border=”0″ width=”650″ style=”border:1px solid #E0E0E0;”>
<tr>
<td valign=”top”>
<a href=”{{store url=””}}” style=”color:#1E7EC8;”><img src=”{{var logo_url}}” alt=”{{var logo_alt}}” border=”0″/></a>
</td>
</tr>
<!– [ middle starts here] –>
<tr>
<td valign=”top”>
<h1 style=”font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;”>write content…</h1>
Name: {{var name}}<br />
Email: {{var email}}<br />
</td>
</tr>
<tr>
<td bgcolor=”#EAEAEA” align=”center” style=”background:#EAEAEA; text-align:center;”><center><p style=”font-size:12px; margin:0;”>Thank you again, <strong>{{var store.getFrontendName()}}</strong></p></center></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>

If you are facing any error or problem with this code then please make comment here or contact the Professional Magento Template Designers.

Thanks!

Need Magento expert help?

We provide result-driven solutions to expand the competency level and productivity.

Instant Help CenterAvailable!

Monday to FridayResponse promised within 24 hours!

Call Us

+1 319 804-8627

Load Comments

Your email address will not be published. Required fields are marked *

  • Worried for deadlines? Our Magento Experts are effortlessly Working from Home.
  • Check out our Magento Developer Hiring Packages for Agency as well as individuals.
View Packages

Talk to Experts Need expert help? Don’t hesitate to talk.

You can do direct email atinfo@mconnectmedia.com

WE'RE HERE FOR YOU

We would love to hear about your Magento project, challenge, or opportunity. We'll respond within 24 hours!

Please fill this form, Mr.Yogesh will reply by email asap.


Please fill this form, Mr.Darshit will reply by email asap.


Please fill this form, Mr.Jayesh will reply by email asap.


Please fill this form, Mr.Jiten will reply by email asap.


Do you know Magento 1 support will end in June 2020?
Magento 1 to Magento 2 Migration Service Error
So, Don't take the risk

Make a move & Migrate to Magento 2

  • Magento 1 to Magento 2 Migration Service - Zero Downtime

    Zero Downtime

  • Magento 1 to Magento 2 Migration Service - Timely Delivery

    Timely Delivery

  • Magento 1 to Magento 2 Migration Service - Stores Upgraded

    36+ Stores Upgraded

  • Magento 1 to Magento 2 Migration Service - Zero Data Loss

    Zero Data Loss

  • Magento 1 to Magento 2 Migration Service - Magento Developers

    Certified Magento Developers

  • Magento 1 to Magento 2 Migration Service - After Support

    60 Days After Support

How much it Cost?