---
title: Auto-apply discounts
slug: auto-apply-discounts
description: Learn how to easily set up automatic discounts for patrons based on their email domain or pass holder status with this comprehensive document. Discover how the system recognizes email domains and applies discounts accordingly, as well as how pass holders 
docTags: 
createdAt: 2023-06-23T01:25:32.000Z
---

# Overview

Bulk discounts will automatically apply to a patron the minute their cart fulfills the requirements. Additionally, there are two ways that Code discounts can automatically apply for patrons without them ever having to enter a discount code.

:::hint{type="info"}
When a discount is auto-applied, the actual code will be hidden to prevent unwanted sharing.
:::

## Auto-Apply based on Email Domain

An email domain is the section that comes after the "@" in an email. For example, in support\@ludus.com, the domain is ludus.com.

Before a patron reviews their cart, they will have to enter their name and email. When they do this, the system can recognize their email domain and automatically apply a discount if it matches the one you set the discount code to work with.

:::hint{type="info"}
Any email with this domain will have the discount applied. Limits you set otherwise will still apply.&#x20;
:::

### To set this up:

::::WorkflowBlock
:::WorkflowBlockItem
Create a discount code for an event, collection, or class as you normally would.&#x20;

*Suggested Article*: [Create a discount](docId\:zQL61l-tdyD1XhmHqbPIz)
:::

:::WorkflowBlockItem
Scroll to the section titled **Auto-Apply** and check the box for **Auto-Apply based on Email Domain**.

![](https://api.archbee.com/api/optimize/hZcZIA5As4EsukOh0OMVE/LY27HHbWN5zmjY9eJtALI_screen-shot-2023-09-01-at-100635-pm.png)
:::

:::WorkflowBlockItem
Type in the email domain that should automatically unlock the discount. To enter multiple domains, separate each with a comma.
:::

:::WorkflowBlockItem
Click **+Add discount** to save.
:::
::::

## Auto-Apply based on Pass Holder

One of the great features of it is that you can automatically unlock discounts and special ticket prices once they log in with their passholder code. This avoids the need for them to juggle multiple codes and creates a smooth process for both you and your patrons.

To set this up:

::::WorkflowBlock
:::WorkflowBlockItem
Create a discount code for an event, collection, or class as you normally would.&#x20;

*Suggested Article*: [Create a discount](docId\:zQL61l-tdyD1XhmHqbPIz)
:::

:::WorkflowBlockItem
Scroll to the section titled **Auto-Apply** and check the box for **Auto-Apply based on Pass Holder**.
:::

:::WorkflowBlockItem
From the list of active passes, check the box for each pass that should automatically unlock this discount.

![](https://api.archbee.com/api/optimize/hZcZIA5As4EsukOh0OMVE/bPWpb4dYU8F6RL8j5WaKX_screen-shot-2023-09-01-at-101826-pm.png)
:::

:::WorkflowBlockItem
Click **+Add discount** to save.
:::
::::

