Hey @websprout all emails are a located in woocommerce > templates > emails
Make sure you check your theme first to see if those files have been copied to it. If you want to customize then you’ll need to copy them to your theme.
Hope that helps.
Hi,
I realised that in my directory – /themes/dt-the7/woocommerce/emails/admin-new-order.php
There is an additional codes:
$branch = get_post_meta( $order->id, ‘Checkout Branch’, true );
if($branch){
$title = get_the_title( $branch );
echo ‘<p>‘.__(‘Checkout Branch’).’: ‘ . $title . ‘</p>’;
}
Is this the reason why my new order notification emails are not sending?
KC
Sorry, I don’t know that theme. Maybe revert over to Twenty Sixteen them and test.
Hi @stefsternyc,
What if I delete that file (/themes/dt-the7/woocommerce/emails/admin-new-order.php) then test a transaction? If the email works then it would mean that the block of codes is the cause, am I right?
If you delete that file it will default to the WC file. Always download a copy of that file though as your theme may rely on it because it has been customized.
You can test by just renaming that file with a -bk after the .php extension .php-bk