Price range on html not working

dev
Offline
Last seen: 1 year 1 month ago
Mon, 04/18/2016 - 05:36
#1
Price range on html not working

Hello,

I've tried to use the price range widget that is present in the html template. But it doesn't work ans it should. When I change the max price, the value in the max price texte doesn't change. Can you update this widget in the template please ? I've remarked it works on the wordpress template.

vananh
Offline
Last seen: 2 months 3 weeks ago
Mon, 04/25/2016 - 10:20

Hi, so sorry for reply late. You need change some js code, in js/main.js awePriceSlider function.

Replace this block with this code  below:

    $selector.slider({
values: [35, 250],
min: 10,
max: 320,
step: 10,
range: true,
slide: function(e, ui) {
$('#amount').text('$'+ui.values[0]);
$('.widget_product_prices_filter span.bold:not(#amount)').text('$'+ui.values[1]);
}
});
Log in or register to post comments