How to fix too many decimals on products prices and cart in Prestashop

by Giannis Boulmetis
45 views

Sometimes and on some currencies there is an issue with rounding up the prices correctly.
When you want your price to be 90,25 it ends up being 90,25000001 and there isn’t an option to change that from the admin area.

The easiest way to fix the decimals issue is:

  1. You have to open up your database either via your control panel (plesk, cpanel, etc) or with a desktop app.
  2. Then find the table named “ps_currency”.
  3. On your active currency where you see the issue appear you can change the percision to a 2. That way it will round up the price to two decimal points and not 9 for example.

 

Related Articles

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy