> ## Documentation Index
> Fetch the complete documentation index at: https://docs.marzipan.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Create discount codes and automatic discounts to reduce order prices.

Discounts reduce an order's price, either automatically or when a customer enters a code at checkout. Use them to run promotions, reward loyal customers, or offer free shipping and free items.

To view your discounts:

1. Log in to your Marzipan account
2. Click on **Discounts** in the main navigation menu
3. The overview page will display all of your discounts

### Discounts

Each discount in the list shows:

* **Code** - the code customers enter at checkout, with its description underneath
* **Status** - whether the discount is currently active, plus an `auto applied` badge when it applies without a code
* **Usage** - how many times the discount has been used, against its usage limit where one is set
* **Valid from** and **Valid until** - the dates the discount is active between

Click on any discount to view and edit it. Use the **Add discount** button in the top-right corner to create a new one.

### Types

Every discount has a **type**, which determines how it reduces the price:

| Type | What it does |
| - | - |
| **Fixed amount** | Takes a set amount off |
| **Percent** | Takes a percentage off |
| **Free shipping** | Removes shipping costs |
| **Free item** | Adds a product to the order for free |
| **Cheapest item free** | Takes the cheapest qualifying item already in the cart off the total |

### Codes and automatic discounts

A discount reaches the customer in one of two ways:

* **By code** - the customer enters the discount code at checkout
* **Automatically** - with **Apply automatically** on, the discount is applied as soon as a cart qualifies, with no code needed

> [!TIP]
>
> Automatic discounts are ideal for site-wide promotions and subscriber perks. Codes are better when you want to control who can use the offer.

### Subscriber benefits

A discount limited to a package's subscribers is listed as one of that package's **Benefits**, and the subscription welcome, gift and package change emails list it, with the code to use or a note that it applies on its own. Combine it with a [per-customer allowance](https://docs.marzipan.co/discounts/create.md#per-customer-allowance), such as two free items a year, for a perk that renews with the subscription.

## In this section

> [card] [Create](https://docs.marzipan.co/discounts/create.md)
>
> Set up a discount, with its type, conditions, per-customer allowance and dates


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.