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

# Managing Discounts

> Create and manage discount codes and promotional offers.

Discounts are a powerful way to attract customers, boost sales, and reward loyalty. Shopper provides flexible discount options for your marketing campaigns.

## Overview

The Discounts section allows you to:

* Create discount codes
* Set up automatic discounts
* Define discount rules and conditions
* Track discount usage
* Schedule promotional periods

## Accessing Discounts

Click on **Discounts** in the sidebar to access discount management.

### Empty State

If you haven't created any discounts yet:

<Frame>
  <img src="https://mintcdn.com/shopperlabs-ee054f5e/khtWzNt9B9rQhNq5/images/v2/discounts-empty-state.png?fit=max&auto=format&n=khtWzNt9B9rQhNq5&q=85&s=fbc40a8e039948c2748cc2cd9dd0638e" alt="Discounts Empty State" width="3444" height="2000" data-path="images/v2/discounts-empty-state.png" />
</Frame>

## Creating a Discount

To create a new discount:

1. Click the **Create** button
2. Configure the discount settings
3. Set conditions and limits
4. Click **Save**

<Frame>
  <img src="https://mintcdn.com/shopperlabs-ee054f5e/khtWzNt9B9rQhNq5/images/v2/discount-create.png?fit=max&auto=format&n=khtWzNt9B9rQhNq5&q=85&s=57f7f41ada54f383f106dc097f12286e" alt="Create Discount" width="3438" height="1994" data-path="images/v2/discount-create.png" />
</Frame>

### Discount Types

| Type              | Description              | Example       |
| ----------------- | ------------------------ | ------------- |
| **Percentage**    | Discount as a percentage | 20% off       |
| **Fixed amount**  | Specific amount off      | \$10 off      |
| **Free shipping** | Removes shipping cost    | Free delivery |

### Discount Configuration

| Field          | Description                                     |
| -------------- | ----------------------------------------------- |
| **Code**       | The code customers enter (e.g., SUMMER20)       |
| **Type**       | Percentage, fixed amount, or free shipping      |
| **Value**      | The discount amount or percentage               |
| **Applies to** | Entire order, specific products, or collections |

## Discount Conditions

Set rules for when the discount can be used:

### Minimum Requirements

| Condition            | Example                         |
| -------------------- | ------------------------------- |
| **Minimum purchase** | Order must be at least \$50     |
| **Minimum quantity** | Cart must have at least 3 items |

### Customer Eligibility

| Option                 | Description                 |
| ---------------------- | --------------------------- |
| **All customers**      | Anyone can use the discount |
| **Specific customers** | Only selected customers     |
| **Customer groups**    | Based on customer segments  |

### Product Restrictions

| Option                   | Description                     |
| ------------------------ | ------------------------------- |
| **All products**         | Applies to everything           |
| **Specific products**    | Only selected products          |
| **Specific collections** | Products in certain collections |
| **Specific brands**      | Products from certain brands    |

## Usage Limits

Control how the discount can be used:

| Limit                 | Description                            |
| --------------------- | -------------------------------------- |
| **Total uses**        | Maximum times the discount can be used |
| **Uses per customer** | Limit per individual customer          |
| **One per order**     | Can't combine with other discounts     |

## Scheduling Discounts

Set active periods for your discounts:

* **Start date** - When the discount becomes active
* **End date** - When the discount expires
* **No end date** - Discount runs indefinitely

## Discount Strategies

<CardGroup cols={2}>
  <Card title="Welcome Discount" icon="hand-wave">
    Offer first-time customers a discount on their initial purchase.
  </Card>

  <Card title="Seasonal Sales" icon="calendar">
    Create time-limited discounts for holidays and seasons.
  </Card>

  <Card title="Cart Recovery" icon="cart-shopping">
    Send abandoned cart emails with exclusive discount codes.
  </Card>

  <Card title="Loyalty Rewards" icon="star">
    Reward repeat customers with special discounts.
  </Card>
</CardGroup>

## Best Practices

<Tip>
  Use unique, memorable discount codes that are easy to type. Avoid confusing characters like 0/O or 1/l/I.
</Tip>

* **Clear naming** - Make codes descriptive (SUMMER2024, FREESHIP)
* **Set limits** - Protect margins with usage limits
* **Track performance** - Monitor which discounts drive sales
* **Create urgency** - Use end dates to encourage quick action
* **Test first** - Always test discounts before promoting them

## Common Discount Examples

| Campaign      | Code      | Type          | Value                  |
| ------------- | --------- | ------------- | ---------------------- |
| Welcome offer | WELCOME10 | Percentage    | 10% off first order    |
| Free shipping | FREESHIP  | Free shipping | Orders over \$50       |
| Flash sale    | FLASH25   | Percentage    | 25% off, 24 hours only |
| Holiday       | HOLIDAY15 | Percentage    | 15% off storewide      |

For developer details, see the [Discounts documentation](/v2/discounts).
