How to Customize WooCommerce Emails
No WooCommerce store could continue to do business without a series of well-written and properly planned emails. Every customer-action from initial placement of the order to the final fulfillment often triggers an email. The good news is that it is easy to customize WooCommerce emails, right within the WooCommerce Admin area.
Store owners have access to simple yet powerful email customization options located under Emails > Email Sender Options. using these option, store owners could add custom header images, footer text, store’s name in the FROM field, amongst other customization options. As a result, the customers receive emails that fully reflect the store’s branding.
Customizing WooCommerce Email Templates
WooCommerce email templates generally cover the entire ecommerce process from initial “Thank You for your Order” email to the final invoice email. In addition, the email templates also cover user management emails such as new customer registration email and password reset email.
To illustrate how store owners could customize WooCommerce emails. I will describe the customization of Processing Order email template.
To access the template, go to WooCommerce > Settings > Emails > Processing order. As you can see, almost all fields including the email subject and the HTML template could be fully customized. The best part is the additional control over the process by enabling or disabling the sending of the email as part of the store email notification process.
The above process could be used to customize all the available email templates in the email section.
Using WooCommerce Hooks
Another way of customizing WooCommerce email templates is through WooCommerce hooks.
These hooks should be placed in the functions.php file located in the installed theme folder. Alternatively, you can make a separate file (or a plugin) with the following code:
add_action( 'woocommerce_email_header', 'wp_additional_header',10,2 ); function wp_additional_header( $ email_heading, $ email ) { echo "Cheers on shopping our store. At this time is your statement"; } <div>
Going Down the Plugin Path
While WooCommerce default email templates are pretty but you can go few steps ahead and have more advanced customization. Email Customizer for WooCommerce is a good plugin to get the job done. It is a paid plugin but totally worth it.
Conclusion
As you can see, it is easy to customize WooCommerce emails. In many cases, custom emails are a great way of alerting the customers about the progress of their order. The process is very simple and most of the work could be done from right within the WooCommerce option menu.