designing promo code fields that customers trust
posted 28th November 2026
Every shop, app and website that sells something eventually has to ask the customer for a code. A voucher, a referral, a seasonal offer, a loyalty reward: the small box labelled "enter code" has become one of the most common pieces of interface on the web. It is also one of the easiest to get wrong, and a poorly designed one costs more than it saves.
Here is how we think about promo code fields when we design checkouts and app screens, and what we would check before putting one in front of customers.
The conditions deserve the same care. Minimum spend, eligible products, a one-use limit and an end date should be visible next to the field or one tap away. Nobody should find out at the final step that a code does not apply to what is in their basket.
If you are planning an offer screen for an app or a shop and want to talk through the options, take a look at our app design work or get in touch.
Here is how we think about promo code fields when we design checkouts and app screens, and what we would check before putting one in front of customers.
decide if the box should be visible at all
A permanent, prominent "promo code" field at checkout sends a quiet message to everyone who does not have one: you are about to pay more than somebody else. Some visitors will leave the page to hunt for a code and may not come back. If most of your customers will not have a code, the field is better tucked behind a plain text link such as "have a code?", which opens the input when it is needed. If every customer arrives with a code, for example from an email campaign, put the field open and prefilled where you can.make it forgiving to type
Codes are typed on phones, usually on small keyboards, often copied from another app. A few simple choices remove most of the frustration.- Ignore upper and lower case, and trim stray spaces at the beginning and end of the entry.
- Allow pasting, and do not block the paste action in the field.
- Avoid characters that are easy to confuse, such as the letter O and the number 0, when you generate the codes.
- Use a button label that says what happens, such as "apply code", rather than a bare arrow.
say what the code does, and what it does not
The moment after a customer taps apply is the moment trust is won or lost. A clear success message shows the change in the total: what was taken off, and the new price. A failure message should explain the reason in plain language. "This code expired on 30 November" is useful. "Invalid code" leaves the customer guessing whether they mistyped it or whether the offer is gone.The conditions deserve the same care. Minimum spend, eligible products, a one-use limit and an end date should be visible next to the field or one tap away. Nobody should find out at the final step that a code does not apply to what is in their basket.
look at how other sectors present codes
Offers and codes appear in every sector, and the clearest examples of how to organise them are often outside our own. Sites that publish offers for online gaming, for instance, tend to build whole pages around the code, the date it was checked and its conditions. A Spanish-language page on codigo promocional jugabet is one example, arranged around the current code, the list of active codes and a note that the information is updated month by month. You do not need any interest in that market to take the lesson. Name the code, say when it was last confirmed and keep the conditions close to it.test the unhappy paths
Most teams test the case where the code works. Real customers spend more time in the other cases, so a short test plan should cover them:- An expired code, a code already used and a code typed with a typo.
- A valid code on an order that is too small to qualify.
- Removing the code after it was applied, and checking the total goes back up correctly.
- Applying the code, then changing the basket, then checking the discount is recalculated.
- The whole flow on a small phone, with the keyboard open, so the apply button is not hidden.
keep it honest
Codes work best when they are real. Do not show a countdown that resets itself, and do not hide terms in small grey text. Customers notice, and a design that feels like a trap loses the repeat business a discount was meant to win. A good code field is quiet, quick and clear, and gets out of the way once the customer has what they came for.If you are planning an offer screen for an app or a shop and want to talk through the options, take a look at our app design work or get in touch.