What discount codes do
A discount code lowers the price a customer pays in your shop (checkout) or on your booking page. Customers type the code in the Discount code field and see the new total before they confirm.
The menu item Discount codes appears once the shop or bookings are enabled for the project.
Creating a code
- Open Discount codes in the left menu.
- Click New code.
- Type a code (for example
SUMMER20) or click Generate for a random one. Codes use letters, digits,-and_; customers can type them in any case. - Choose the type:
- Percentage — 1 to 100 % off.
- Fixed amount — a fixed amount off in one currency. The code only works where prices are in that currency.
- Choose where it applies: Shop and bookings, Shop only or Bookings only.
- Optionally set limits (see below) and click Save.
Limits and dates
| Setting | Effect |
|---|---|
| Minimum spend | The code only works when the cart total (or service price) reaches this. |
| Total usage limit | The code stops working after this many orders and bookings. |
| Limit per customer | How many times the same email address can use the code. |
| Starts / Expires | The code only works between these times. |
| Active | Turn a code off at any time without deleting it. |
A fixed amount never makes a total negative: if the discount is larger than the amount, the customer pays 0.
How the discount is applied
- The discount is always calculated on the server when the order or booking is created. If the code expired or ran out in the meantime, the customer sees a message and can remove the code or try another.
- The order shows Subtotal, Discount (code) and Total. The customer sees the same lines on the confirmation page, in the confirmation email and on the order status page.
- For bookings, the stored price is the price after the discount; the booking detail shows how much the code took off.
- Invoices list the full price and the discount on each line, so the invoice total matches what the customer paid.
- Exports of orders and bookings include Discount and Discount code columns.
Recurring bookings
Codes apply to single bookings only. A service that books a series of sessions does not show the code field.
Editing and deleting
- You can change limits, dates and the value at any time; new orders use the new values.
- Once a code has been used, its code text cannot be changed and it cannot be deleted. Turn it off with Active instead, so past orders keep their history.
- The Uses column shows how many orders and bookings used each code.
