Magento Email Templates

November 24, 2010 at 8:41 PM 20 comments

Magento has a great set of options to manage the Email Templates. Here we are going to see how to create our own Email templates for forgot password and how to change the magento default Email Templates and change the Email Sender options etc. Lets see it straight away.

(For your information, you can just click on the images in this post or any of the posts in this blog to get opened in a new tab or window and you can maximize it / zoom it. All the images used  in this post or any of the posts in this blog are high resolution images so that you can get a clear picture, If there are any discrepancies let me know through your comments )

We are going to create a “New Forgot Password Template” and override the default forgot password template in just 8 easy steps.

1. Go to System -> Transactional Emails

2. You will get a new block called “Transactional Emails” with the list of email templates. By default you can find no one.

3. Click on  “Add New Template” to create our own Email Template.

4. Choose the template “New Password” from the available list of options in the first drop down menu.

5. Choose your “Locale” or “Language settings“. In this case it is “English (United States)”. And here i want to leave a note. In case if you select German (Germany) and not able to see the german email template then it means you have to change your store configuration locale to German. After changing this you can get the “Deutsch (Deutschland)”  and the email template for forgot password in german.

6. Now click on “Load Template” and you can see the template subject, template content and template styles. Make necessary changes to your template as you wish and give your template a name.

For example if you want to change the magento Email Logo. Just Copy your New Email Logo to the default skin\frontend\default\default\images location and replace the default magento logo ‘logo_email.gif‘ with your new email logo file name lets say ‘mystore_logo_email.png‘.

In this case “MyStore New Password” and preview the template  if it looks good for you then go ahead and save the template as “mystore new password”.

7. Its not over yet. So far we have created only a new email template for “forgot Password”. Still we have to assign this as the Forgot Email template instead of the default magento email template and change the email configurations. Lets see what we have to still to get our new email email template for forgot password.

Click on both the links “Configuration” and “Customer Configuration” to change the Magento Email settings.

At first let us see what we have to change in configuration.

Go to System -> Configuration -> Store Email Addresses and change the email addresses for the General, Customer support etc.

8. Then Go to System -> Configuration -> Customer Configuration.  Click on the “Password Options” and assign our new email template “mystore new password” as an email template for forgot password. And we can also choose the Email Sender too from the drop down last for Forgot Password emails.

And save the Configuration. Now we are all set just click on the forgot password link in the customer login option on front end (Don’t try with the forgot password for magento admin panel because we have created a new email template only for Customer new password not for Admin New Password). Here we get our own Forgot / New Password Email with our own Logo in our own fashion and colours. Cheers :-) Hope this is clear. If you have any difficulties or discrepancies let me know through your comments.

Catch you with one another useful magento article.

About these ads

Entry filed under: magento, PHP. Tags: .

Magento Admin login problem Magento Remove Customer service

