Zacho Posted December 21, 2020 Share Posted December 21, 2020 Hello WHMCS Community, I've tried searching for many hours to solve my problem and now I'm asking for your help. For the following case I want clients to pick how much memory their server has, I want it to be shown in GB on my WHMCS site but the output value HAS to be in MB for the module I'm using towards my dedicated server. Under the configurable options I'm using the option type "Quantity", I would love for it to be a range slider so I'm inputting a quantity required for max and min. When I put in the quantity it has to be 1024 for the client to select 1024MB or 1GB and that works, but on the WHMCS site it also shows it in MB where I want it to be displayed as GB. The side issue is because the output value has to be in MB the pricing of the chosen memory is also wrong. Is it possible to use quantity required at Min: 3 and Max: 8 and somehow change the output value to be let's say 4096 if the client where to select 4GB memory? Here is what I would love for it to look like but the memory value is wrong Here is what it would look like when the memory value is right in quantity required but the slider shows it in MB and the pricing is way off. I hope a kind person has the time to help me find a fix on the issue. I've tried reading the following community post but I just can't seem to find the fix. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 27, 2020 Share Posted December 27, 2020 On 21/12/2020 at 08:20, Zacho said: I hope a kind person has the time to help me find a fix on the issue. I think the simplest solution in this situation would be to just use a dropdown and not a slider... your problem is that with a slider, and because of what your module expects, they would need to be priced per 1MB, but that's probably going to need 5 decimal places (which is not an out of the box option). 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.