# Add deals to the drawer

Show up to four offers in the drawer's Deals tab, each with an image, a button that applies its discount code, the shoppers it's for, and the dates it runs.

Source: https://onecounter.app/guides/deals/

The **Deals** tab shows your current offers. It stays hidden from shoppers while you have none, so you can switch it on now and add deals when you're ready.

## Before you start

Create the discount in Shopify first (**Discounts → Create discount**), and note its code. The drawer shows the code and applies it for the shopper, but it doesn't create the discount, and it can't tell whether a code exists.

## Add a deal in the theme editor

1. Go to **Online Store → Themes → Customize**.
2. Open **App embeds** and switch on **One Counter deals**. The **One Counter** embed must be on too.
3. Under **Deal 1**, fill in:

| Setting | What it does |
| --- | --- |
| Show this deal | Tick to show it. Untick to pause it without losing it. |
| Title | The deal's heading. A deal without a title doesn't show. |
| Text | A line or two about the offer. Line breaks are kept. |
| Image | Optional picture for the card. |
| Discount code | Optional. Shown on the card with a **Copy** button. |
| Button label | The button's words, like *Shop now*. |
| Button link | Where the button goes. The button only shows when it has a link. |
| Who sees it | **Everyone**, **New visitors**, **Signed-out visitors** or **Signed-in customers**. |
| Starts / Ends | Optional dates, written as year-month-day (`2026-11-27`), in your store's time zone. **Ends** is the last day it shows. |

4. Select **Save**.

You have four deal slots. Use **Deal 2** to **Deal 4** the same way.

## The button applies the code

When a deal has both a **Discount code** and a **Button link** to a page on your store (a collection, a product, your home page), tapping the button applies the code for the shopper and takes them to that page. They never have to copy it: the discount is already on their checkout. (Your cart page may not show it; checkout does.)

If the link goes to another website, the button just opens that site, and the code stays on the card to copy.

## Who sees it

- **Everyone**: every shopper.
- **Signed-out visitors**: anyone who isn't signed in.
- **New visitors**: signed-out shoppers One Counter doesn't recognise. Someone who has signed in on that device before, or arrived from one of your Klaviyo emails, isn't new, so they won't see it. Use this for a first-order offer.
- **Signed-in customers**: only signed-in customers. Their code is only ever sent to signed-in customers, so a members' code doesn't leak to the public page.

## Dates

- A deal with a **Starts** date shows from that day; one with an **Ends** date shows up to and including that day.
- Write dates as `YYYY-MM-DD`, for example `2026-12-24`. A date written another way hides the deal, so a typo never shows an offer at the wrong time.
- In the theme editor you see every deal, including ones not running yet or already ended, with a note on any date it can't read. Shoppers only see the deals running today.

## Check it

1. Open your theme preview and the drawer's **Deals** tab.
2. Tap a deal's button: you should land on its page.
3. Add something to your cart and go to checkout: the discount should already be applied.

## More than four deals?

Deals can also be added in Shopify admin under **Content → Metaobjects → One Counter Deal**. Those show first, before the theme editor's four.
