编辑电子邮件模板
这可能真的很简单,但这里是:
我对 magento 电子邮件模板的更改不会显示在电子邮件中。
我做错了什么?我需要重新安装 magento 才能获取更新吗?我只是编辑了错误的文件吗?
谢谢...
更新:所以现在:
- 我有一个新的magento安装
- 我还没有接触过交易电子邮件管理
- 我没有将区域设置设置为“en_US”(但从1.4开始这应该不是问题,对吧?无论如何,我尝试设置区域设置,但没有帮助)
- 我删除了整个 app/locale/en_US/template/email/ 目录
通过此设置,我完成了订单,但仍然收到默认电子邮件。
我唯一能想到的是我是从错误的方向来的,但我一生都无法弄清楚。
this is probably really easy, but here goes:
My changes to the magento email templates don't show in the emails.
What am I doing wrong? Do I need to reinstall magento to get the updates? Am I simply editing the wrong files?
Thanks...
UPDATE: So now:
- I have a fresh magento install
- I haven't touched the Transactional Emails admin
- I don't have locale set to 'en_US' (but since 1.4 that shouldn't be a problem right? Anyway, I tried setting the locale but it didn't help)
- I ERASED the entire app/locale/en_US/template/email/ catalog
With this setup I completed an order and I still get the default email.
The only thing I can think of is I'm coming at this from the wrong direction, but I can't for the life of me figure it out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的电子邮件模板是否可能已保存到数据库中,因此您对文件的更改并未编辑正确版本的模板?看一下系统->事务电子邮件可查看已“升级”到数据库的任何模板。
希望有帮助!
谢谢,
乔
Is it possible that your email templates are already saved into the database, and that your changes of the files are therefore not editing the correct version of the templates? Take a look at System -> Transactional Emails to see any templates that have been "promoted" to the database.
Hope that helps!
Thanks,
Joe
如果您使用事务电子邮件创建新模板,请确保您在管理员中选择了正确的区域设置。您也可以直接通过以下方式编辑文件
Make sure you have the proper locale selected within the admin if you are using the Transactional Emails to create new templates. Also you can also edit the files directly via