By platform
WooCommerce coupon not working: limits and expiry
The total does not move after a code from an email, or a notice says the code cannot be used. The code looks right, so the shopper blames the code, and a simulated visitor shows the notice it got.
Why is my WooCommerce coupon code not working?
The likeliest cause is a rule set on the coupon that the cart fails: a minimum or maximum spend, an expiry date, a usage limit, a product or category list, or a restriction to certain email addresses. Next, excluded sale items can refuse a cart that holds only discounted products, and an individual use setting can block a code when another one is applied. Check the coupon's rules before the spelling. A simulated test applies the same code to two carts, one that meets the rules and one that does not, and shows the notice each one gave.
What this looks like in a report
“The box says the code cannot be used, and the email said it works on any order. My cart is about half the amount it mentioned, so the minimum may be the problem. I cannot see the minimum from here.”
The fix. Put the minimum spend in the email next to the code, and check that the coupon's expiry and usage limit match the campaign. Apply the code to a cart that meets every rule, and confirm the total changes before the campaign goes out.
An illustration. Run a test to see your own.See a real sample report
The code is right, and the cart fails one rule on the coupon
A shopper copies a code from an email, presses apply, and the total stays the same. A notice under the box says the code cannot be used, and the shopper concludes the code is broken. In most stores the coupon itself is the cause. The cart is below the minimum, every item is on sale and the coupon excludes sale items, the code is limited to certain email addresses, or it passed its end date. The owner who made the code tested it with a large cart on an admin account, which passed every rule, so the refusal never showed up.
- Open the coupon's usage restrictions and note the minimum spend, the maximum spend and the expiry date.
- Check whether sale items are excluded, and whether the cart holds only items that are on sale.
- Check the product and category lists. Does the cart hold an item the coupon covers?
- Check the usage limit and whether the code has been used up. Also check any email restriction.
- Copy the code from the source again, and check for a space at the start or end.
The coupon's rules are checked against the whole cart
A WooCommerce coupon carries its own set of rules, set in the coupon's usage restrictions. A minimum spend and a maximum spend compare the cart total with a number. Individual use only stops the code from being combined with another coupon. Exclude sale items leaves out any item whose price is already reduced. A product or category list limits the coupon to the items named, so a cart that holds nothing on the list gets no discount at all. An allowed email list limits the code to one billing address. An expiry date and a usage limit end it for everyone once they pass. A cart can fail one rule while looking valid.
Codes copied from emails and posts go stale
A code is often copied from an old email or a social post after its end date or after its usage limit has run out. Shared codes also reach many shoppers quickly, so a limit can fill before the campaign ends. Copying a code can add a space at the start or the end, and the coupon then reads it as a different code. Check the code against the coupon itself rather than against a message, and check the date on the message. A code that worked for the first buyers can refuse everyone after them, so the notice is often the only clue that the code has ended.
Run the same cart with and without the code
Run two carts to separate a code problem from a rule problem. Build one cart that meets every rule on the coupon and apply the code. Build a second cart that fails one rule, such as a total under the minimum, and apply the code again. If the first applies and the second refuses, the rule is the cause. If both refuse, check the spelling against the coupon, then its expiry and usage. Note the notice and the total for each run. A simulated visitor applies the code to a cart and records the same two things, so its stop can be lined up with your notes.
Mimiq is independent and not affiliated with the platforms it names. Names belong to their owners.
What you get with Mimiq
- 01
Run it by hand, or on every pull request
Paste a link and a task in the app and watch the visitors work. Or run them on every preview deploy: the GitHub Action comments on the pull request, any other CI can call the MCP endpoint, and your coding agent can run it too.
- 02
Bugs and usability problems in one report
The browser records errors and failed or slow requests on the step they happened. The visitors say where the wording or the steps confused them, and where they left.
- 03
Visitors that behave like your audience
Each visitor is a different profile with a reason to be there, matched to who the page is for, described by you, or built from your own customers.
- 04
A prompt to fix each problem
Every problem comes with a fix to paste into Cursor, Claude Code, Lovable or any coding agent, and one prompt hands over the top problems at once. Then send the same visitors through again.
- 05
Follow every visitor
See each visitor's whole path, step by step with screenshots, and what it was thinking at every step. Ask any visitor a question.
The browser records relevant JavaScript errors and failed or slow app requests encountered during the run, attached to the step where they occurred. The visitors are simulated: they find problems, they do not predict how many real people will convert.
A new expiry date or a removed product can end a live code
A coupon can reach its end date, use up its limit or lose a covered product when a collection changes. Codes posted before the change keep circulating and keep failing. After each campaign or stock change, apply every live code to a fresh cart as a guest and note the notice each one gives. Rerun the same visitors after each change and read the cart step, so a code that stopped working does not stay quiet.
Starter
Try it on one launch
24 visitors, about 4 tests of 5
- Visitors on your landing page, signup and checkout
- Where they left and why, with a fix to copy for each problem
- Run it in the app or on every pull request
- Ask any visitor a question, included
- Test accounts and protected previews
Builder
Test every build
100 visitors, about 20 tests of 5
- Everything in Starter
- Credits refill each month, and what is left rolls over once
- Cancel anytime
Pro
Test every release, as a team
300 visitors, about 60 tests of 5
- Everything in Starter
- Credits refill each month, and what is left rolls over once
- Cancel anytime
Scale
Test at scale, every day
1,200 visitors, about 240 tests of 5
- Everything in Starter
- Credits refill each month, and what is left rolls over once
- Priority support
- Cancel anytime
Questions
Why does the code work for me but not for a shopper?
Your account may pass a rule that a shopper fails. You may have an admin session, a cart above the minimum, or an address the coupon allows. Try the code as a guest, in a private window, with an ordinary cart like the shopper's.
Can a simulated visitor tell me which rule failed?
No. It applies the code the way a shopper would and shows the notice and the total on the cart page, with a screenshot. It cannot read the coupon's rules, so open the coupon and compare its settings with that notice.
Does the test show whether a sale would make the code work?
No. It shows whether the code applied to the cart you tested. It does not predict redemptions, conversion or how many shoppers try a code, and it does not check the discount amount.
Should codes skip sale items?
That is a shop decision, not a fault. Make it on purpose, and say it on the page where the code is shared, so a shopper does not read the refusal as a broken code.
Does the discount carry through to payment?
It can carry the discounted cart to the payment step and stop there. A simulated visitor cannot pay with a real card, so the discounted total is not tested through a completed order.
Keep reading
Send visitors and see what breaks first.
Your first test is free: sign in with Google or email and it starts right away. Last checked 2026-12-03.