drop down filter(auto count) not working properly?

Forums › Forums › Search & Filter Pro › drop down filter(auto count) not working properly?

Viewing 10 posts – 11 through 20 (of 21 total)
  • Trevor
    #64585

    I think you would have to use custom javascript to do that.

    Anonymous
    #64587

    Could you tell me which js function to modify?
    I don’t see any js event bound to dropdowns.

    Trevor
    #64603

    You would have to write your own code. I would not know where to start. This is well outside the scope of our normal support and something I could not do.

    Anonymous
    #64610

    I understand.
    BTW, Can’t I use these hook to filter dropdown?
    sf_edit_query_args or sf_input_object_pre

    https://www.designsandcode.com/documentation/search-filter-pro/action-filter-reference/

    Trevor
    #64614

    This:

    sf_input_object_pre

    will allow you to modify the html elements, yes. My bad. I am not sure how you would use it in this context though.

    Anonymous
    #64616

    Does this work also on ajax update?

    Trevor
    #64625

    Yes, it should do.

    Anonymous
    #64634

    What’s proper way to get query parameter in sf_input_object_pre?

    Anonymous
    #64663

    Is this also work in sf_input_object_pre that you gave me?

    global $searchandfilter;
    $sf_current_query = $searchandfilter->get(1726)->current_query();

    Anonymous
    #64668

    $searchandfilter worked in sf_input_object_pre.
    Form works as I expected now.

Viewing 10 posts – 11 through 20 (of 21 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.