=== Global Coupons for WooCommerce ===
Contributors: mrebabi
Author URI: https://github.com/MrEbabi
Tags: woocommerce, coupons, dynamic coupons, personalized coupons, coupon rules, conditional coupons, global coupons, coupon visibility, loyalty coupons, advanced coupon management
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.4.0
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: global-coupons-for-woocommerce

Create smart, personalized WooCommerce coupons that appear automatically in each customer’s My Account page.

== Description ==
**Global Coupons for WooCommerce** lets you create **smart, dynamic, and condition-based coupons** that appear to each customer only when they meet specific criteria — such as first order, total spend, or years of membership.

Customers can easily view all their available coupons on **My Account → Coupons**, see which ones are **active, inactive, or used**, and apply them instantly to their cart.

🎯 **Highlights**
- Automatically control coupon visibility and availability per user
- Works seamlessly with the default WooCommerce coupon system
- Show personalized coupon lists under *My Account → Coupons*
- Track coupon usage and activity with built-in reports
- Translate or rename all frontend labels and colors without coding

🪄 **Perfect for:**
- Rewarding first-time buyers
- Creating loyalty-based or spend-based discounts
- Seasonal or date-based campaigns
- Exclusive “For You Only” offers
- Review or engagement-driven coupons

---

### 🚀 Main Features

**1. Dynamic Restrictions**
Create availability rules for your coupons:
- First Order
- Minimum Number of Orders
- Total Spent Amount
- Specific Customers (emails)
- Number of Reviews
- Active Date Range
- Years of Membership

**2. Smart Coupon Display**
Users see only the coupons they are eligible for.
Inactive coupons show a “Deactive” status with clear reason indicators.

**3. Simple Coupon Management**
Create Global Coupons just like standard ones — only difference is a `GC_` prefix.
You can also convert existing WooCommerce coupons into global ones easily.

**4. Admin Reports & Insights**
- Activation Report – view who qualifies for which coupons
- Order Report – track which orders used global coupons

**5. Fully Customizable**
- Change frontend texts, button labels, and colors
- Rename My Account menu labels
- Customize coupon table headers
- Works with all WooCommerce-compatible themes

---

### 🧩 Example Use Cases
- Give **10% off** only to users with at least **3 orders**
- Create a “Welcome Back” coupon for users inactive for a while
- Reward loyal users who’ve spent over **$500**
- Offer birthday or anniversary coupons based on **registration year**

---

== Installation ==
1. Upload the `global-coupons-for-woocommerce` folder to `/wp-content/plugins/` or install the ZIP from WordPress Admin → Plugins → Add New
2. Activate the plugin
3. Visit **Global Coupons** in your WP Admin menu
4. Start creating smart, personalized coupon rules

---

== Frequently Asked Questions ==

= Does it work with the latest WooCommerce version? =
Yes — fully tested with **WordPress 6.9** and **WooCommerce 10.3.6**.

= Can I still use regular WooCommerce coupons? =
Yes. Only coupons starting with the prefix **GC_** become Global Coupons.

= Can customers see inactive coupons? =
Yes. They appear as **Deactive**, helping customers understand what conditions are required.

= Can I customize the look or text? =
Yes, you can change **every label and color** from the plugin settings page.

= Can I request a new condition or feature? =
Absolutely! Email us at **globalcoupons@mrebabi.com**.

---

== Screenshots ==
1. Global Coupon creation (admin)
2. Coupon restriction options
3. Admin preview of coupon table
4. Activation & Order reports
5. Frontend “My Account → Coupons” view
6. Applied global coupon in cart

---

== Changelog ==
= 1.4.0 =
- Tested with WordPress **6.9** and WooCommerce **10.3.6**
- Improved compatibility with new WooCommerce features
- Stability improvements and small performance fixes
- Updated readme for SEO and clearer plugin presentation

= 1.3.6 =
- Tested with WordPress 6.8.3 and WooCommerce 9.x
- Minor UI and performance improvements
- Enhanced readme & SEO optimization

= 1.3.5 =
- Updated tested WordPress and WooCommerce versions

= 1.3.0 =
- Added “Required Years of Membership” restriction
- Added related UI and settings fields

= 1.2.x and below =
- “You Have” feature added
- Report sections added
- New translations and customization options
- Various bug fixes

---

== Upgrade Notice ==
= 1.4.0 =
Now fully tested and compatible with **WordPress 6.9** and **WooCommerce 10.3.6**.
Includes stability updates and improved compatibility. Safe to update.

---

💡 Tip: Show coupons automatically under “My Account → Coupons” for higher engagement and more conversions.
