Help with Custom Refine Slider
Hi peeps.
I have a requirement to ad a few more sliders to the refine results sidebox.
basically I have feilds that are numeric values, which similarly to the cp_price feild are a text box. However I notice that the price slider is fully specific to the price and the slider does not appear for text boxes with numeric values.
What I would like to do is copy the code that is used to create the price slider, and apply it to some other custom feilds. lets say for arguments sake I had a feild called 'quantitiy' I would want the values to be refined based on cp_quantitiy.
Can anyone point me in the right direction as to a simple way to achieve this? I found the code for the slider in refine sidebox file, but not totally sure exactly what code I would need to duplicate and which parts to change to make it work independantly as a new slider.
Any pointers would be much appreciated, and also would like to put forward to a suggestion for a future improvement to be able to select a custome feild and tell clasipress if you want it to be a slider (if the value is numeric).
Kind Regards,
Phil