Thread Starter
yolidg
(@yolidg)
Hi
I have written the code in the corresponding email template but it does not attach the information in the body of the email. Where should I insert the code? I’ve put it after:
do_action (‘woocommerce_email_order_meta’, $ order, $ sent_to_admin, $ plain_text, $ email);
$order->get_meta(‘additional_cog_user1’, true);$order->get_meta(‘additional_curs_user1’, true);
Thread Starter
yolidg
(@yolidg)
Thanks for answering
I would like to include the custom block fields that I created. They are shown in the pdf document of the invoice but I want to show them in the body of the email and I don’t know what code I should include in the email template of the woocomerce.
{{additional_cog_user1}} {{additional_curs_user1}} and {{additional_vari}}
I attached an image in the link
Imagen