etsmes Posted March 2, 2021 Share Posted March 2, 2021 Hello, My Prestashop 1.7.7 store always shows the decimals to zero. But in the database they are correctly informed (with variable numbers, many times different from zero). Kind regards, Josep Link to comment Share on other sites More sharing options...
musicmaster Posted March 3, 2021 Share Posted March 3, 2021 Check the settings of the currency (euro here). It should have two decimals defined. Link to comment Share on other sites More sharing options...
etsmes Posted March 3, 2021 Author Share Posted March 3, 2021 Thanks for the reply. I have 2 decimal places set, but it does not work. I have temporarily fixed it by editing the source code: /web/src/Core/Localization/Locale.php function formatPrice return number_format($number, 2, ',', '.').' €'; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now