admin管理员组

文章数量:1323317

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.

本文标签: Display notice on WooCommerce emails depending on chosen shipping option