如何在 prestashop 中更改订单确认电子邮件模板的内容? [英] How to change content of order confirmation email template in prestashop?
本文介绍了如何在 prestashop 中更改订单确认电子邮件模板的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想更改订单确认电子邮件模板的内容,前提是已订购特定产品.有什么解决办法吗?
I want to change the content of order confirmation email template, only if a particular product has ordered. Is there any solution?
推荐答案
您可以在 mails/language/order_conf.(html/txt) 中找到电子邮件订单确认的通用模板.
You can find the general template of email order confirmation in mails/language/order_conf.(html/txt).
mails/languages/order_conf_product_list.(tpl/txt)中的产品列表模板
The product list template in mails/languages/order_conf_product_list.(tpl/txt)
在 classes/PaymentModule.php 中调用,如果要添加变量,请调用 validateOrder() 函数.
Called in classes/PaymentModule.php, validateOrder() function if you want to add variables.
这篇关于如何在 prestashop 中更改订单确认电子邮件模板的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文