How to change price increment value in the price slider

Because our clients can use the theme for rentals or for sales, we let the price slider increment be a small value. But you can change that easily.

Go to slider_price in js/control.js (line 129 )


step: 100

This is an example value.

Code should be be something like

$( "#slider_price" ).slider({
range: true,
min: parseFloat(control_vars.slider_min),
max: parseFloat(control_vars.slider_max),
values: [price_low_val,price_max_val ],

Recommended Posts