Jump to content

Adding price over 100 million, it will revert to 99999999.99


dwi2015

Recommended Posts

I suspect the only way you could do this would be to modify the database table structure of tblpricing - it's length is currently set at 10, which is why you can't have numbers greater than 99999999.99

 

what you would need to do is alter those table settings to 11, 12 or more (depending on your maximum price).

 

I posted a similar response in the thread below - though that was about increasing decimal places, yours is increasing the decimal length - so you don't want to alter the 2 decimal places, you want to alter the 10 in the decimals of the setupfees and billing cycles.

 

http://forum.whmcs.com/showthread.php?90090-More-demicals-in-configurable-options&p=379431#post379431

 

two very important things to remember.

 

1. backup the database before doing this. :)

2. understand the comment in that thread from WHMCS support - if you have a test WHMCS setup, try this on that first! :idea:

 

Shouldn't be any adverse effects from this work around but, as always, this has not been fully tested and cannot be supported by WHMCS. So be sure to test the changes before you apply them to a production install of WHMCS.
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated