=== Coupon Forge ===
Contributors: yodsira
Tags: woocommerce, coupon, bogo, bulk coupons, promo
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Coupons WooCommerce never had: apply by link, BOGO discounts, bulk unique codes and a welcome coupon - all on native coupons.

== Description ==

Coupon Forge adds the promotions WooCommerce is missing without
replacing a single native coupon: everything it creates lives in your
regular coupon list and works with every extension.

= What it does =

* Apply by link: share  yoursite.com/?coupon=CODE  or the neat
  /coupon/CODE address - the coupon lands in the cart on arrival. A
  wrong code does nothing at all: no errors, no broken pages.
* BOGO rules: "buy 2, the 3rd is half off" over all products, selected
  categories or products, with any quantity and discount. When several
  rules match a cart, the customer gets the biggest discount - rules
  never stack into a mess.
* Bulk generator: up to 1000 unique codes per batch (prefix, percent or
  fixed amount, expiry, one use per customer), all created as native
  WooCommerce coupons, exportable to CSV for printing or campaigns.
* Welcome coupon: every new customer gets a one-time percent coupon by
  e-mail right after registration - restricted to their address so it
  cannot leak.
* Works with WooCommerce High-Performance Order Storage (HPOS).

= Coupon Forge Pro =

The Pro companion adds customer-bound coupons with e-mail limits,
expiry reminders, stacking strategy settings and coupon performance
digests with Telegram alerts. Learn more:
https://yodsira.com/en/product/coupon-forge/

== Screenshots ==

1. BOGO rule editor.
2. The bulk generator with CSV export.
3. A link coupon applied at the cart.

== Installation ==

1. Install the plugin through the WordPress plugins screen (Plugins ->
   Add New -> Upload Plugin) and activate it.
2. WooCommerce must be active.
3. Open WooCommerce -> Coupon Forge to create BOGO rules and batches.

== Frequently Asked Questions ==

= Do link coupons work for everyone with the link? =

Yes - that is the point of a promo link. For customer-bound coupons
(use e-mail restrictions) use the native coupon settings or Coupon
Forge Pro.

= What happens with a wrong code in a link? =

Nothing. No error, no notice, no broken cart - the visitor simply
shops as usual.

= Are the generated codes real coupons? =

Yes, plain native WooCommerce coupons: they show in Marketing ->
Coupons, respect every native restriction and work with any extension.

= How do several BOGO rules behave? =

If more than one rule matches a cart, the one with the biggest
discount is applied. Rules do not stack.

= Is anything sent to third parties? =

No. Coupon Forge works entirely on your site; the welcome coupon goes
through your own WordPress wp_mail.

== Changelog ==

= 1.0.0 =
* First release: link coupons, BOGO engine with best-rule logic, bulk
  generator with CSV, first-order welcome coupon, HPOS support.

== Privacy & Data ==

Coupon Forge stores rules and settings in your own WordPress database.
The welcome coupon is sent by your own WordPress wp_mail to the
customer's own address. Nothing is sent to any external service.
