订单时如何触发Magento的邮件? [英] How do I trigger a email in Magento when an order is made?

查看:201
本文介绍了订单时如何触发Magento的邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以下解决方案:
1)客户名单
2)店主收到电子邮件没有价格信息(例如装箱单)

I need solution for the following: 1) Customer places order 2) Store owner recieves email WITHOUT price info (e.g. packing list)

我需要编辑什么文件(我已经读了很多帖子,他们似乎没有提到文件路径)。

What files do I need to edit (I've read lots of posts and they don't seem to mention the file paths).

Thx

推荐答案

我知道我有一个黑客,然后我再也没有了。我经历了所有可能的事情,现在我们正在为客户通知电子邮件。一旦我们完成了我们的网站升级,我将不得不阅读我的黑客。我很确定它在 app / core / Mage / Sales / Model / Order.php 可能在 public function sendNewOrderEmail()

I know I had a hack for it ... and then I don't have it anymore. I went through everything I could and right now, we're CCing ourselves the customer notification email. As soon as we're done with our site upgrade, I'll have to readd my hack. I'm pretty sure it's in app/core/Mage/Sales/Model/Order.php possibly in public function sendNewOrderEmail()

查看此图片:

See this pic:

在客户通知发送后,我记得在一个文件中的硬编码,我们发送另一个到管理员,但硬编码事务订单的模板ID通知电子邮件到8.现在,不知何故,我正在做正确的方式,但不知道我是如何触发这个事务性电子邮件,还有客户订单通知发生。

I remember hard coding in a file after the customer notification was sent, we sent another one to admin but hard coding the template ID for the transactional order notification email to 8. Now, somehow, I'm doing it the "right way" but have no idea how I'm triggering this transactional email to ALSO happen with the customer order notification.

这篇关于订单时如何触发Magento的邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