copy (the files located in ) plugins/woocommerce/templates/emails/ to
/woocommerce/emails/ (which you create inside your active theme)
Thread Starter
dxw234
(@dxw234)
And then I just change the .php files?
Thread Starter
dxw234
(@dxw234)
Moved all of the files from:
wp-content/plugins/woocommerce/templates/emails
to:
wp-content/plugins/woocommerce/emails
I changed the customer-processing-order.php to include my message. should this now work? I doesn’t seem to work for me.
Well you got to place that in –
/wp-content/themes/yourthemename/woocommerce …
as bheadrick rightly pointed out.
Once you do the email templates in the new location will override the originals.
And that way you wont even lose your customisations when you upgrade
—
Peace
hey guys, its not working for me rather. i copy catalog emails with this all files everywhere… in my theme, in woo commerce, everywhere, and i still don’t have any access to this advanced options 🙁
make sure you observe the same folder structure as you see in the woocommerce/templates directory (you need to put the files in an emails folder under the woocommerce subdirectory in your theme)
Hello All,
I’ve been trying to fumble my way through customizing the woocommerce order processing email and have been unable to add the billing_first_name to the email as a greeting (e.g. Dear John,).
Here is my latest attempt: <p><?php _e("Dear", 'woocommerce'); ?><?php echo __('', 'woocommerce') . ' ' . $order->get_billing_first_name(); ?><?php _e(",", 'woocommerce'); ?></p>
Any help on what I actually need to add to the email template would be greatly appreciated.
Is there a plugin that enable you to do that?
i want to change complete template is anyone have the some sample code please share with me. thanks in advance