Jump to content

Configurable option - Rounding


pilotpanda

Recommended Posts

Hi, 

 

I have a question regarding "Configurable Option" on WHMCS.

 

It is possible to allow client just chose multipy by 1000 MB, So example the default is 1000000 so the client only allow to fill 1001000 or 1002000 above , But client cannot do below 1000 MB so if client fill 1000500 that will show the notification or  rounding to 1000MB?

 

It that's possible to do that?

 

Thank You.

configurable option.png

Link to comment
Share on other sites

On 10/03/2021 at 04:19, pilotpanda said:

It that's possible to do that?

if you give the configurable option a minimum and maximum value (in its settings), then it should turn into a slider.

https://docs.whmcs.com/Addons_and_Configurable_Options#Slider

OrderFormConfigOptionsSliderNew1.png

and then you can determine the increments of the slider by altering the template code...

it's a six-year old thread, but that's still a working solution in v8 (though code might need tweaking).

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