Changing the price format (decimal places) in prestashop 1.7.x.

Changing the price format (decimal places) in prestashop 1.7.x.
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 Let’s go internationalization – Localization – Currencies and choose a currency. The settings are as follows:

Settings Internationalization - Localization - Prestashop Currencies 1.7.x.

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:

Change the precision field of the table ps_currency prestashop 1.7.x.

By default, there are 2 characters, and if you need to remove the decimal places, we put 0. The result is as follows:

The result of changing the prestashop price format is 1.7.x.

Tested on prestashop and Starting with prestashop version, the developers have made changes to the interface:

Change prestashop price format 1.7.7.x

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Leave a comment

Your email address will not be published.