How to edit or override the email templates for custom order status?

Default Method #


Email Templates are auto-generated for all newly created order statuses.

You can edit the content from the Emails tab (WooCommerce > Settings > Emails)

To override the content, you can click the status name, and it will open an editor for that template

You can copy the template file and paste it into your child theme folder to edit more content.

[theme folder]/woocommerce/emails/admin-order-status-email-[slug].php
[theme folder]/woocommerce/emails/customer-order-status-email-[slug].php

The slug must need be the same as the order status slug

The default WooCommerce hooks are also available for modifying the content based on each order status.

If you are familiar with coding, you can use the WooCommerce hooks to append content to the email.

In this case, we can use the hook “woocommerce_email_before_order_table”

The code goes inside the functions.php file inside the theme directory.

Other available hooks are:




Email Template Customizer for WooCommerce By VillaTheme #


Plugin link:

This plugin has support for override custom emails that are generated by our order status plugin.

To utilize this email template, simply retrieve its ID and hook it into your child theme's functions.php using the following snippet.

Now the custom order status email is ready to customize