How to Create WooCommerce Coupons and Manage Usage Limits

WooCommerce includes built-in coupons for percentage and fixed discounts, with controls for eligible purchases, expiration dates, and usage limits.

Last updated:

Reviewed for accuracy by Jesse Nickles

Enable coupons in WooCommerce

  1. In WP Admin, go to WooCommerce → Settings → General.
  2. Under Enable coupons, check Enable the use of coupon codes.
  3. Click Save changes. You can then manage coupons under Marketing → Coupons.

You need an administrator or shop manager account to create and manage coupons.

Choose the right discount type

Decide whether your offer should reduce eligible item prices by a percentage, take a fixed amount off the cart, or subtract a fixed amount from each qualifying item.

Discount typeHow it worksExample
Percentage discountReduces eligible product prices by a percentage.10% off eligible items
Fixed cart discountApplies a fixed discount to eligible cart items, excluding shipping charges.$10 off the cart
Fixed product discountSubtracts a fixed amount from each eligible item.$5 off each qualifying item

For a fixed product coupon, quantity matters: two eligible items with a $5 discount each receive $10 off in total.

Create a coupon code

  1. Go to Marketing → Coupons and select Add new coupon.
  2. Enter a code such as WELCOME10, or use Generate coupon code. WooCommerce coupon codes are not case-sensitive.
  3. In Coupon data → General, choose the discount type that fits your offer and enter its amount without a currency or percent symbol. For 10% off, enter 10.
  4. Optionally set an expiration date. The coupon cannot be used on the selected date, so choose a later date if the offer must remain valid through its final advertised day. Review the Usage restriction and Usage limits tabs before publishing.
  5. Click Publish to save the coupon.

Set usage restrictions and limits

Use Usage restriction to set minimum or maximum spending amounts, include or exclude products and categories, exclude sale items, or restrict the coupon by billing email. Select Individual use only if customers must not combine it with other coupons.

Under Usage limits, you can restrict three different things:

For example, a total usage limit of 100 allows up to 100 redemptions across the store, while a per-user limit of 1 restricts each customer to one redemption. Neither sets a limit on discounted item quantity. Leave any field blank when you do not need that particular limit. Click Update if you are editing an existing coupon.

Test the coupon on your storefront

  1. Add eligible products to the cart and enter the coupon code as a customer would.
  2. Apply the code and confirm the item discounts and cart total match the offer.
  3. If you set a minimum spend, test a cart below that amount. If you excluded products, test a mixed cart: the coupon may still discount other eligible items.
  4. If you set a per-item usage limit, add more eligible items than the limit and confirm only the allowed quantity receives the discount.

In HoverCraft's classic WooCommerce checkout, customers apply coupons in the cart because the separate checkout coupon form is removed. The Checkout block has its own configurable coupon form. See WooCommerce Cart and WooCommerce Checkout.

When a coupon does not work

If the code is rejected, first confirm coupons are enabled and the code is correct. Then check its expiration date, remaining usage limits, spending thresholds, product or category restrictions, excluded sale items, and any billing email restriction.

If a coupon is supposed to offer free shipping but no free rate appears, confirm that Allow free shipping is enabled for the coupon and that the customer's matching shipping zone has an eligible Free shipping method. See WooCommerce's free shipping instructions.

WooCommerce core does not automatically apply a coupon just because it exists; customers normally enter the code in the cart or checkout. For more settings, see the official WooCommerce coupon management documentation.