Forums Forums Search & Filter Pro Can’t search by multiple categories

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #250887

    Hi,

    I have some problems with the filter. I am trying to filter by several categories. But I can only choose one. If I try to choose multiple, then it resets:

    http://somup.com/cYiVlZQpmI

    I should be able to search where ALL Field relationships are met.

    Hope you have a solution 🙂

    Regards,
    Kenneth

    Trevor
    #250898

    Thank you for the video. I can see the issue in what you show. You have used the same term source (‘Category’) more than once in the form, Please see this post for explanation, guidance and resources that you can use:

    https://support.searchandfilter.com/forums/topic/elementor-filter-not-working-showing-all-results/#post-221562

    Anonymous
    #251050

    Hi Trevor,

    Thanks for the reply. I almost understand the solution. But how would the setup be like in search plugin?

    Here is my category structur:

    Fruit types->Apple, banana, peach etc.

    Also.. how would I manage post after this? Still control them by categories?

    Trevor
    #251157

    Did you set up new custom taxonomies. For example, one called fruit_type with the terms: Apple, Banana, etc. and so on?

    Then, you can place these taxonomies in the form.

    Anonymous
    #251431
    This reply has been marked as private.
    Trevor
    #251595

    I see the structure. You would need 5 new custom taxonomies:

    Yogastil

    Terms: 21,19,22,18,20

    Kropsdele

    Terms: 47,42,48,44,43,49,50,45,41,46,51,29,52

    Niveau

    Terms: 24,25,26

    Tema

    Terms: 53,58,54,55,56,12,59,63,60,57,62,13,64

    Varighed

    Terms: 33,34,35,36,37,38

    I think those numbers are right.

    So, the steps would be:

    #1 Create these five new custom taxonomies using CPT UI and assign each to Posts. Make sure each is set to be Hierarchical in the CPT UI settings.

    #2 Edit each category to set the Parent to be No Parent (ingen), e.g.

    https://www.screencast.com/t/3bJDpPPRfP

    #3 Use Taxonomy switcher to switch the terms (use the lists above).

    #4 Replace each category field in the form with a Taxonomy form (transfer the settings across manually), selecting the new taxonomies as appropriate.

    #5 Rebuild the form cache.

    Anonymous
    #251623

    Hi Trevor,

    Wow.! Thanks a lot! Worked like a charm.

    Trevor
    #251627

    Great. Thanks for letting me know. I will close this thread for now.

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