Tham khảo các cách customize Woocommerce email:
Cách 1: sử dụng plugin
Link: sử dụng plugin: Email Templates – https://hocthietkeweb.net.vn/cach-de-them-sua-email-templates-dep-vao-trong-wordpress.html => liệu có tương thích với Woocommerce.
Cách 2: Overriding Email Templates
Every email type has a template file for its content (For example, woocommerce/templates/emails/customer-process-order.php). In addition, there are shared templates that all email types can access and use. These could be found at woocommerce/templates/emails/email-styles.php. In many cases, this is the template that developers override to change shared aspects of the emails. The process of dealing with the footer issue mentioned earlier is:
- First you make sure that the following directory exists in the WordPress installation: wp-content/themes/your-theme/woocommerce/emails.
- Next, copy the file found at wp-content/plugins/woocommerce/templates/emails/email-styles.php into the store’s theme at: your-theme/woocommerce/emails/.
- Finally, edit your-theme/woocommerce/emails/email-styles.php to change the footer text color to black (for brevity, only the relevant part of the template file code is shown):