=== Email Preview for WooCommerce ===
Contributors: kamalyon  
Tags: woocommerce, email, preview, subscriptions, order email  
Requires at least: 5.6  
Tested up to: 6.9  
Requires PHP: 7.4  
Stable tag: 1.0.5  
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires Plugins: woocommerce
WC requires at least: 3.0.0  
WC tested up to: 10.3.5


Adds a preview button to all WooCommerce email templates, including support for WooCommerce Subscriptions.

== Description ==

**Email Preview for WooCommerce** allows you to preview any WooCommerce email (including those from WooCommerce Subscriptions) directly from the email settings page. See what your customers will receive without placing test orders.

Features:
- Adds a "Preview Email" button to each WooCommerce email.
- Supports WooCommerce Subscriptions email types.
- Allows testing in safe mode without triggering real actions.
- Uses real or mock orders and subscriptions as needed.
- Compatible with High-Performance Order Storage (HPOS).

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory or install it directly from the WordPress plugin screen.
2. Activate the plugin through the ‘Plugins’ screen in WordPress.
3. Go to **WooCommerce > Settings > Emails**, and you’ll see a "Preview Email" button on each email settings panel.

== Frequently Asked Questions ==

= Does this plugin send real emails? =  
No. It only generates and displays the HTML content in a browser tab.

= Can I preview subscription emails? =  
Yes. It supports most email types from the WooCommerce Subscriptions plugin.

= Is it compatible with HPOS? =  
Yes, the plugin is fully compatible with the High-Performance Order Storage system.

== Screenshots ==

1. Preview button added to WooCommerce email settings
2. Example of an email preview in the browser

== Changelog ==

= 1.0.5 =
* Tested with WordPress 6.9

= 1.0.4 =
* Initial public release
* Adds support for WooCommerce Subscriptions
* Safe mode preview
* HPOS compatibility declared

== Upgrade Notice ==

= 1.0.5 =
Tested with WordPress 6.9. No changes required.

= 1.0.4 =
First release. Adds preview functionality for WooCommerce and Subscriptions emails.
