Thanks for getting back anjitha21. For anyone else struggling with the new templates, here’s some more code that might be useful:
$order_object = wc_get_order($order['id']); //order data object
echo $order_object->get_meta('My Custom Field'); //custom checkout field
echo $order_object->get_used_coupons(); //coupons used
Hi anjitha21,
do you have an example showing how to use wc_get_order( $order['id'] )?
E.g. showing coupon use or a custom checkout field?