Jump to content
m0ttan

Decimals problems on 1.7.6

Recommended Posts

Hy all. I have a strange issue:

On back office i have set number of decimals to 0 and no effect on front office or back office also (decimals are shown in FO with 2 decimals and in BO number of decimals for price without tax is 6! and with tax is 2). 

On root/translations/cldr/main--ro-RO--numbers i have "standard":"#,##0\u00a0\u00a4 (i use RO language).

I have tried to change into 1, 2, or any value for decimals in BO also on cldr but no result.

This problem appeared after updating from 1.7.5 to 1.7.6.

 

Cleared cached, etc..

 

Similar problems or just me?

Share this post


Link to post
Share on other sites

They changed (again) currency management so /translations/cldr/ are not used anymore. And it's supposed to manage currency format but in next versions.

Share this post


Link to post
Share on other sites

the same thing happened to me, 6 decimals appeared to me ...

go directly to the database .. and edit this table ps_currency in the precision column is where you will put the number of decimals you want to appear

 

also take a look at this new ps_currency_lang table where you can change the symbol, ... in my case it was $ to MXN

primero.jpg

base.jpg

  • Thanks 1

Share this post


Link to post
Share on other sites

Thank you very much! 

I had similar problem with my Turkish website. 

Also i had to clear the numeric_iso_code   because of my payment module it was bugging the bank's website. 

 

I mean I cleared the (0) number... And everything went normal... 

  • Thanks 1

Share this post


Link to post
Share on other sites
On 7/28/2019 at 8:25 PM, Gerardo Martinez G said:

the same thing happened to me, 6 decimals appeared to me ...

go directly to the database .. and edit this table ps_currency in the precision column is where you will put the number of decimals you want to appear

 

also take a look at this new ps_currency_lang table where you can change the symbol, ... in my case it was $ to MXN

primero.jpg

base.jpg

Thanks! this solved my problem!

Share this post


Link to post
Share on other sites

Thank you.

I had a problem with this on my site officeplushome.com on PS 1.7.6.2

It tooks 3 days to find this solution.

Thanks again

Share this post


Link to post
Share on other sites
On 7/31/2019 at 5:30 PM, Sebastiaan2019 said:

Thanks! this solved my problem!

Hello guys,

Are you on 1.7.6.x?

In my ps_currency table I dont have any "precision" field...

 

Share this post


Link to post
Share on other sites
On 9/11/2019 at 7:02 PM, Danikcorp said:

Thank you.

I had a problem with this on my site officeplushome.com on PS 1.7.6.2

It tooks 3 days to find this solution.

Thanks again

Hi Danikcorp,

I am also on 1.7.6.2... Did you find a solution for this issue? I dont have a precision column on ps_currency table... How did you manage it?

Share this post


Link to post
Share on other sites
Posted (edited)

Hi Diverest,

 I used solution from Gerardo Martinez to mu site officeplushome.com

 

Best regards

On 7/28/2019 at 8:25 PM, Gerardo Martinez G said:

the same thing happened to me, 6 decimals appeared to me ...

go directly to the database .. and edit this table ps_currency in the precision column is where you will put the number of decimals you want to appear

 

also take a look at this new ps_currency_lang table where you can change the symbol, ... in my case it was $ to MXN

spacer.pngspacer.png

primero.jpg

base.jpg

 

Edited by Danikcorp (see edit history)

Share this post


Link to post
Share on other sites

Hallo

Any solution?

@Amorino did you find a solution? I have the situation for Kuwait dinar

 

Share this post


Link to post
Share on other sites

Unfortunately still no solution for the issue.....

Just let me know if you find some

Share this post


Link to post
Share on other sites
hace 10 horas, diverest dijo:

Unfortunately still no solution for the issue.....

Just let me know if you find some

 

hace 10 horas, salem82 dijo:

Hallo

Any solution?

@Amorino did you find a solution? I have the situation for Kuwait dinar

 

put a screen where is your error, and version of prestashop

Share this post


Link to post
Share on other sites
4 hours ago, Gerardo Martinez G said:

put a screen where is your error, and version of prestashop

The Kuwaiti dinar  is sub-divided into 1,000 fils, so the price must displayed as follow: 1.540 this equal one dinar and 540 fils, in prestashop this showed as 1.54

We are working on the last version 1.7.6.4 and we tried to modify the xml files in 'root/localization/CLDR/core/common/main' with no effect.

 

Untitled.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More