Discounts
Create discount codes with percentage, fixed amount or Buy X Get Y offers, and set minimums, dates and usage limits.
Updated November 9, 2026
Who can use this: Roles with the manage permission for discounts. The view permission lets a role see codes without changing them.
Create a code that customers enter at checkout. A code can take a percentage or an amount off the order, or give a Buy X Get Y deal.
Create a discount code
Open Commerce, then Discounts.
Click Create discount.
Enter a Code, for example
SUMMER20. Codes are saved in capitals, and customers can type them in any case. You cannot change a code after you create it.Choose a Type and enter its value.
Set the conditions and limits you need, then save.
Choose a type
Percentage (%): takes a percentage off the items the code applies to. Use a whole number from 0 to 100. A value like 12.5 is refused. Max discount cap sets the most a percentage code can take off.
Fixed amount: takes a set amount off. The discount is never larger than the value of the items it applies to.
Buy X Get Y: set Buy quantity (X), Get quantity (Y) and Discount on Y, which is Free, Percentage off or Fixed amount off. The cheapest items in each group get the discount.
Set conditions and limits
Min order amount: the subtotal the order must reach before the code works.
Applies to: All products or Specific products.
Total usage limit: how many times the code can be used across all customers. Leave it empty for unlimited use.
Per customer limit: how many times one email address can use the code. Leave it empty for unlimited use.
Start date and End date: the code only works between these dates. Leave them empty for no limit.
Status: Active or Disabled. A disabled code stops working at once.
The Used column counts a use when an order is placed.
Limits and good to know
An order holds one code at a time.
Specific products limits every code type to those products. Other items in the order get no discount.
Max discount cap has no effect on fixed amount or Buy X Get Y codes.
Deleting a code disables it. It stays in the list with status Disabled, so its usage history is kept.
Troubleshooting
"Invalid or inactive discount code": the code does not exist in this organization or is disabled.
"This discount code has expired" or "is not active yet": check Start date and End date.
"This discount code has reached its usage limit": raise Total usage limit or leave it empty.
"Minimum order of ... required": the subtotal is below Min order amount.
"You have already used this discount code the maximum number of times": the customer has reached Per customer limit.
Related
Questions about building on PraismaHub? We're happy to help.
Contact us
