All sections
Shoppers can apply a coupon right in the cart drawer or the checkout popup, without going to another page. This guide shows how it works and how to test it. In the free plugin, the coupon form always shows in the drawer. Pro lets you change or hide it.
Test it in five minutes
- Go to Marketing > Coupons and create a coupon named
TEST10for 10% off. - Go to Onpage Checkout > Floating Cart and check that Enable Sticky Cart is on.
- Add a product to the cart and click the floating button.
- Type
TEST10and click Apply. - Check the discount row and new total, then click Remove.
- Apply it again and place a test order.
In the cart drawer

The Side Cart Slide-in method opens this same drawer, so it has the same coupon form.
Change it PRO

- Under Drawer Elements: Coupon Form, Coupon Title, Collapsible Coupon, Coupon Initially Collapsed.
- Under Drawer Text: Coupon Title, Coupon Placeholder, Coupon Button, Applied Coupons Heading, Remove Coupon, Discount Label.
- Under Drawer Notices & Feedback Text: the coupon messages.
In the checkout popup
Popup Checkout PRO shows WooCommerce’s normal checkout form, so its coupon area is the normal “Have a coupon? Click here to enter your code” line. You can hide that line on the Checkout Form tab.
Coupon rules still apply
The plugin only gives shoppers a place to type the code. WooCommerce still decides whether it is valid, using the rules you set on the coupon:
| Rule | Example |
|---|---|
| Percentage or fixed discount | 10% off, or $5 off the cart |
| Minimum and maximum spend | Valid from $50 to $200 |
| Individual use only | Cannot join with other coupons |
| Exclude sale items | Not valid on discounted products |
| Products and categories | Valid only for shoes |
| Usage limits | Once per customer |
| Expiry date | Ends on a chosen day |
| Allowed emails | For named customers only |
When a code fails, the shopper sees WooCommerce’s reason, such as “This coupon has expired”. The Invalid Coupon Message shows only when no reason is given.
With variable products
When a shopper changes a variation in the cart, WooCommerce checks the coupon again. A coupon limited to one variation may then be removed, so test this if you use such coupons.
If something goes wrong
- The coupon form is missing: in Pro, check Coupon Form. On the popup, check the Checkout Form tab.
- It works for you but not for guests: a page cache or a security plugin may be blocking guests. Test in a private window.
- It works only on the cart page: a firewall may be blocking the request. Send these names to your host and ask them to allow them:
admin-ajax.php,coupon_code,onepaquc_apply_couponandonepaqucpro_apply_coupon. - The total does not change: clear your cache, and look for script errors in your browser console.
- A removed coupon comes back: check for a plugin or link that applies coupons automatically.
- Numbers look off: if you use a tax or currency plugin, compare the drawer’s totals with the checkout page.
Good habits
- Test each new coupon as a guest before you announce it.
- Write clear rules in your promotion, such as “Not valid on sale items”.
- Remove test coupons when you finish.
