Pricing Rules

Configure pricing rules for customers, groups, and channels.

Pricing Rules define how product prices are calculated for different customers, customer groups, and sales channels. They allow you to set discounts, markups, and special pricing structures without changing base product prices.

Pricing

Overview

A pricing rule is a reusable configuration that determines how the selling price is derived from the base price. Rules can be applied to:

  • Individual customers — Custom pricing for specific accounts
  • Customer groups — Shared pricing across a segment
  • Sales channels — Channel-specific pricing

How pricing rules work

Each rule defines a calculation method applied to the base product price. Common approaches include:

  • Percentage discount — Reduce the base price by a percentage (e.g., 20% off)
  • Percentage markup — Increase the cost price by a margin (e.g., 40% markup)
  • Fixed amount — Adjust by a specific monetary amount

Creating a pricing rule

Navigate to Pricing Rules

Go to Commerce → Pricing Rules in the sidebar.

Create a new rule

Click the create button to define a new pricing rule.

Configure the rule

Set the rule name, calculation type, and value. Give it a clear name that describes its purpose (e.g., "Wholesale 30% Off" or "Trade Margin 40%").

Apply the rule

Assign the rule to customers, customer groups, or channels from their respective settings pages.

Pricing precedence

When multiple pricing rules could apply (e.g., a customer has a personal rule AND belongs to a group with a rule), the system uses a precedence order:

  1. SKU-specific pricing — Exact prices set per product per customer (highest priority)
  2. Customer pricing rule — Rule assigned directly to the customer
  3. Customer group pricing rule — Rule from the customer's group
  4. Channel pricing rule — Rule from the sales channel
  5. Base price — The default product price (lowest priority)

Overrides win

More specific pricing always takes precedence. A direct customer rule overrides their group rule, and SKU-level pricing overrides everything.