=== CouponStack ===
Contributors: couponstack
Tags: coupons, bogo, discount, buy x get y, woocommerce
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

All-in-one coupons for WooCommerce: buy X get Y, tiered, bundle, gift and shipping offers, discount caps, smart rules and automatic coupons.

== Description ==

CouponStack extends WooCommerce coupons with the offers and rules that stores ask for most, in one plugin.

= Pricing =

Start with a 7-day free trial, once per store, with no card needed. After that, a licence costs ₹599 per 30 days or ₹4,999 per year for stores that use Indian rupees, and $6.99 per 30 days or $59 per year for all other stores. Licences never renew automatically. When a licence ends, CouponStack offers pause for shoppers; coupons, settings and existing orders are kept. Details: https://couponstack.website/pricing/

= Offers =

* **Buy X Get Y (BOGO)**: same product or different products, free or partly discounted, once, repeating or in tiers, cheapest or most expensive item rewarded.
* **Tiered discounts**: buy more, save more, by quantity or amount spent.
* **Discount with a maximum cap**: for example 20% off, up to 50.

= Rules for any coupon =

Add rules to any WooCommerce coupon, including the built-in percentage and fixed coupons:

* Cart subtotal, number of items, products or categories in the cart
* User role, email or email domain, billing or shipping country
* Payment method and shipping method
* Purchase history: first order, number of previous orders, total spent, previously bought products
* Date range, days of the week and time of day (store timezone)

Combine rules with AND inside a group and OR between groups. Shoppers see a clear reason when a coupon does not apply, for example "Spend $50.00 or more to use this coupon".

= Coupons without typing =

* **Apply automatically** when the cart qualifies, and remove automatically when it no longer does.
* **Coupon links** such as `https://your-store.com/?coupon=SUMMER`, which also work together with WooCommerce's `add-to-cart` links.

= Built on WooCommerce =

CouponStack plugs into WooCommerce's own discount calculation, so taxes, rounding, usage limits, orders and reports keep working as usual. It supports the Cart and Checkout blocks and High-Performance Order Storage.

= External services =

CouponStack connects to the CouponStack licence service (https://api.couponstack.website), operated by the plugin's author, to run the free trial and paid licences.

* **When:** only after a store administrator clicks "Start free trial"; then about once a day, and when an administrator uses the licence or payment buttons.
* **What is sent:** the store address, administrator email address, store currency and country, the WordPress, WooCommerce and CouponStack versions, and a random installation ID created by the plugin.
* **Payments:** the "Pay" buttons open a payment page hosted by Razorpay. CouponStack never handles card, UPI or bank details.
* **Never sent:** shopper or customer details, orders, carts, products, coupon codes or offer settings. CouponStack does not track visitors.

Terms of Service: https://couponstack.website/terms/
Privacy Policy: https://couponstack.website/privacy/
Razorpay privacy policy: https://razorpay.com/privacy/

= For developers =

Add your own rule types and offer types with the `couponstack_register` action. See the developer guide in the plugin's `docs` folder.

== Installation ==

1. Install and activate WooCommerce.
2. Install and activate CouponStack.
3. Go to Marketing → Coupons, add or edit a coupon, and open the CouponStack tab.
4. Optional: adjust global settings under WooCommerce → Settings → CouponStack.

== Frequently Asked Questions ==

= Does it work with the block checkout? =

Yes. Discounts are calculated inside WooCommerce, so the Cart and Checkout blocks show and charge exactly the same totals as the classic cart.

= Can a shopper remove an automatic coupon? =

Yes. Once removed, it is not added again during that shopping session.

= What happens when my trial or licence ends? =

CouponStack offers stop applying to new carts and its messages are hidden from shoppers. Your coupons, settings and past orders are kept, and everything resumes as soon as you pay.

= What happens to my coupons if I deactivate CouponStack? =

Your coupons stay in WooCommerce. CouponStack offer types stop discounting while the plugin is inactive.

== Changelog ==

= 0.1.0 =
* First release: buy X get Y, tiered, bundle, gift, shipping and cart offers, discount caps, rule builder, automatic coupons, coupon links and shopper messages.
* 7-day free trial and paid licences.
