Changing the price format (decimal places) in prestashop 1.7.x.
| 154 | Prestashop category
Changing the price display (decimal places) in prestashop 1.7.x. simply from the admin panel will not work, since the interface for changing the price format is not fully developed. In this article, you will learn how you can change the price format.
For example, take prestashop 220.127.116.11. Let’s go internationalization – Localization – Currencies and choose a currency. The settings are as follows:
As you can see, there is no question of changing the number of decimal places here. To change the format, go to phpMyAdmin and change the precision field of the ps_currency table:
By default, there are 2 characters, and if you need to remove the decimal places, we put 0. The result is as follows:
Tested on prestashop 18.104.22.168 and 22.214.171.124. Starting with prestashop version 126.96.36.199, the developers have made changes to the interface: