The promo code box is one of the smallest elements in a checkout, and one of the most expensive. A shopper who sees an empty "Discount code" field starts to wonder whether everyone else is paying less. Some open a new tab to look for a code, land on a coupon site, find nothing that works, and never come back. This guide covers how to tell whether your coupon field is leaking sales, and the specific design changes that keep discount hunters in the checkout.
Why an empty coupon field hurts conversion
A visible, open coupon field sends a clear message: codes exist, and you do not have one. For shoppers who were ready to pay, that creates a small sense of loss right at the moment of commitment. Baymard's checkout research names the problem directly in its guideline on checkout fields and Apply buttons, recommending that the promo code field should always be collapsed or hidden behind a link to avoid distracting users in checkout.
The behaviour it triggers is common. In a March 2026 survey of 1,016 US adults commissioned by CouponFollow, 74% said they had left a cart to search for a coupon or promo code, and 51% said they search for a code almost always before buying anything online. These are self-reported answers from a company in the coupon business, so treat the exact figures with care, but the direction matches what most store owners see in their own analytics: exits from the checkout that end on a search engine or a coupon site.
Once a shopper leaves, several things can go wrong. They may find an expired code and get annoyed. They may find a competitor's ad. They may simply get distracted. Every one of those outcomes starts with the same trigger in your checkout.
How to check whether your coupon field is leaking sales
Before you redesign anything, collect evidence. Three checks usually give you a clear answer in an afternoon.
1. Look at what happens after the coupon field
In GA4, build a path exploration starting from your cart or checkout page and look at the next steps for users who did not purchase. If a meaningful share of sessions end on the checkout page right after interacting with the coupon input, that is a signal. You will need an event on the field itself (for example a custom event fired on focus or on "Apply" click) to make this visible. If you have not set up a funnel view yet, our guide to combining session recordings with GA4 paths shows how to connect the numbers to real behaviour.
2. Watch session recordings of the checkout
Filter recordings in a tool such as Microsoft Clarity or Hotjar to sessions that reached checkout but did not convert. Look for a specific pattern: the cursor moves to the coupon field, the user pauses, then the tab loses focus or the session ends.
3. Count failed code attempts
Your ecommerce platform or a custom event can log every coupon submission and whether it succeeded. A high rate of invalid codes tells you shoppers are arriving with codes from third-party sites that you never issued, or with expired ones. That is a sign people are leaving to search, and coming back disappointed.
Design patterns that keep shoppers in the checkout
Once you know the field is a problem, the fixes are well understood. Most stores need a combination of the following.
Collapse the field behind a text link
Replace the open input with a quiet text link such as "Have a gift card or promo code?" that expands the field when clicked. Shoppers who already hold a code will find it. Shoppers who do not will rarely notice it. Keep the link in the order summary, near the total, rather than above the payment fields where it competes with the main task.
Apply codes automatically wherever you can
The best coupon field is one the shopper never needs. Baymard's research recommends that applicable promotions should ideally be applied automatically. If a shopper arrived from an email campaign with a code in the URL, apply it on landing and show it in the cart. If a site-wide sale is running, reflect it in the price rather than asking people to type a word. Most major platforms, including Shopify and Adobe Commerce, support automatic discounts or URL-based codes.
Show that the code worked
When a code is accepted, the order total should change visibly and the discount should appear as its own line, for example "SPRING15: minus $12.00". A brief highlight on the updated total helps. Shoppers who are not sure whether the code applied will often go back and try again, or abandon to check elsewhere.
Write error messages that help
"Invalid code" is the most common message and one of the least useful. Tell the shopper why the code failed and what to do next:
- "This code expired on 31 October." is clearer than "Invalid code".
- "This code needs a minimum order of $50. Add $8 more to use it." turns a failure into a reason to add an item.
- "This code is for first orders only." prevents repeated attempts.
Our article on form microcopy and error messages covers the wider principles for writing these lines.



