Jump to content

3 Decimal Currencies


Recommended Posts

Hello,

 

I've just installed PrestaShop and I came along this limitation (based on my country). In Kuwait the Kuwaiti Dinar uses 3 decimal places in the price instead of two. There is no place to customize this in PrestaShop when you add a new currency.. Any idea?

 

Thanks..

Ahmad

Link to comment
Share on other sites

Wow, that is what I call a curreny. 1000th of a unit, no wonder you have 1/4 dinar banknotes.

 

Sadly there is not an easy way to do what you are asking. There are a lot of places that needs to be touched to make the 3 decimal places work.

 

Depending on what you are selling, you could list your prices in fils instead of dinars. That is the only shortcut solution I can think of.

Link to comment
Share on other sites

  • 3 months later...

Hi Ahamd,

 

I think there is one to achieve this by changing number format para meter  hard coded i.e

 

/* 0,000.000 X */

            case 5:    

                $ret = number_format($price, 3, '.', ',').$blank.$c_char;

                break;

 

Just use copy paste this code to your file i.e  root/Class/Tools.php  on Line number 438 after the case 4.

 

You can get the currency in 3  decimal format.

 

like i did it on my website  : http://www.ringcart.com

 

I hope this can help you.

 

Thanks,

Vijay

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...