> For the complete documentation index, see [llms.txt](https://www.senderoo.com.au/help/llms.txt)

# Give buyers a discount code

Open Discount codes in your shop and press Add code. Type the code or press Make one up, choose what it takes off, then what it's for and its limits, and press Make code. Buyers type it in the cart or at the checkout.

A code a buyer types in your cart or at the checkout to pay less: a percentage off, an amount off, or free delivery. You choose what it's for, how often it can be used and when it ends.

## Make a code

1. Open **Website** from the menu.
2. Open your shop.
3. Open **Discount codes**.
4. Press **Add code**.
5. Under **Code**, type the code buyers will enter, such as SUMMER10. Or press **Make one up**.
6. Under **What it takes off**, choose **Percentage**, **Amount off each item** or **Amount off the order**, and type how much.
7. Switch on **Free delivery** if it gives free delivery too. For a code that only gives free delivery, switch it on and leave the amount empty.
8. Set what it's for and its limits, if you like. Everything is explained below.
9. Press **Make code**.

Buyers can use it straight away. It doesn't matter whether they type it in capitals or not.

A **Private note** is there for you: buyers never see it.

## What it's for

With nothing chosen under **What it's for**, the code works on every product in your shop. To narrow it:

- **Only these products**: search for a product and press **Add**.
- **Only these collections**: choose collections.
- **Not for these products** and **Not for these collections**: leave some out.
- **Not for items on sale**: switch it on to keep sale items out.

For **Percentage** and **Amount off each item**, **Items it takes off, at most** caps how many items it takes money off. Leave it empty for every item.

## Limits

Leave any of these empty for no limit.

- **Least a buyer spends** and **Most a buyer spends**: the order total it works for.
- **Uses in all**: how many orders can use it.
- **Uses for each buyer**: how many times one buyer can use it, by their email address.
- **First day** and **Last day**: when it works. It works until the end of its last day.
- **Can't be used with other codes**: switch it on, and it's the only code on the order.
- **Only for these emails**: type the email addresses that can use it. Use `*@` and a domain for everyone at one place, such as `*@school.edu`.

## Your codes

**Discount codes** lists every code, with what it takes off, how many times it's been used, and its last day. A code that isn't working right now says why:

| It says | Why |
| --- | --- |
| **Paused** | **Buyers can use it** is off. |
| **Starts** and a date | Its first day hasn't come yet. |
| **Ended** | Its last day has passed. |
| **Used up** | It's been used as many times as **Uses in all** allows. |

With more than 8 codes, **Find a code** searches them.

Press a code to change it, then press **Save**.

## Pause or delete a code

- **To stop a code for now**, switch off **Buyers can use it**, and press **Save**. Switch it back on to use it again.
- **To delete it for good**, press **Delete code**, then **Delete code** again. It can't be brought back. Orders that used it still show it.

## What buyers see

The **Discount code** box shows in your cart and at the checkout while your shop has a code buyers can use. A buyer types the code and presses **Apply**. When your shop also has gift cards buyers can use, the box reads **Discount code or gift card**, and either one goes in it.

The code shows on their order with what it takes off. If it can't take anything off yet, it says why in plain words, such as how much more to add, or that it has expired. They can press **Remove** to take it off.

Each order in **Orders** shows the codes it used beside its **Discount**.

## Codes from your WooCommerce store

When you bring a WooCommerce store across, its discount codes come too, with the uses they had there.

A code for products that didn't come across arrives paused, so it can't take money off everything. Open it, choose what it's for, switch on **Buyers can use it** and press **Save**. A code that was a draft on your old store arrives paused too.

## Where to next

- Group products for a code: [Group products into collections](https://www.senderoo.com.au/help/shop/group-products-into-collections).
- Set your delivery: [Set up delivery and payments](https://www.senderoo.com.au/help/shop/set-up-delivery-and-payments).
- Bring your store across: [Bring your WordPress site across](https://www.senderoo.com.au/help/website/bring-your-wordpress-site-across).
