Skip to main content

Discount Types Reference

This page provides a complete reference for all discount types, triggers, conditions, and filters available in SlotBase. Use it as a quick lookup when creating or managing discounts at your facility.


Discount Types

The discount type determines how the price reduction is calculated.

TypeBehaviorValue FieldExample
PERCENTAGEReduces the price by a percentage of the original amountPercentage (0 -- 100)Value = 20 means 20% off
FIXED_AMOUNTSubtracts a fixed dollar amount from the original priceDollar amountValue = 10 means $10 off
PRICE_OVERRIDEReplaces the original price entirely with the specified valueNew priceValue = 35 means the price becomes $35
info

PRICE_OVERRIDE ignores the original price entirely. Use it when you want to set a specific price regardless of the base rate.


Discount Triggers

The trigger determines how the discount gets applied to a transaction.

TriggerWho AppliesPlayer Action RequiredBest For
AUTOMATICSystem applies when conditions matchNoneOngoing promotions, membership perks
CODEPlayer enters a promo code at checkoutEnter the codeMarketing campaigns, referral programs
MANUALFacility admin applies from the dashboardNone (admin action)One-off adjustments, special cases

Discount Conditions

Conditions are optional rules that control when a discount is valid.

ConditionTypeDescription
validFromDateEarliest date the discount can be used
validUntilDateLatest date the discount can be used
isActiveBooleanMaster toggle to enable or disable the discount
stackableBooleanWhether this discount can combine with others on the same transaction
maxTotalUsesNumberMaximum total redemptions across all players (null = unlimited)
maxUsesPerUserNumberMaximum redemptions per individual player (null = unlimited)
newCustomersOnlyBooleanIf true, only first-time players at the facility can use this discount
minAmountCurrencyMinimum transaction amount required for the discount to apply

Discount Filters

Filters restrict which activities the discount applies to.

FilterTypeDescription
lessonTypesArrayList of lesson types the discount applies to (e.g., Private, Group)
sportTypesArrayList of sports the discount applies to (e.g., Tennis, Basketball)
tip

If no filters are set, the discount applies to all activities at your facility. Add filters only when you want to limit the discount to specific lesson or sport types.


Discount Redemption Tracking

Every time a discount is used, a DiscountRedemption record is created with:

FieldDescription
DiscountWhich discount was applied
PlayerWho received the discount
TransactionThe booking, registration, or payment it was applied to
Amount SavedThe dollar value of the savings
DateWhen the redemption occurred

Sibling Discount Settings

Sibling discounts are configured separately from standard discounts at the facility level:

SettingTypeDescription
siblingDiscountEnabledBooleanEnables or disables sibling discounts
siblingDiscount2ndPercentageDiscount for the 2nd child enrolled
siblingDiscount3rdPercentageDiscount for the 3rd child enrolled
siblingDiscount4thPercentageDiscount for the 4th child (and beyond) enrolled

Quick Decision Guide

Not sure which discount type to use? This table can help:

ScenarioRecommended TypeRecommended Trigger
"20% off for new members"PERCENTAGEAUTOMATIC
"Use code SAVE10 for $10 off"FIXED_AMOUNTCODE
"Special rate of $25 for this player"PRICE_OVERRIDEMANUAL
"15% off group tennis lessons"PERCENTAGE (with sport + lesson filter)AUTOMATIC
"First 100 bookings get 10% off"PERCENTAGE (maxTotalUses = 100)AUTOMATIC
"Welcome offer: $5 off first booking"FIXED_AMOUNT (newCustomersOnly + maxUsesPerUser = 1)AUTOMATIC