Skip to main content

Set up business rules

A business rule changes a quote or an order by itself. It sets the shipping costs, adds a fee for the way of paying, decides which carriers and payment methods a customer can pick or gives a promotion.

Business Rules on All, with the seven rules of the environment: one rule each for shipping costs, payment methods, carriers and transaction costs, plus three incentive rules. Each row shows the type, the channels and whether the rule is active

Before you begin​

You need Backoffice access and the Configuration role. To create or delete a rule you need Owner access, to change one Editor or Owner access.

Choose the type of rule​

All rules are under Shops & Channels > Business Rules. Click All or one type above the list.

TypeWhat it decidesRead more
Shipping costsWhat the customer pays for shippingCharge shipping costs
Transaction costsA fee for the way the customer paysCharge a fee for a way of paying
Carrier rulesWhich carriers a customer can pickDecide which carriers a customer can pick
Payment method rulesWhich payment methods a customer can pickDecide which payment methods a customer can pick
IncentivesPromotions: discounts and free productsSet up promotions with incentives

The list shows for each rule whether it is Active and when it is valid, under Valid from and Valid until.

Find an example of what you want​

Shipping and payment:

Promotions:

Understand how a rule works​

A rule is a list of subrules. Every subrule has an IF part with conditions and a THEN part with one action. The switch first / all decides how the list is read. With first, only the first subrule that is true counts. With all, every subrule that is true counts.

Above the subrules, Rule settings hold what goes for the whole rule: its channels, the period in which it counts and Active. See Build a business rule.

Know what happens when several rules are true​

You can have more than one rule of a type. When several of them are true for the same order:

TypeWhat counts
Shipping costs and transaction costsThe rule created last sets the price
Carrier rules and payment method rulesThe carriers and payment methods of all rules are offered together. One that two rules offer shows twice
IncentivesEvery rule counts. Percentages off the order total add up. When two rules discount the same order line, the rule created last wins

Changing a rule does not change when it was created. For shipping costs and transaction costs, keep one rule and put the alternatives in its subrules.