Jump to content

Expanding the currency size


Guest bigfoot6155

Recommended Posts

Guest bigfoot6155

Is there a way to edit the code on the currency page so that it will accept a 7 digit exchange rate. I noticed it goes from 1 to 999,999 but Turkish Lirasi is 1.35 million to the U.S. Dollar

Link to comment
Share on other sites

Guest vrakas

Hi there,

suggestion i have just tryed and it works.

Under admin in the currency where the Decimal Places are put a number 6 and this at least will give you million sign.

Price: 99.000000 this was added a 99 to the price and this is the result.

Let me know if this works for you. :w00t:

Link to comment
Share on other sites

Ok, in PHPMyAdmin, you'll need to execute this SQL query:

ALTER TABLE `CubeCart_currencies` CHANGE `value` `value` DECIMAL( 13, 5 ) NOT NULL DEFAULT '0.00000'

The problem is the limit of the database definition so we just have to change the default. No biggie.

Link to comment
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...