I have custom fields in the checkout in woocommerce and I want these fields to appear in the email template.
I am adding the following but it still not showing:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post();
$mycustom = get_post_meta( $order->id, 'wccf_delivery_day', true );
echo $mycustom;?>
<?php endwhile; ?>