最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Display notice on WooCommerce emails depending on chosen shipping option

programmeradmin0浏览0评论

I need to display a specific notice on the /emails/customer-processing-order.php email template in WooCommerce depending on the chosen shipping option. Is there a way to check the chosen shipping option and return a note depending on that?

I need to display a specific notice on the /emails/customer-processing-order.php email template in WooCommerce depending on the chosen shipping option. Is there a way to check the chosen shipping option and return a note depending on that?

Share Improve this question asked Sep 2, 2020 at 7:48 ThyrokThyrok 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

@Jonathan,

Is there a way to check the chosen shipping option and return a note depending on that

The WooCommerce Orders are stored in the woocommerce_orders table in WordPress.

I would start by placing an example order, and searching for the order number and post_id in the database to find the correct fields.

The post_id can be seen in the url field.

发布评论

评论列表(0)

  1. 暂无评论