Purchase Note from the Product Data will be displayed at the customer’s new order which is completed. But what if you want to display that “Purchase Note” in all emails including the admin ones?
Below is the code snippets you can add to your theme functions.php:
function tt_display_purchase_note_in_all_emails( $args ) { $args['show_purchase_note'] = true; return $args; } add_filter( 'woocommerce_email_order_items_args', 'tt_display_purchase_note_in_all_emails', 10, 2 );
1. The Origin and The Meaning of Startup The word "start" refers to the beginning…
=== #1: AI Chatbot === 1. ChatGPTGet Started here: https://chat.openai.comChatGPT, one of the most significant language…
Dashicons is the official icon font since WordPress admin as of 3.8. https://developer.wordpress.org/resource/dashicons/ However, it…
Recently I had a great coffee chat with my old pal - Wei Ming, founder…
Sometimes there is a need for a custom new order status for WooCommerce orders such…
Here is a list of logo branding ideas for your next business or startup: …