Reputation: 596
i want to know, where the email-template file for the order-confirmation email is stored in magento. i want to edit the last 3 rows, with tax, shipping and total in it.
does anyone know where it is?
Upvotes: 0
Views: 9471
Reputation: 49
You can also set the theme as a module, add the template override in the config.xml and add the template in app/locale/en_US/template/email/themename
<config>
<global>
<template>
<email>
<sales_email_order_template translate="label" module="sales">
<label>New Order</label>
<file>themename/sales/order_new.html</file>
<type>html</type>
</sales_email_order_template>
</email>
</template>
</global>
</config>
Upvotes: 0
Reputation: 2214
Make changes in loaded html template and click on "Save Template".
Upvotes: 0
Reputation: 924
They are in template/sales/order/totals.phtml
. But beware that this file is also used in "My Account" page.
Instead you should override it by adding a layout update to your layout files (fx local.xml in your theme):
<sales_email_order_items>
<action method="setTemplate"><template>path/to/another/template.phtml</template></action>
</sales_email_order_items>
You can find the master template for different emails in app/locale/country_code/email/sales/
Upvotes: 1