20 Comments Add your own

  • 1. Warchain  |  November 25, 2010 at 1:10 AM

    Thanks!

    Reply
  • 3. Magento Development  |  November 25, 2010 at 9:18 AM

    This is a nice article. Thanks for sharing this information. There are screen shots provided, which makes everything easier to understand. Looking forward to more Magento tutorials or tips.

    Reply
    • 4. haijerome  |  November 25, 2010 at 12:39 PM

      Its glad to hear that it has helped you :-)
      And you can reach me for any kind of magento help or customization. Visit / Subscribe to this blog i have planned to write more and very selective and useful articles regarding Magento.

      Reply
  • 5. peter  |  December 6, 2010 at 12:28 AM

    Hello,

    I have a question?

    How can I make the emails:

    Order confirmation
    Invoice
    Shipping
    Credit Memo
    New Account, etc …

    Supported by different languages?
    When someone orders a product in French or German store view, Magento sends an email with the correct language when i use the default template!
    But when i create an email based on a Magento-template and just change my logo, mail, phonenr … Magento dos not translate the email anymore? Any Idea?

    Thanks!!
    Peter

    Reply
    • 6. haijerome  |  December 6, 2010 at 1:03 PM

      Hi Peter,

      Glad to help you :-)

      Its very obvious why you haven’t got email.

      Let me explain it as much brief as i can.

      ————- To Create an Order Confirmation email ——————————–

      1. Go to System -> Transactional Emails and click on “Add new Template”

      2. From the drop down list for Select template choose New Order (This is for logged in users / customers) / New order for Guest (this is for guest who haven’t registered in your store)

      3. Then Choose your Locale and click on load template you will get your template make necessary changes to your template and preview your template before you save.

      /****************************************************************************************** /

      This is the step that you have missed so that you haven’t got your right email template in your store locale / language

      /****************************************************************************************** /

      Go to System -> Configuration and click on sales emails on the left side navigation.

      And you will find 6 tabs for order, order comments,shipment, shipment comments, invoice , invoice comments.

      Click on order and you can relax now because you have found where’s the problem

      Now assign

      New Order Confirmation Email Sender

      New Order Confirmation Template

      New Order Confirmation Template for Guest

      Send Order Email Copy To

      Send Order Email Copy Method

      Note : So far your template is default one, though you have created in your locale you haven’t assigned it as an order confirmation template for your store. That’s the one to be changed :-)

      The same thing to be done for shipment email, invoice email etc. But for New Account you have to go to create a new template using the steps mentioned in the post (article). And Go to System -> Configuration -> contacts and assign the email sender and email template. And before that give your email addresses in the System -> Configuration -> store email addresses.

      Hope this is clear ! If you have any difficulties you can let me know through your comments or you can drop me an email too (Feel Free)

      haijerome@gmail.com

      BTW ,I will add another post regarding adding a new order email with clear screen shots.

      Thanks for your visit :-)

      Reply
  • 7. Dwain Milnes  |  January 4, 2011 at 10:17 PM

    thanks, very well written post, found it through a random google search and i shared it on my facebook

    Reply
  • 8. Magento Templates  |  February 19, 2011 at 4:20 PM

    Hello,
    thanks, very well written post.

    Reply
  • 9. Jay Dub  |  March 23, 2011 at 6:11 PM

    Hey. Great tutorial. One question that is driving me mad. How do you change ‘forgot password for magento admin panel’ email template for multiple stores. I can’t find the path to change it in the admin panel anywhere. Pls help!

    Reply
    • 10. haijerome  |  March 23, 2011 at 11:48 PM

      Nothing to bother brother. Just install the respective language packs for your different stores.

      To be very specific and clear. Download the language pack of your store and place it in inside app/locale folder and refresh the cache. Thats it.

      For an example if you have a store in german. Download the language pack and place it inside the App/locale folder that will do the trick.

      Hope it helps you :-)

      Reply
  • 11. Mohamed Azzeddine  |  May 14, 2011 at 9:22 PM

    Hi there,

    Many thanks for this step by step turorial! Great one.
    However I am having a problem when creating different email for different languages.

    Ex. I ve created 2 templates “new account” in english and french (following your turorial). Then in Config/customer/client I select the corresponding template for french (my defalut language) and then select the english store in the configuration scope to select the “new account” template in english.

    Unfortunately, when trying that, I am always receiving email account notification in french!

    Any idea?

    Kind regards.

    Moh

    Reply
  • 12. Gary  |  May 24, 2011 at 3:03 AM

    Hi

    Brilliant tutorial totally clear. However I am having a nightmare changing the logo in the new account confirmation email. it sends the demo logo although everything else in the email, company name phone no. etc are fine. I have uploaded the file to the location you stated in item 6 above and loads of other places

    Any ideas?

    Thanks

    Regards

    Gary

    Reply
  • 13. Gary  |  May 24, 2011 at 5:52 AM

    Unbelievable!!!!

    After driving myself mad for 6 hours trying to sort out this logo problem I finally solved the problem.

    Had nothing to do with Magento whatsoever. It was my email client Thunderbird. I cleared the cache in Thunderbird and all the correct logo’s appeared in the dozens of test emails I sent

    Gary

    Reply
  • 14. Gael  |  June 2, 2011 at 2:27 PM

    Hi there,
    I’ve managed a year ago to change the emails for each template from Magento itself.
    Now I would like to do it within my html software. That is to say, find on the ftp the files that I have done, edit them within my software and put them back on the FTP.
    In [app/locale/**/template], only appear the original files, not those that I’ve done wihtin Magento.
    Does anyone knows where to find these modified files/templates?
    Thanks

    Reply
  • 15. @JesseLuna  |  June 13, 2011 at 12:18 AM

    Very nice tutorial! The pictures were very helpful!

    There’s also a great Post on the Magento site that walks through key email templates to update, part of a great checklist to get a Magento store fully configured: http://www.magentocommerce.com/wiki/3_-_store_setup_and_management/so_you_want_a_real_store_and_not_a_demo

    I’ve been sitting here walking through the checklist and your tutorial helped with the Email sections.

    It also has tips for dealing with the dreaded Magento Demo Store logo.

    Thanks again! @jesseluna on Twitter

    Reply
  • 16. Abu Zafar Md. Wahid  |  June 15, 2011 at 10:55 AM

    How to add background image?

    Reply
  • 17. Manish  |  November 25, 2011 at 6:36 PM

    here is an detailed tutorial on email templates

    http://www.excellencemagentoblog.com/magento-advanced-transactional-email-templates

    Reply
  • 18. gaurav  |  January 31, 2013 at 12:51 PM

    Hi,
    How to change admin email and password?

    Reply
  • 19. prakash  |  July 4, 2013 at 10:48 PM

    Hi,
    First of all thanks for your tutorials.

    i have another question for you.

    that we have to change the forgot password mail template to customer given template.

    How we can change those.

    Give me your idea and suggestion.

    FYI
    Im new to magento.

    thanks
    prakash

    Reply
  • 20. Vimal  |  December 10, 2013 at 6:32 PM

    Hello,

    Great help for send email using custom template in magento at following url :

    http://www.webslike.com/Thread-How-to-send-an-email-with-custom-template-in-magento

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Most Searched Keywords

magento PHP

Categories

Recent Posts

Blog Stats

  • 76,892 hits

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: