Guide · Cart
How to create coupons in WooCommerce
Coupons are built into WooCommerce: no plugin is needed to create a code, limit who can use it and how often, or tie it to a cart total. Core never applies a discount on its own: the shopper types the code, a checkout link carries it, or a plugin or custom code applies it.
We set up the three discount types in a fresh WooCommerce 11.3.1 store on 5 December 2026 and applied each, with its own checkout link, to the same cart of three $24 mugs, so you can see what each one takes off.
Disclosure: SalesMax is our plugin, made by 8theme. Everything on this page about WooCommerce comes from its documentation, linked under Sources, and from our own test. Checked 5 Dec 2026.
Create a coupon
- Check that coupons are on: WooCommerce → Settings → General, Enable the use of coupon codes.
- Go to Marketing → Coupons and press Add coupon (Create your first coupon if you have none). The Add new coupon screen opens.
- Type a code, or press Generate coupon code. Codes are not case-sensitive: SAVE10 and save10 are the same code. The description is for you; shoppers do not see it.
- On the General tab choose the Discount type and the Coupon amount (a number only, no $ or %), and optionally Allow free shipping and a Coupon expiry date.
- Set the Usage restriction and Usage limits tabs if you need them, then Publish.

The three discount types, tested
WooCommerce has three discount types. We gave the same cart, three mugs at $24 ($72), each kind of coupon:
| Discount type | What it does | Our test | Discount |
|---|---|---|---|
| Percentage discount | A percentage off eligible products | 10% | −$7.20 |
| Fixed cart discount | One amount off the whole cart | $10 | −$10.00 |
| Fixed product discount | An amount off each eligible item | $5, limited to the mug | −$15.00 ($5 × 3) |

Watch the fixed product discount: it multiplies by the quantity. If you mean “$5 off the order”, use a fixed cart discount.
Usage restriction
- Minimum spend and Maximum spend: the lowest and highest cart subtotal the code accepts, as displayed, so tax counts when your cart shows prices with tax. Since WooCommerce 11.2 the minimum must not be above the maximum.
- Individual use only: the coupon cannot be combined with other coupons.
- Exclude sale items: no discount on products already on sale.
- Products and Exclude products, Product categories and Exclude categories, Product brands and Exclude brands: which items the coupon applies to, or which must or must not be in the cart.
- Allowed emails: the billing emails that may use it. An asterisk works as a wildcard, so
*@example.comallows a whole domain.
The cart-total discount guide covers the “spend $X, get Y% off” case in detail.
Usage limits and expiry
- Usage limit per coupon: how many times the code can be used in total.
- Limit usage to X items: how many items get a percentage or fixed product discount. It does not limit a fixed cart discount.
- Usage limit per user: how many times each customer can use it.
- Coupon expiry date, on the General tab: the coupon cannot be used on the date you set.
To start a coupon later, change the date in the Publish box and press Schedule.
When a code is refused
WooCommerce tells the shopper why a code does not apply. In our store, a 15% coupon with a $100 minimum, typed into the Cart block with $72 in the cart, gave this:

Before you send a code out, try it in a cart that should work and in one that should not, as WooCommerce’s documentation suggests, and read both messages as a shopper would.
Tax, shipping and stacking
- Tax: coupons apply to prices before tax is calculated, and a fixed cart discount is split across the products in the cart.
- Shipping: coupons do not reduce the shipping cost itself, as our test shows, except a free shipping coupon: tick Allow free shipping, add a Free shipping method to the zone and set Free shipping requires to A valid free shipping coupon (or one of the minimum amount OR / AND a coupon options). One catch: if free shipping starts at a minimum amount, WooCommerce checks that amount after the discount unless you tick Apply minimum order rule before coupon discount, so a coupon can take a cart below it.
- Stacking: shoppers can use several coupons unless one is set to Individual use only. Calculate coupon discounts sequentially, under WooCommerce → Settings → General, applies each coupon to the price left after the previous one. WooCommerce runs fixed product coupons first, then percentage, then fixed cart; the order the shopper typed them only breaks ties.
Questions
How do I create a coupon in WooCommerce?
Make sure Enable the use of coupon codes is ticked under WooCommerce → Settings → General, then go to Marketing → Coupons and press Add coupon. Enter a code or press Generate coupon code, choose the discount type and amount, set any restrictions and limits, and publish.
What is the difference between a fixed cart and a fixed product discount?
A fixed cart discount takes one amount off the whole cart; a fixed product discount takes the amount off each eligible item. In our test, $10 fixed cart took $10.00 off three $24 mugs, and $5 fixed product took $15.00 off the same three.
Can a WooCommerce coupon give free shipping?
Yes. Tick Allow free shipping on the coupon, add a Free shipping method to the shipping zone and set Free shipping requires to A valid free shipping coupon. Other coupons do not reduce the shipping cost, though a discount can take a cart below a free-shipping minimum.
Are WooCommerce coupon codes case-sensitive?
No. WooCommerce’s documentation says SAVE10 and save10 both work.
Why does WooCommerce say the minimum spend for my coupon is not met?
Minimum spend is checked against the cart subtotal as displayed, including tax when your cart shows prices with tax. In our test a $72 cart and a $100 minimum gave the message: The minimum spend for coupon "big100" is $100.00.
Sources
Each page below was read on 5 December 2026. The discounts, the error message and the screenshots come from a fresh WordPress Playground site with WooCommerce 11.3.1, set up the same day.
- WooCommerce docs, Managing coupons in WooCommerce https://woocommerce.com/document/coupon-management/
- WooCommerce docs, Creating Sharable Checkout URLs https://woocommerce.com/document/creating-sharable-checkout-urls-in-woocommerce/
- WooCommerce docs, Free shipping https://woocommerce.com/document/free-shipping/
Show all 6 sourcesShow fewer sources
- WordPress Playground (where the screenshots were taken) https://wordpress.org/playground/
- SalesMax Next Order Coupon salesmax.8theme.com/boosters/next-order-coupon/
- Discount on the cart total (this site) salesmax.8theme.com/guides/woocommerce-cart-total-discount/
AI Store Scan
See which upsell offers your store already runs.
The AI Store Scan reads your public storefront pages and lists the upsell offers it finds and the ones it does not.