Magento覆盖电子邮件页眉和页脚

时间:2015-08-20 09:20:28

标签: magento magento-1.9

我正在研究新的Magento项目。基本上我想修改Magento的默认电子邮件页眉/页脚。

我注意到one question张贴了与此相关的内容,但似乎没有得到妥善回答。

我在

下添加了我的代码

应用/代码/本地/ Toystore /公用的/ etc / config.xml中

<config>
   <modules.............>
     .......................
   </modules>
   <global>
      <helpers>
          ...............................
      </helpers>
      <template>
         <email>
            <design_email_header2 translate="label" module="toystore_common">
                <label>Email - Header</label>
                <file>html/headercustom.html</file>
                <type>text</type>
            </design_email_header2>
          <design_email_footer2 translate="label" module="toystore_common">
              <label>Email - Footer</label>
              <file>html/footercustom.html</file>
         <type>text</type>
         </design_email_footer2>
         </email>
         </template>
         </global>
  </config>

在我的模板中,我添加了以下内容来调用此

{{template config_path="design/email/header2"}}

我的html文件驻留在 应用/区域/ EN_US /模板/电子邮件/ HTML / headercustom.html

我不确定为什么它不会调用我的新文件,因为电子邮件没有标题。

请告知

1 个答案:

答案 0 :(得分:0)

您只需要在系统&gt;中编辑配置配置&gt;视觉&gt;交易电子邮件

相关问题