0
我正在開發新的Magento項目。基本上我想修改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 /他adercustom.html
我不知道爲什麼它沒有調用我的新文件,因爲電子郵件是沒有標題。
請告知