Skip to content

WooCommerce coupons: discount types, limits and good practice

· The AYT team · 6 min read

Person tying string around a cardboard parcel on a white table

WooCommerce coupons are created under Marketing → Coupons and come in three discount types: a percentage off products, a fixed amount off the whole cart, and a fixed amount off each product. Besides the type and amount, every coupon has usage restrictions (minimum spend, products, categories, emails) and usage limits (how many times, by how many customers, on how many items).

Turn coupons on

If you don't see the coupon field in the cart, coupons are disabled:

  1. Go to WooCommerce → Settings → General.
  2. Under "Enable coupons", tick "Enable the use of coupon codes".
  3. Save.

Below it is "Calculate coupon discounts sequentially". With it ticked, a second coupon applies to the price already reduced by the first instead of the original price. For most stores it's safer to leave it unticked and not allow stacked coupons at all (see "Individual use only" below).

The three discount types

Type What it does Example
Percentage discount Takes a percentage off eligible products 10% off the whole cart
Fixed cart discount Takes a fixed amount off the cart total 50 lei off an order
Fixed product discount Takes a fixed amount off each eligible product, multiplied by quantity 20 lei off each pair of shoes

With the last two, quantity changes the result a lot. A 20-lei "Fixed product discount" coupon on 3 units of the same product gives 60 lei off. The same coupon set as "Fixed cart discount" gives 20 lei, however many products are in the cart.

Create a coupon

  1. Go to Marketing → Coupons and click Add coupon.
  2. Type the code (for example FIRSTORDER10) or click Generate coupon code for a random one.
  3. Add an internal description: which campaign, who asked for it. Customers don't see it, but six months from now you'll be glad it's there.
  4. On the General tab choose the discount type, the amount and, if needed, the expiry date.
  5. Tick "Allow free shipping" only if the coupon should also grant free shipping. It only works if the Free shipping method in your shipping zone accepts coupons; see WooCommerce free shipping.
  6. Fill in the restrictions and limits (sections below) and click Publish.

Usage restriction

  • Minimum spend: the minimum cart subtotal. WooCommerce uses the displayed subtotal, including VAT if the cart shows prices with VAT.
  • Maximum spend: the highest subtotal at which the coupon still works. Useful for percentage discounts, so you don't give 20% off a 10,000-lei order.
  • Individual use only: the coupon can't be combined with other coupons. Tick it on almost every coupon.
  • Exclude sale items: the coupon doesn't apply to products already on sale. Note that a "Fixed cart discount" still applies if the cart also holds products that aren't on sale.
  • Products / Exclude products and Product categories / Exclude categories: limit the coupon to certain products or categories, or leave them out of the discount.
  • Allowed emails: the addresses that may use the coupon, checked against the billing email. It accepts * too, for example *@partnerfirm.ro for a partner company's staff.

Usage limits

  • Usage limit per coupon: how many times the coupon can be used in total, by all customers. For a "first 100 customers" campaign, enter 100.
  • Limit usage to X items: how many eligible items get the percentage or per-product discount. It doesn't limit a "Fixed cart discount".
  • Usage limit per user: how many times one customer can use the coupon. For welcome coupons, set 1.

Good practice

  • One code per campaign. NEWSLETTER-NOV tells you in reports where a sale came from, while a generic code used everywhere tells you nothing.
  • Always set an expiry date. Codes end up on coupon sites and circulate for years.
  • Tick "Individual use only" unless you have a clear reason to allow stacking.
  • For large percentages, add a "Maximum spend" or limit the categories, so you don't discount low-margin products.
  • For first-order coupons, the per-user limit is checked against the customer's account or, for guest orders, the billing email. Anyone who comes back with a new account or another address can use it again; accept that as part of the cost or send unique codes by email.
  • Check the results in Analytics → Coupons: how many orders each code brought in and how much discount you gave.

Struck-through prices shown on products (announced price reductions) have their own legal rules in Romania about the previous price you display, different from coupons. If you run a campaign with struck-through prices, check the current rules with your lawyer.

When you need a plugin

WooCommerce's coupons cover most campaigns. For more complex rules (coupons applied automatically, "buy 2, get 1", discounts by payment method or user role, gift cards) you need an extension. Pick one that's maintained, compatible with the block checkout and with HPOS, and test it on staging first.

Frequently asked questions

Why do I get "Coupon is not valid" when the code exists?

The usual causes: the coupon has expired, reached its usage limit, the cart doesn't reach the minimum spend, the products in the cart are excluded, or the billing email isn't in "Allowed emails". Open the coupon and go through the Usage restriction and Usage limits tabs one by one.

Can I send a coupon automatically after the first order?

Not with the core settings. You need an extension, or an automation in your email marketing platform that generates unique codes.

Your campaigns on AYT

On AYT's plans you can test a new campaign on a staging site created from the WordPress Toolkit before you launch it on the live store. The panel's monitoring shows resource usage and slow plugins, which helps on busy campaign days, and the daily backups cover you if a new extension breaks something.

More articles

All articles