如何在prestashop 1.6.3中从后端发送订单确认电子邮件

时间:2016-09-21 17:05:48

标签: php prestashop prestashop-1.6

如何在prestashop 1.6.3中手动从后端发送订单确认电子邮件 我可以选择在后端发送电子邮件以接受付款,但如何从后端再次手动发送电子邮件和发票附件。 付款接受的选项是默认选项,但如果不是如何执行此操作,是否可以再次发送rder确认?

enter image description here

假设我的客户打来电话并说他没有给他删除所有邮件,所以他找不到那封邮件,你能不能再发回给我同样的邮件,为此我需要这个手册功能在乐队结束cms

1 个答案:

答案 0 :(得分:0)

如果打开/classes/PaymentModule.php - validateOrder()函数

您将找到以下代码

Mail::Send(
                            (int)$order->id_lang,
                            'order_conf',
                            Mail::l('Order confirmation', (int)$order->id_lang),
                            $data,
                            $this->context->customer->email,
                            $this->context->customer->firstname.' '.$this->context->customer->lastname,
                            null,
                            null,
                            $file_attachement,
                            null, _PS_MAIL_DIR_, false, (int)$order->id_shop
                        );

此代码负责发送订单确认电子邮件,您可以重复使用管理面板中的代码,但必须手动提供所有参数。

相关问题