Php Magento编辑电子邮件订单确认模板不在后端

Php Magento编辑电子邮件订单确认模板不在后端,php,magento,email,templates,zend-framework,Php,Magento,Email,Templates,Zend Framework,我想知道,订单确认电子邮件的电子邮件模板文件在magento中的存储位置。我想编辑最后3行,包括税、运费和总价 有人知道它在哪里吗?他们在模板/sales/order/totals.phtml中。但请注意,此文件也用于“我的帐户”页面 相反,您应该通过向布局文件(主题中的fx local.xml)添加布局更新来覆盖它: 路径/to/other/template.phtml 您可以在app/locale/country\u code/email/sales/ 请登录管理面板 转到系统-->事务

我想知道,订单确认电子邮件的电子邮件模板文件在magento中的存储位置。我想编辑最后3行,包括税、运费和总价


有人知道它在哪里吗?

他们在
模板/sales/order/totals.phtml
中。但请注意,此文件也用于“我的帐户”页面

相反,您应该通过向布局文件(主题中的fx local.xml)添加布局更新来覆盖它:


路径/to/other/template.phtml
您可以在
app/locale/country\u code/email/sales/

  • 请登录管理面板
  • 转到系统-->事务性电子邮件
  • 点击“添加新模板”
  • 选择“模板”并单击“加载模板”

  • 在加载的html模板中进行更改并单击“保存模板”。

    您还可以将主题设置为模块,在config.xml中添加模板覆盖,并在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>
    
    
    新秩序
    themename/sales/order_new.html
    html
    
    嘿,谢谢你的快速回答。我找到了该文件,但是如何将“发货”添加到发货价格中?如果要添加总计,则不需要该模板。请看一看,但要注意,Magento的总计排序目前存在错误。排序错误的临时修复方法:将app/code/core/Mage/Sales/Model/Config/Ordered.php中的compareTotals函数替换为我在此处上传的版本:谢谢,这很好,但我只想编辑3个最新版本,航运税和总你应该使用这个抱歉的家伙csv翻译,谢谢你的回答,但我想编辑不使用管理面板。看到我的标题了吗
    <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>