I think I'm forgetting something here clearly: I include the pruchase note in the Here's what I tried: And this And this: And this: Anything starts working It appears on the page received from the order but the order confirmation will not be shown on the email. Any help is very much appreciated, is it open for any other method to get the note to the customer on the purchase, like maybe the custom meta value? It's been a while, but customer-full Trying to get -order.php so that the customer receives the note with confirmation of purchase but I have failed miserably.
& lt ;? Php $ purchase_note = get_post_meta ($ _product-> id, '_purchase_note', is true)): echo '& lt; Td class = "product-buy-note" & gt; '. Apply_filters ('the_content', $ purchase_note) '& lt; / TD & gt; '; ? & Gt;
& lt ;? Php if ($ order- & gt; position == 'full' || $ order- & gt; position = = 'processing') {if ($ buy_note = get_post_meta ($ _product- & gt; id, '_purchase_note' True)) echo '& lt; Div class = "product-buy-note" & gt; & Lt; Div & gt; . Apply_filters ('the_content', $ purchase_note) '& lt; / Div & gt; & Lt; / Div & gt; '; }? & Gt;
$ order-> Use the
$ buy_note = get_post_meta ($ _product- & gt; id, '_purchase_note') instead of the customer_not ;
No comments:
Post a Comment