Prestashop 1.7 come with lot of new features and major change from 1.6 version,this version based on symfony framework one of geat php frameworks. but it come with some bugs too
one of these bugs is The decimals feature does not work anymore even if the feature is on the Back Office.price formating not change even you change the number of decimals
thanks to an member of prestashop forum there is a solution for this, just follow steps to change the format:
Step 1:
open this file using ftp and notepad++ or sublime text
Translations>cldr>main-en-US-numbers
if you are using another language than english, you will find the file like this main-ISO-numbers
Step2:
Search for this string “currencyFormats-numberSystem-latn” using your text editor
Step3:
you need to edit this code “standard”:”\u00a4#,###0.000″
\u00a4 : mean the currency
#,### : the format
0.000: mean type 0 is integer
so to change the format to 4 decimals you need to put \u00a4#,####0.0000
to change to 2 decimals put \u00a4#,##0.00
Step4:
save file and refrech your page 😀
Step5:
Like and share this article or post your comment if you have a good solution
enjoy
trandinhhong
On February 7, 2018 at 3:27 am
Excelent! Thanks You!
Cynthia
On February 1, 2019 at 11:30 pm
Does not work with multiple currencies – I have ruble (no decimals) and Euro (2 decimals) – is there a way to fix this ?
HimanshuBisht
On April 22, 2019 at 4:50 pm
It Works like a charm. Thank you so much!