TacticalVPS Posted May 31, 2020 Share Posted May 31, 2020 Hey guys I am still trying to get my head around whmcs templates and product set up What I am trying to do is have a slide bar for an option player slots on my cart as u can see in the picture it is enter a number is there away to turn it into a slide bar 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 31, 2020 Share Posted May 31, 2020 1 minute ago, TacticalVPS said: as u can see in the picture it is enter a number is there away to turn it into a slide bar https://docs.whmcs.com/Addons_and_Configurable_Options#Slider Quote The slider provides a graphical method for clients to specify a quantity. Like the Quantity option type, you must supply a minimum and maximum quantity and use it in conjunction with all order form templates (except Boxes). 0 Quote Link to comment Share on other sites More sharing options...
TacticalVPS Posted May 31, 2020 Author Share Posted May 31, 2020 7 minutes ago, brian! said: https://docs.whmcs.com/Addons_and_Configurable_Options#Slider Hey I have looked at that b4 but I cant seem to figure how to use it as in the product settings it dose not have the slider option 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 31, 2020 Share Posted May 31, 2020 Just now, TacticalVPS said: Hey I have looked at that b4 but I cant seem to figure how to use it as in the product settings it dose not have the slider option when choosing quantity, if you don't give it numeric min/max values, then it outputs as a numeric box (as your screenshot)... if you give it min/max values (and if the template supports it), it will be shown as a slider... so if you limit the config option to say 32 slots max, it should turn into a slider from 0/1 to 32. 0 Quote Link to comment Share on other sites More sharing options...
TacticalVPS Posted May 31, 2020 Author Share Posted May 31, 2020 6 minutes ago, brian! said: when choosing quantity, if you don't give it numeric min/max values, then it outputs as a numeric box (as your screenshot)... if you give it min/max values (and if the template supports it), it will be shown as a slider... so if you limit the config option to say 32 slots max, it should turn into a slider from 0/1 to 32. Hey I thought I allreay set the min and max but only did the min Thank you sooo much for the help and sorry about my stupidity 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 31, 2020 Share Posted May 31, 2020 lol no worries - btw, is there a typo in the email address in your site header (double s) ? 0 Quote Link to comment Share on other sites More sharing options...
TacticalVPS Posted May 31, 2020 Author Share Posted May 31, 2020 (edited) Haha yep cheers Edited May 31, 2020 by TacticalVPS 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 31, 2020 Share Posted May 31, 2020 3 minutes ago, TacticalVPS said: Haha yep but it cost 2 much to change so we are stuck with it it's justd an edit of header.tpl to fix the typo. 0 Quote Link to comment Share on other sites More sharing options...
TacticalVPS Posted May 31, 2020 Author Share Posted May 31, 2020 Yep thanks it has been fixed 0 Quote Link to comment Share on other sites More sharing options...
TacticalVPS Posted May 31, 2020 Author Share Posted May 31, 2020 Just curious do you know how to change the cart page and turn each product box into a picture with the name displayed on a faded overlap. Take the picture for an example 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 31, 2020 Share Posted May 31, 2020 26 minutes ago, TacticalVPS said: Just curious do you know how to change the cart page and turn each product box into a picture with the name displayed on a faded overlap. it's worth noting that the page you screenshot isn't a WHMCS cart page, it's just a custom sales page. however, if you were going to do this in the cart, then it's a change to the styling inside the products.tpl template - with planning, it should be possible to do it without any need for hooks... 0 Quote Link to comment Share on other sites More sharing options...
TacticalVPS Posted June 1, 2020 Author Share Posted June 1, 2020 Hey cheers. ill just have a play around with the products.tpl and see what i can do Thanks for all of your help 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.