编辑配置
我正在做一个新的Magento项目。基本上我想修改Magento的默认电子邮件页眉/页脚。
我注意到一个张贴的问题与此相关,但似乎没有得到适当的回答。
我已经在 下面添加了我的代码应用程序/代码/地方/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
我不知道为什么它不调用我的新文件,因为电子邮件没有头。
请告诉
你只需要在系统>配置>可视化>事务性电子邮件