Hide the coupon field behind a link in the cart

An open discount code box makes shoppers without a code go hunting for one. Tuck it behind a link to keep them on the path to checkout.

2 min read

Area

CRO & UX

Severity

Medium

Fix effort

Small

Stores failing

Not enough data

An always-open coupon box invites shoppers without a code to leave and search for one, and some do not return. Putting the field behind a "Have a code?" link keeps it available for those who have one. This check looks at how the coupon field is shown in the cart.

Why it matters

Retail teams call it the coupon leak: the box suggests that a discount exists. A link hides the prompt from people who would not use it, without removing it for those who would.

What the audit looks at

The audit reads the cart page and checks whether the coupon field is behind a link or toggle, not an open input.

What usually causes it

  • A theme with a visible discount code field in the cart
  • A cart app that shows a large discount box
  • A checkout layout that puts the code first
  • A promotion that makes the box useful for everyone

How to fix it

Tuck the coupon field behind a link. The effort is small, usually a setting or a paste and under 30 minutes.

  1. An open coupon box sends shoppers off to look for a code, and many do not come back.
  2. Show a small "Have a code?" link that reveals the field.

On Shopify

  1. Shopify takes discount codes at checkout, not in the cart, so this does not apply to the theme.

On WooCommerce

  1. WooCommerce > Settings > General: untick Enable the use of coupon codes if you do not use them. Otherwise collapse the cart coupon field behind a link in your child theme.

How to check it yourself

  1. Open the cart and check whether the discount code box is visible.
  2. Try the toggle and make sure it works on mobile.
  3. Confirm codes still apply correctly.

Frequently asked questions

Should I remove coupons entirely?

Only if you never use codes. Hidden is a compromise that serves both.

What if I run a code promotion?

Then show the field openly for that period.

Check your own store

See whether your store passes this check

Paste your store URL. The audit loads your pages in a real browser and shows the result for this check with the evidence behind it.

Part of Conversion and UX checklist for ecommerce stores