How to customize WooCommerce Order Emails?
In this guide, you will learn how to customize and add text to the WooCommerce Order Confirmation email that you send to your customers. This article assumes that you are comfortable manipulating and editing WooCommerce source files on your web server.
If you are more of a visual learner, feel free to instead follow along with my video tutorial beloow, where I outline everything described below.
Let’s jump into it!
Table of Contents
How to customize WooCommerce Order Confirmation Emails?
Step 1: Edit the Settings of the Confirmation Email
To edit the settings of the Confirmation Email that is sent to your customers after they order something from you, go to your WordPress Dashboard and select the WooCommerce menu option. Then, click Settings.
Next, go to the Emails tab. Then, scroll down until you find the Email labeled “Processing order,” and click Manage.
From the Processing order page, you can easily customize certain text of the email. This includes:
- Email heading
- Additional content
If you make any changes to these fields, you should issue a test order. You will then see these changes reflected in the Confirmation Email that is sent.
If this is all you want to change about the Confirmation Email, you are done. But if you would like to add a block of text within the body of the email, it gets more complicated and you need to proceed to Step 2.
Step 2: Make Changes to Your Theme (Optional)
If you want to add a block of text somewhere within the Order Confirmation email, you will need to make changes to your theme. On the Processing order page, under HTML template, WooCommerce will tell you that you need to copy the email template file
woocommerce/templates/emails/customer-processing-order.php to the specified theme folder and make changes to the file there.
To do this, you will need to use FileZilla or another program that will allow you to manipulate and edit files on your web server. Using this program, first download
woocommerce/templates/emails/customer-processing-order.php to your desktop. Then, upload this file to the path specified under HTML template. In our case, because our site is called “sgpartners,” we needed to upload the file to
Note: If the folder specified under HTML template doesn’t exist, you will need to create it. In our case, there was no
emails folder. So, underneath the
sgpartners/woocommerce folder we had to create the
emails folder. In your case, you may also have to create the
woocommerce folder as well. If you are not comfortable with manipulating and editing HTML files on your web server, you may want to assign this task to someone who is, such as a WordPress administrator.
Once you have uploaded
customer-processing-order.php to the theme folder, you need to edit this file using a text editor. There you will add the text that you want to display in the email. For example, say you wanted to inform your customers that you are experiencing shipping delays. Underneath the HTML code that acknowledges the receipt of the order, you could add the following:
<p>Note: we are currently experiencing shipping delays for up to 3-5 additional days. Thank you for your patience.</p>
You can also format this text anyway you’d like, such as changing the font style.
After you have made all the changes to the email, save this file. You should also issue a test order to make certain that WooCommerce is producing the Confirmation Email the way that you’d like. You may have to go through multiple rounds of editing before you get it exactly right.
If I use a child-theme, do I add the 'woocommerce/emails' directory there?
Go to “yourtheme-child” > add a “woocommerce” folder, add a “emails” folder inside the “woocommerce folder. The path would look something like this: /wp-content/themes/yourtheme-child/woocommerce/emails/customer-processing-order.php.
Why WooCommerce won't send order notifications?
1. Do you have your order confirmation emails enabled? To find out, navigate to the following: WordPress Dashboard > WooCommerce > Settings > Emails > Click “New Order” > and make sure that the “Enable this email notification” box is checked.
2. Another idea is that your order confirmation email notifications may be sending, but are going to spam. Do you have an external SMTP such as Postmark/Mailgun/Sendgrid to send your emails?