The rounding policy framework lets you control how prices are calculated and displayed across carts, price lists, and promotions. You can round prices to the nearest whole number or a specific decimal value, such as 0.50 or 0.99.
This is useful when you want consistent price formatting—for example, rounding all prices to whole numbers—or need to follow specific pricing rules based on your region or business requirements.
This guide explains the key features of the framework and how to use them.
Adding a rounding rule
To add a new rounding or “nice price” rule:
- Go to Configuration > Settings > Advanced > Rounding settings.
- Choose whether to add a rule under Rounding or Nice price.
- Click Add.
- Enter the details for your rule:
- Lowest price: The minimum price where this rule applies.
- Highest price: The maximum price where this rule applies.
- Rounding method:
- Round to nearest: Rounds the price up or down to the nearest specified value (e.g., 5, 10, 100). Example: if set to 10, 97 becomes 100 and 93 becomes 90.
- Nice rounding: Rounds the price up to the nearest increment (e.g., 100), then subtracts an offset (e.g., 1) to reach a “nice price” like 199 or 299.
- Round to nearest (optional): Specify the nearest step (e.g., 5 or 10). Only used with Round to nearest.
- Checkout step (optional): Defines the rounding step for Nice price (e.g., 100 to round to the nearest hundred).
- Offset (optional): Defines how much to subtract after rounding. For example, with step 100 and offset 1, 200 becomes 199.
- Publish changes
You can add multiple rules to cover different price ranges (for example: 1–100, 100–1000, 1000–10000).
Apply rule
The rounding rules can be applied to price lists and promotions.
Pricelist
Promotion