=== CC Email Manager for WooCommerce ===
Contributors: aisimpleplugin
Donate link: https://aispdev.com/cc-email-manager-for-woocommerce/
Tags: woocommerce, cc-email, carbon copy, notifications, order emails, 
Requires at least: 6.0
Tested up to: 6.9
WC tested up to: 10.3.5
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add CC (carbon copy) emails per customer and automatically send WooCommerce notifications to additional recipients based on selected order statuses.

== Description ==

**CC Email Management for WooCommerce** allows store owners to assign **one or two CC email addresses per customer**, and automatically send WooCommerce order emails to these additional recipients depending on the order status.

This plugin is especially useful for:

- **B2B companies** where invoices or order updates must be sent to accounting or team members  
- **Multi-user workflows** in organizations  
- **Wholesale accounts** that want to receive notifications at multiple addresses  
- **Store owners** who need simple, reliable CC email management per customer  

== ✨ Key Features ==

- Add **CC Email 1** and **CC Email 2** per customer  
- Choose exactly **which order statuses** trigger CC notifications  
- Supports all official WooCommerce statuses:  
  *Pending payment, Processing, On hold, Completed, Cancelled, Refunded, Failed*  
- Automatically hides CC Email 2 settings when unused  
- Clean, simple UI integrated directly into the WordPress User Profile  
- Fully compatible with WooCommerce email templates  
- Lightweight and optimized – no impact on performance  

== 🎯 Perfect For ==

- B2B stores  
- Wholesale shops  
- Companies with accounting departments  
- Admins who need multiple recipients for order emails  
- Those who want per-user CC configuration  

== 🛡️ Secure and Reliable ==

- Follows all WordPress coding standards  
- Uses sanitized and validated email fields  
- Includes nonce verification for secure profile editing  
- Works seamlessly with all WooCommerce email systems  

---

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/cc-email-management-for-woocommerce/`
2. Activate the plugin through the **Plugins** menu in WordPress
3. Edit any customer profile under **Users → Edit User**
4. Enter one or two CC email addresses
5. Select the WooCommerce order statuses that should trigger CC notifications
6. Save the profile — you're done!

---

== Frequently Asked Questions ==

= Does this plugin work with all WooCommerce email templates? =  
Yes. CC recipients are added to the native WooCommerce email header system.  
This ensures full compatibility with custom templates and third-party email plugins.

= Does it work for B2B and wholesale customers? =  
Absolutely. This plugin is built for B2B workflows where multiple people need order emails.

= Can customers manage their own CC emails? =  
No. Only administrators can manage CC recipients, ensuring correct and secure configuration.

= What happens if CC Email 2 is empty? =  
The entire CC Email 2 settings block remains hidden automatically.

= Does it work with custom order statuses? =  
Yes — all official WooCommerce statuses are supported.  
Additional statuses from third-party plugins may or may not appear depending on how they are registered.

= Does this plugin modify email templates? =  
No. It only adds CC headers, keeping templates untouched.

---

== Screenshots ==

1. **Customer profile settings** — Add CC Email 1 and CC Email 2  
2. **Order status selection** — Choose which statuses send CC notifications  
3. **Automatic CC injection** — WooCommerce emails with additional recipients  

---

== Changelog ==

= 1.0.0 =
* Initial release


---

== Upgrade Notice ==

= 1.0.0 =
Initial release — safe to install and use on all WooCommerce shops.

