【发布时间】:2017-08-19 00:39:29
【问题描述】:
默认情况下,收件人是管理员,但我希望它也将其发送到客户电子邮件。我看到了WooCommerce send new order email to customer,但它没有指定将提到的代码放在哪里。我是 WooCommerce 中的一个完整的菜鸟,因此将不胜感激。谢谢!
【问题讨论】:
-
默认情况下,WooCommerce 也会向客户发送订单邮件。尝试使用您的(非管理员)电子邮件 ID 下订单,您将收到邮件。还有一件事您需要在活动主题
functions.php文件中添加该代码 -
@Raunak 哦,好吧,我正在使用我的管理员电子邮件 - ID 下订单,所以我没有收到电子邮件。我检查了我的活动主题文件夹中的 functions.php 文件,我得到了 4 个结果 - 1) shopisle\wp-content\themes\shop-isle\inc\woocommerce\functions.php 2) shopisle\wp-content\themes\ shop-isle\inc\customizer\functions.php 3) shopisle\wp-content\themes\shop-isle\inc\customizer\customizer-repeater\functions.php 4) shopisle\functions.php 哪个我需要编辑一个吗?谢谢!
标签: php html wordpress email woocommerce