• Resolved Prince_Dhaval

    (@shethdhaval)


    Hello
    When we click on reset option it will reset everything
    but still reset button is visible on the page
    can you please assist? it was working on shop page
    but we have desinged custom page and put the shortcode [woof_products per_page=20 columns=3 is_ajax=1 taxonomies=product_cat:9] all the products are display as alphabetical order
    Appreciate your response
    thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Prince_Dhaval

    (@shethdhaval)

    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

    pavloborysenko

    (@pavloborysenko)

    Hello

    Please drop me exact link to the issue

    Thread Starter Prince_Dhaval

    (@shethdhaval)

    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

    Thread Starter Prince_Dhaval

    (@shethdhaval)

    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

    Thread Starter Prince_Dhaval

    (@shethdhaval)

    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 )`

    Thread Starter Prince_Dhaval

    (@shethdhaval)

    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

    • This reply was modified 6 years, 11 months ago by Prince_Dhaval.
    • This reply was modified 6 years, 11 months ago by Prince_Dhaval.
    • This reply was modified 6 years, 11 months ago by Prince_Dhaval.
    Thread Starter Prince_Dhaval

    (@shethdhaval)

    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Reset option visible once it is in used’ is closed to new replies.