Comments on: Using WP Better Emails with WooCommerce Email Templates https://www.justinsilver.com/technology/wordpress/using-wp-better-emails-woocommerce-email-templates/?utm_source=rss&utm_medium=rss&utm_campaign=using-wp-better-emails-woocommerce-email-templates Technology, Travel, and Pictures Mon, 09 May 2016 17:55:06 +0000 hourly 1 https://wordpress.org/?v=6.0.1 By: Justin Silver https://www.justinsilver.com/technology/wordpress/using-wp-better-emails-woocommerce-email-templates/#comment-2144 Mon, 09 May 2016 17:55:06 +0000 http://justin.ag/?p=3673#comment-2144 In reply to Nello.

Hi Nello,

I don’t have time to look into WP HTML Mail right now, but my guess is that there is some CSS that is messing with the WooCommerce layout. If you can get to a “preview” or figure out how to just view the email in a browser you should be able to inspect the DOM to see what is throwing it off.

Good luck!

]]>
By: Nello https://www.justinsilver.com/technology/wordpress/using-wp-better-emails-woocommerce-email-templates/#comment-2143 Mon, 09 May 2016 13:46:48 +0000 http://justin.ag/?p=3673#comment-2143 In reply to Nello.

inside “” there’s a br tag. I assume i’m able to post html here, so it doesn’t show up

]]>
By: Nello https://www.justinsilver.com/technology/wordpress/using-wp-better-emails-woocommerce-email-templates/#comment-2142 Mon, 09 May 2016 13:27:04 +0000 http://justin.ag/?p=3673#comment-2142 Hey Justin,

thank you for sharing this guide with us! I know that this is kinda old, but i’ve been using your solution till today, when I had to switch from WP Better Emails to WP HTML Mail cause of my new SMTP setup (made with postman).

Your solution still works with this new plugin, but there’s something weird about woocommerce emails: it’s like paragraphs inside them can’t be 100% wide. This leads them to be cut with some “” tags and the result is an email where most of the text is on the left side of the body.

Could you help me out with this weird situation?
Thank you in advance!

]]>
By: Justin Silver https://www.justinsilver.com/technology/wordpress/using-wp-better-emails-woocommerce-email-templates/#comment-1789 Mon, 28 Jul 2014 21:05:46 +0000 http://justin.ag/?p=3673#comment-1789 In reply to Audrius.

Are the contents no longer UTF-8 encoded or is it just missing the Content-Type meta value? WooCommerce includes the following line in the of the email templates, which gets stripped out by the code in this post. On my site I edited the HTML of the WPBE template to include the same header, but we also don’t require any encoding so I don’t know for sure that it works…

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >;
]]>
By: Audrius https://www.justinsilver.com/technology/wordpress/using-wp-better-emails-woocommerce-email-templates/#comment-1787 Sun, 27 Jul 2014 20:06:40 +0000 http://justin.ag/?p=3673#comment-1787 Thanks! Works well with Woocommerce. One small problem remains for my website. After removing email header, email body is not anymore UTF-8 encoded. I tried adding to WP Better Email template but it did not solve my problem. Any ideas?

]]>