Filter by category, not by text

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Filter by category, not by text

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 8 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6854

    The plugin is awesome for search for some text and filtering by category, etc.
    In my project I also need to be able just filter by category and some field, not by text.
    Is there any way to filter by selected options (category, field values) without fill the search field?


    Ernest Marcinko
    Ernest Marcinko


    I’m not sure, but it might be possible.

    1. On the General Options -> Behavior panel, set:
    Minimal character count to trigger search option to 0
    Trigger search when changing a facet on settings? option ON

    like so:

    2. Make sure the settings are visible by default:

    3. and then, to hide the search bar, use this custom CSS:

    .asp_main_container { height: 0px !important; }

    That seems to be working on my test environment.

    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.