# Add a discount code box

> Let shoppers enter a discount code in the drawer and on the cart page, and word the box your way.

Source: https://help.attravo.com/drawer-cart/articles/add-a-discount-code-box
Updated: 2026-10-06

With a code box in the cart, a shopper with a code sees the saving before checkout, which keeps them moving. The box is on for a new store.

## Set up the code box

1. On **Cart settings**, open **General**.
2. Turn on **Discount code box**.
3. Change **Discount field placeholder** and **Discount button label** if you like. They read **Discount code** and **Apply** until you change them.

![Discount code box with Discount field placeholder and Discount button label](https://xprvgpfulbcxrftgyppu.supabase.co/storage/v1/object/public/help-media/5d8df30e-32a3-4311-b03c-158adc08841b/6e0999c8-ff71-451c-8d4a-827bb772b773/discount-box-1-settings-d85c67737f.webp#w=1172&h=328)

4. Select **Save**.

![The discount code box in the cart](https://xprvgpfulbcxrftgyppu.supabase.co/storage/v1/object/public/help-media/5d8df30e-32a3-4311-b03c-158adc08841b/6e0999c8-ff71-451c-8d4a-827bb772b773/discount-box-2-in-cart-489c593989.webp#w=1172&h=180)

## What a shopper sees

The cart checks the code with your store first. A code that does not exist, has not started yet or has expired is refused with a message saying which, so nothing is promised that checkout would not honor. A valid code is applied and the total updates.

## When a code is refused alongside offers

A line in an order can carry one product discount. If every line in a cart already has one of this app's discounts, such as a cross-sell offer, a free gift or a quantity break, a shopper's code has nowhere to go and is refused.

To let a code through, see [A discount code won't apply](https://help.attravo.com/drawer-cart/articles/a-discount-code-wont-apply.md).
