Adding Rounding Rules
1 min read
There are two of adding a rounding rule:
- through Admin
- by API REST
Follow the steps below to add a rounding rule to your store:
- In the VTEX Admin, go to Product > Price Rouding Rules, or type Price Rouding Rules in the search bar at the top of the page.
- Click on the New Rule button.
- In the first step, What is the price range to which this rule will apply?, set a From - Up To price range to which the psychological pricing applies.
- In the second step, How many digits will be rounded?, select the number of digits to apply psychological pricing to from the dropdown menu.
- In the third step, Which rounding method will be applied?, select the desired method.
- Click on Test your prices and insert a price to check whether the newly created rule works as intended.
- Lastly, click on Save.