Price Rounding Rules in the Trade Catalog: Overview of Methods
The price rounding rule is a set of settings that define how to modify the price of a product or service in the cart. They help automatically round prices, for example, to the nearest whole number or to a specific decimal place.
There are three types of price rounding:
- mathematical rounding
- rounding up: the price increases, which benefits the store
- rounding down: the price decreases, which benefits the customer
Quick navigation: all methods and events
Connection of Price Rounding Rules with Other Objects
Price Types. To create different types of prices: wholesale, retail, and partner, use the methods of the group catalog.priceType.* . For each price type, you can set your own rounding rules. This will allow you to control how prices will be displayed and applied.
Overview of Methods and Events
Scope:
catalogWho can execute the method: administrator
|
Method |
Description |
|
Adds a price rounding rule |
|
|
Modifies a price rounding rule |
|
|
Returns information about a price rounding rule by its identifier |
|
|
Returns a list of price rounding rules |
|
|
Deletes a price rounding rule |
|
|
Returns the fields of a price rounding rule |
|
Event |
Triggered |
|
When a price rounding rule is added |
|
|
When a price rounding rule is updated |
|
|
When a price rounding rule is deleted |