简体   繁体   English

Woocommerce 新订单电子邮件模板

[英]Woocommerce New Order Email Template

In Woocommerce, once customer place an order, the email notification that is sent has a Payment Instruction from the payment method itself.在 Woocommerce 中,一旦客户下订单,发送的电子邮件通知就会包含来自付款方式本身的付款指令。 I would like to move the payment instruction below the order details like:我想将付款说明移到订单详细信息下方,例如:

<p> Order Details </p>
<p> Payment Instruction </p>

How can I move the payment instruction below the order details ?如何将付款指令移至订单详情下方?

Copy plugins/woocommerce/templates/emails/email-order-details.php to your-child-theme/woocommerce/emails/email-order-details.php and find do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text, $email );将 plugins/woocommerce/templates/emails/email-order-details.php 复制到 your-child-theme/woocommerce/emails/email-order-details.php 并找到 do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text , $email ); on line number 24 and move it below line number 87 or where you want this to show.在第 24 行并将其移动到第 87 行下方或您希望显示的位置。

订单电子邮件图像

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM