Snd request note by email (URGENT)
-
Hello, I use a plugin to pay off line at a restaurant
I need this information to appear in the PDF sent by email.I discovered in a survey the following code:
/ ** ?* @snippet Add "Note to Customer" @ WooCommerce PDF Invoice ?* @ how-to watch tutorial @ https://businessbloomer.com/?p=19055 ?* @sourcecode https://businessbloomer.com/?p=21728 ?* @author Rodolfo Melogli, Hans Schuijff @ dewitteprins.nl ?* @compatible WC 3.1.0, Woo P.I.P.S. 2.0+ ?* @donate $ 9 https://businessbloomer.com/bloomer-armada/ ?* / ? add_action ('wpo_wcpdf_after_order_details', 'bbloomer_add_note_to_customer_to_PDF_invoice_new', 10, 2); ? function bbloomer_add_note_to_customer_to_PDF_invoice_new ($ template_type, $ order) { ????$ document = wcpdf_get_document ($ template_type, $ order); ????$ document-> order_notes (); }
I added this code in my, template-functions.php
But I have a problem, this information does not arrive in the pdf that is sent by email.Can someone help me please?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Snd request note by email (URGENT)’ is closed to new replies.