Skip to content

Discounts

Menu: Commerce -> Discounts
Deep link: /_Admin/commerce/discounts?SiteId={siteGuid}
Create: /_Admin/commerce/discounts/create?SiteId=...
Edit: /_Admin/commerce/discounts/edit?SiteId=...&id={discountId}

Configure site discount rules: can apply automatically when conditions are met, or via discount codes entered by customers/admin in carts. Cart and checkout trial calculation uses the server discount engine; script API: k.commerce.discount.

How to Open

  1. In the Edit menu, enable Commerce -> Discounts (and the parent Commerce group).
  2. Open Commerce -> Discounts in the left sidebar.

List Page

Path: /_Admin/commerce/discounts?SiteId=...

Column / ActionDescription
TitleRule name (title)
Discount codeWhen method is discount code, shows code as tag; empty for automatic discounts
ConditionsMultiple condition summaries joined by AND / OR
PriorityNumber priority; sort order when multiple rules match
ExclusiveYes means exclusive with other discounts (isExclusion)
Active periodStart ~ end; not started / active / expired shown in color
UsageDiscount code usage count; if capped, shows used/limit
DetailsTags: Product / Order / Free shipping, plus -amount or -percentage
CreateOpens Create and edit
Discounted ordersRow search icon opens Discounted orders dialog
EditRow pencil opens edit page
Batch deleteSelect rows → Delete → confirm
Discounts list: codes, conditions, priority and usage

Discounted Orders Dialog

Click Discounted orders (advanced search icon) on a list row to open a paginated dialog of orders that applied this rule:

ColumnDescription
Order IDOrder Id
Total amountOriginal/current price (CurrencyAmount)
Order statusStatus component
CustomerEmail, phone
CreatedOrder time
Discounted orders dialog: order list and pagination

Create and Edit

Path: /_Admin/commerce/discounts/create?SiteId=... or .../edit?SiteId=...&id=...

Breadcrumb: Discounts -> Create / Edit. Form has three card sections.

Discount edit: title, method, type, conditions

Basic Information

FieldDescription
TitleRule name for list and admin identification
Active periodStart and end date/time; rule inactive outside range
PriorityInteger; sort when multiple rules match
MethodAutomatic discount: applies when conditions met; Discount code: requires code entry (below)
Discount codeShown only for discount code method: code text (create page can auto-generate 6 uppercase chars), optional usage limit and cap
ExclusiveWhen enabled, exclusive with other discounts (isExclusion)

Discount codes below the cart product table can only use saved rules with discount code method here.

Discount Type and Amount

TypeDescription
Product amount off (ProductAmountOff)Reduces qualifying order lines; condition schema is "order product" dimension
Order amount off (OrderAmountOff)Reduces entire order; condition schema is "order" dimension
Free shipping (FreeShipping)Waives shipping; no amount/percentage

When not free shipping, choose fixed amount or percentage and enter value (suffix is site currencyCode or %).

Changing type clears existing conditions and reloads the corresponding condition field list.

Applicable Conditions

Uses the shared Condition component:

ItemDescription
MatchAll conditions (AND) or Any condition (OR)
Condition rowsField (dropdown, varies by type) + comparison + value; Add / Delete rows

For example: minimum order amount, specific products/categories, customer tags, etc. (available fields from server getOrderLineSchemas / getOrderSchemas).