Hello Author,
This happens in ajax mode only
when we click on reset option at that time everything is rest but still reset button is visible
please assist on this
Appreciate your response
thanks
Hello
Please drop me exact link to the issue
Hello
we have set this on local environment
the things is that when we apply any filter by clicking on checkbox then it working fine but after if we click on reset button everything is reset but reset button is still visible
we used is_ajax=1 if we use is_ajax=0 then everything is working good
Appreciate your response
Thanks
Hello see in this demo
http://www.demo.woocommerce-filter.com/ajax-products-filter/?swoof=1&paged=1
once you click on reset button still its visible on page
Appreciate your response
Thanks
Hello
In Ajax mode it will always be visible if there is a GET request – http://c2n.me/3JKbrMY.jpg
Hello
but how we can disable that button if reset is in used.
Appreciate your response
Thanks
Hello
In file \wp-content\plugins\woocommerce-products-filter\js\front.js function woof_init_reset_button() paste code ( http://c2n.me/3JPGgYD.png ):
`var curr_link=woof_get_submit_link().split(“page/”);
if(curr_link.length<2){
curr_link = curr_link[0].split(“?”)[0];
}
woof_submit_link(curr_link )`
Hello,
thanks this is working but it still present
i have page called hhhjdemo/?swoof=1&product_tag=cargo if i clicked on reset option it will disable the rest option but still its shows hhjdemo/?swoof-1&paged=1
how to remove “/?swoof-1&paged=1” it should be only /hhjdemo after the rest is in used
Could you please assist on this
Hello,
thanks this is working but it still present
i have page called hhhjdemo/?swoof=1&product_tag=cargo if i clicked on reset option it will disable the rest option but still its shows hhjdemo/?swoof-1&paged=1
how to remove “/?swoof-1&paged=1” it should be only /hhjdemo after the rest is in used
Could you please assist on this