# Reward customers with a code for next time

> Give every order the cart influenced its own single-use code for a percentage off the customer's next order.

Source: https://help.attravo.com/drawer-cart/articles/reward-returning-customers
Updated: 2026-10-06

A thank-you code gives a customer a reason to come back. On Pro, the app creates a unique code for each order the cart influenced and puts it on the order, so you can send it in your order emails.

## Turn it on

1. On **Cart settings**, open **Returning-customer reward**.
2. Turn on **Reward customers after a cart order**.
3. Set **Percent off their next order**.

![Reward customers after a cart order turned on, with Percent off their next order](https://xprvgpfulbcxrftgyppu.supabase.co/storage/v1/object/public/help-media/5d8df30e-32a3-4311-b03c-158adc08841b/6e0999c8-ff71-451c-8d4a-827bb772b773/returning-1-settings-58931876e7.webp#w=1172&h=386)

4. Select **Save**.

## How the codes work

- One code is created per order the cart influenced, in the form `THANKS-` followed by eight letters and numbers.
- Each code is single-use, one per customer, and expires 60 days after it is created.
- The code is added to the order as a tag and in the order's note, so you can find it on the order and pass it on.
- Codes are listed under **Your codes** in **Discounts** on Cart settings, marked **Reward**, and the newest appear under **Thank-you codes** on **Analytics**.

![Thank-you codes on Analytics with the newest codes listed](https://xprvgpfulbcxrftgyppu.supabase.co/storage/v1/object/public/help-media/5d8df30e-32a3-4311-b03c-158adc08841b/6e0999c8-ff71-451c-8d4a-827bb772b773/analytics-7-thank-you-codes-f6d5dc64f5.webp#w=2012&h=780)
