Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Woocommerce email table customization

I need woocommerce order completed send mail in a table format that has header,footer and message. The width of the table woocommerce uses is 600 in center box table.

So, I want to customize that table width size to change it to 100%. Does it have any hook or filter to customize that table width?

like image 936
jack Avatar asked Feb 17 '26 14:02

jack


1 Answers

The easiest and most common approach to do is to create a folder in your theme called woocommerce/ and then copy the entire templates/ directory from your woocommerce plugin or github into that. This will override the functionality from the plugin.

The file that you will want to edit is email-styles.php. You can delete all of the other files unless you are going to make changes to them in the templates directory of your theme.

your_theme/woocommerce/templates/emails/email-styles.php

like image 110
ham-sandwich Avatar answered Feb 20 '26 05:02

ham-sandwich



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!