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 6 years, 7 months ago.

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

    Hello,
    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?

    Thanks

    #6855
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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: https://i.imgur.com/CbWRsTu.png

    2. Make sure the settings are visible by default: https://i.imgur.com/hPN75O5.png

    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.

    Best,
    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.