Get better control of your Woocommerce emails. Add product images & embed them in emails. Test emails in your browser and via email.
This enhancement to the Woocommerce email system allows you to get more control of your Woocommerce emails.
It is compatible with either the standard email templates, or your custom templates, as long as you retain the correct hooks and filters used by the standard templates.
The plugin also gives you the option of attaching and embedding any images within the email, including the header image if you have chosen one.
This prevents the user having to “load images” when they receive the email, reduces the chances of your emails being considered as spam with most providers, and prevents your images becoming “not found” if the user or your website are offline.
Be careful not to overuse large embedded images as it does increase the size of your emails.
Woo Email Control also provides a very useful testing facility, whereby you can either view any email directly within the browser, or send it to your email address. The preview emails contain live data for any order, not simply the empty template – great for checking your custom email templates without having to create or edit a new test order each time.
Please note This is an Add-on for Woocommerce and requires Woocommerce 2.5+ (2.6+ for product images)
/wp-content/plugins/woo-email-control
directory, or install the plugin through the WordPress plugins screen directly, usingTo change the category separator when displaying product categories (default ” > “, add the following filter to your functions.php file.
add_filter('wooctrl_category_separator','my_wooctrl_category_separator'); function my_wooctrl_category_separator($sep) { return " : "; // you can replace this string with anything you like. Best with spaces! }
To change the html wrapper for the category list, add the following filters to functions.php.
add_filter('wooctrl_category_wrapper_start','my_wooctrl_category_wrapper_start'); add_filter('wooctrl_category_wrapper_end','my_wooctrl_category_wrapper_end'); function my_wooctrl_category_wrapper_start($str) { return "<p style="color:#ccc">"; } function my_wooctrl_category_wrapper_end($str) { return "</p>"; }