Changing the price format (decimal places) in prestashop 1.7.x.
For example, take prestashop 126.96.36.199. 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 188.8.131.52 and 184.108.40.206. Starting with prestashop version 220.127.116.11, the developers have made changes to the interface: