I wanted customization.I have Simple,Downladable and Virtual Products in my Magento Store and I need three New order email template one for each product type.
Like if my customer order virtual product i need to send virtual product's new order email template in the email.similarly for the simple and the Downloadable.
I needed this customization.Is it Possible in Magento.
Please Help Me.
Thanks
Best Answer
This should be fairly simple.
1> Create the different transactional email templates from Admin:
System > Transactional Emails > Add New Template
REF: http://go.magento.com/support/kb/entry/name/customizing-transactional-emails/
2> Assign the new email templates to the different product types. For this you can use system configuration file (system.xml) of your custom module. For example:
3> Rewrite the
Mage_Sales_Model_Order::sendNewOrderEmail()
method And replace the following portion of the code:by:
Hope this gives you some idea.