BunStackDocs

Products

Pricing rules and discount codes

Automatic pricing rules per storefront and discount codes in the checkout.

Last updated · 1 min read · Suggest an edit

Pricing rules

Under Storefronts › Pricing rules you add rules that apply in one storefront: percentage or fixed amount, on the whole range, a category or selected products, with start and end dates. The rules are applied in the catalogue and in the checkout, which recalculates the price on the server before Kustom receives the order.

Discount codes

Discount codes creates codes the customer enters in the checkout:

SettingMeaning
TypePercentage or fixed amount
Amount per currencyFixed amounts can be given per currency, for example 100 SEK and 10 EUR
ScopeWhole order, category or product
ValidityStart, end, maximum number of uses
Minimum order valueThe code applies from that amount

The discount is allocated across the order lines before VAT is calculated, so the VAT breakdown is right even with a discount.

Loyalty redemptions create single-use codes automatically when that module is enabled.