# Discount codes

> Create codes for a percentage off, a fixed amount off or free shipping, with dates, limits and minimum orders.

Shoppers type a discount code at checkout.

## Create a code

1. Open **Store › Discounts** and add a discount.
2. Type a **Code**, like `SUMMER20`, or press **Generate**.
3. Pick a **Type**: **Percentage** (like 20% off), **Fixed amount** (like $10 off) or **Free shipping**.
4. Under **Applies to**, choose **Everything**, some **Collections** or some **Products**.
5. Optional limits: **Minimum order**, **Total uses**, **Each customer can use it once**, and **Starts** / **Ends** dates.
6. Make sure **Active** is on, and save.

## Statuses

| Status | Meaning |
| --- | --- |
| Active | Works now |
| Scheduled | Starts on a future date |
| Off | Turned off by you |
| Used up | Reached its total uses |
| Expired | Past its end date |

## Can discounts apply automatically?

Codes are typed by the shopper. For money off with no code, create a sale in **Discounts › Sales** (see [Automatic sales](/help/shop/automatic-sales)). A code works on top of a sale only when the sale has **Combine with discount codes** on.
