Woocommerce Order Email Hooks
-
Hi all,
I’m creating a custom email confirmation to be sent to the store admin. As part of that there are various fields that need to be displayed prominently, extracting data from the order using hooks.
Some of the fields are for custom fields I’ve added within the checkout, and others are standard WC fields, however if I’m honest I’m a bit stuck. I know I need to add some lines of code to the functions.php file, but I’m getting bogged down here. ??Ideally looking for (to get me on the right lines):
{OrderNumber} which would be the order ID from WC
{DeliveryDate} which would be from the custom checkout field ‘delivery_date’Appreciate any help massively!
Many thanks
Andy
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Woocommerce Order Email Hooks’ is closed to new replies.