> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/bookster/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/bookster/addons/discounts.md).

# Discounts

**Discounts, Coupons and Fees** lets you create coupon codes that customers enter at checkout, with limits on when, where and by whom each code can be used.

{% hint style="info" %}
The **Discounts, Coupons and Fees** addon is free. Install it from **Addons** in Bookster, or get it from [WordPress.org](https://wordpress.org/plugins/bookster-discounts-fees/).
{% endhint %}

## Your discounts

Go to **Settings › Discounts**. The list shows each discount's name, coupon code, services, agents, dates, value and status.

<figure><img src="https://3654694329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOokiT38oKvyMtYds88Kp%2Fuploads%2Fgit-blob-2ede573024a1b5ab2d7990c97b74012628b12561%2Fdiscounts-list.webp?alt=media" alt="Discounts list with Active, Scheduled and Expired counts, date filter, search and three discounts"><figcaption><p>Two active discounts and one turned off.</p></figcaption></figure>

* Click **Active**, **Scheduled** or **Expired** to show only those discounts.
* Pick a **Start date** and **End date** to show discounts valid in that range.
* Use **Search** to find a discount by name.
* Tick discounts, then click **Active** or **Disable** to change them together, or **Delete Data** to delete them.

## Create a discount

1. Click **New Discount**.
2. On the **General** tab, fill in:

   * **Discount Name**: for your list only.
   * **Coupon Code**: what customers type, 3 to 20 characters. Click **Random** for a generated one.
   * **Value**: a percentage (**%**) or a fixed amount (**$**).
   * **Total Coupons Code**: how many times the code can be used in all.
   * **Usage Limit Per Customer**: how many times one customer can use it.
   * **Range Date**: the first and last day the code works.
   * **Start Time** and **End Time**: the hours of the day it works, if you want a limit.
   * **Repeat Weekdays**: the weekdays it works, if you want a limit.

   <figure><img src="https://3654694329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOokiT38oKvyMtYds88Kp%2Fuploads%2Fgit-blob-d15fb9b6e5319a0c10ca03ce9dc83f7dd443f606%2Fdiscount-general.webp?alt=media" alt="Add New Discount, General tab with name, coupon code, value, limits, dates, times and weekdays"><figcaption><p>The General tab.</p></figcaption></figure>
3. On the **Usage Restrictions** tab, choose where the code works: **Service**, **Location**, **Agent** and **Customer**. Each starts at all.
4. Leave **Active** on so customers can use the code. Turn on **Multiple Coupon** to let customers add another code with this one.

   <figure><img src="https://3654694329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOokiT38oKvyMtYds88Kp%2Fuploads%2Fgit-blob-2738bc38d319c7c46339e1394594a9c5d661a0de%2Fdiscount-restrictions.webp?alt=media" alt="Usage Restrictions tab with Service, Location, Agent and Customer, and the Active and Multiple Coupon switches"><figcaption><p>The Usage Restrictions tab.</p></figcaption></figure>
5. Click **Save**.

## Show coupons in the booking form

By default, customers type the code themselves. To list your active coupons in the booking form instead:

1. Click the settings icon next to **Search**.
2. Turn on **Show active coupons in booking form**.
3. Click **Save**.

<figure><img src="https://3654694329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOokiT38oKvyMtYds88Kp%2Fuploads%2Fgit-blob-7627f12c209c231df45918fb821734fb6e4193ce%2Fdiscount-advanced-settings.webp?alt=media" alt="Advanced Settings with the Show active coupons in booking form switch"><figcaption><p>Advanced Settings for discounts.</p></figcaption></figure>

## What the customer sees

At checkout, the customer clicks **Add coupon**, enters the code and clicks **Apply**, or picks a code from the list if you show active coupons. The discount shows in the price summary before they pay.
