impress-org / woocommerce-preview-emails

The easiest way to preview your WooCommerce emails as a reference while you customize them in your theme.
GNU General Public License v2.0
152 stars 32 forks source link

Not working with "sub" emails #10

Closed erralb closed 8 years ago

erralb commented 8 years ago

Hi I am using this WooCommerce plugin https://wordpress.org/plugins/woocommerce-quick-donation/

With this plugin it is possible to override the templates by placing a "donation" folder into the "woocommerce" folder placed in the theme.

Do you think it would be possible to extend your script in order to preview emails from WooCommerce plugins?

mathetos commented 8 years ago

My guess (since I'm not familiar with that plugin) is no. Unless that plugin creates it's own unique email type that is templateable just like the other native WooCommerce emails are. This script loads all the emails that are registered, so if it did that they would show up correctly. But most likely it just passes the standard information to the standard email.

Also, you should checkout Give for donations. We're the developers and we think it's the best way to do donations in WordPress: https://givewp.com

Thanks!

erralb commented 8 years ago

Actually this plugin is creating its own email templates like WooCommerce does. It's ok I will try to fork your plugin and make it work, no worries.

I know givewp, it's a nicew project but too many addons, too expensive... not managing scheduled and recurring payments, not offering enough payment systems. WC Quick Donation, being base on WooCommerce, can make use of all the WooCommerce plugins...

Thanks for you answer!