Hello
Please find this function woof_init_ion_sliders() change code:
function woof_init_ion_sliders() {
jQuery.each(jQuery('.woof_range_slider'), function (index, input) {
try {
jQuery(input).ionRangeSlider({
min: jQuery(input).data('min'),
max: jQuery(input).data('max'),
from: jQuery(input).data('min-now'),
to: jQuery(input).data('max-now'),
type: 'double',
prefix: jQuery(input).data('slider-prefix'),
postfix: jQuery(input).data('slider-postfix'),
prettify: false,
prettify_enabled: false,
hideMinMax: false,
hideFromTo: false,
grid: true,
step: jQuery(input).data('step'),
onFinish: function (ui) {
var tax = jQuery(input).data('taxes');
woof_current_values.min_price = (parseFloat(ui.from, 10) / tax);
woof_current_values.max_price = (parseFloat(ui.to, 10) / tax);
//woocs adaptation
if (typeof woocs_current_currency !== 'undefined') {
woof_current_values.min_price = woof_current_values.min_price / parseFloat(woocs_current_currency.rate);
woof_current_values.max_price = woof_current_values.max_price / parseFloat(woocs_current_currency.rate);
}
//***
woof_ajax_page_num = 1;
if (woof_autosubmit || jQuery(input).within('.woof').length == 0) {
woof_submit_link(woof_get_submit_link());
}
return false;
},
onChange: function (data) {
if (jQuery('.woof_price_filter_txt')) {
var tax = jQuery(input).data('taxes');
jQuery('.woof_price_filter_txt_from').val(parseInt(data.from, 10) / tax);
jQuery('.woof_price_filter_txt_to').val(parseInt(data.to, 10) / tax);
//woocs adaptation
if (typeof woocs_current_currency !== 'undefined') {
jQuery('.woof_price_filter_txt_from').val(Math.ceil(jQuery('.woof_price_filter_txt_from').val() / parseFloat(woocs_current_currency.rate)));
jQuery('.woof_price_filter_txt_to').val(Math.ceil(jQuery('.woof_price_filter_txt_to').val() / parseFloat(woocs_current_currency.rate)));
}
}
},
});
} catch (e) {
}
});
}