Support Forums

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Search field relationships not working properly

Viewing 3 posts - 1 through 3 (of 3 total)
  • Amanda Webster
    #160263

    I have a search form here, but when I click submit, it’s only pulling results for the last taxonomy category in the list rather than combining all search terms. It was working and I did not change anything. I’m not sure what happened. The “field relationships” is set to AND not OR, so I’m not sure what happened.

    http://letsgetboard.com/advanced-search/
    For example – if I select, Ages 3-5, 2-4 players, and Award winner, it only shows me results for “Award Winner” see the URL below even after I’ve selected several search terms
    http://letsgetboard.com/?sfid=657&_sft_product_tag=award-winner

    Trevor Moderator
    #160266

    I can see the problem. You have used product-tag (a custom taxonomy) many times in the form.

    You can use a particular Taxonomy (or Category/Tags, each Taxonomy and each Custom Field) only once in the form. You would need to make additional custom taxonomies. This post tries to explain this a bit better (you can use a plugin to switch category terms from category to any new taxonomy that you make, so it is not so hard to do). It is a really awful preachy lecture I wrote:

    https://support.searchandfilter.com/forums/topic/multiple-categories-combination/#post-55166

    Sorry about the tone, but the message is right and it links to good plugins (except taxonomy switcher I think).

    You will need to make two new taxonomies for Countries and Resources. Then you will need to move the terms to the appropriate taxonomies, and then you will need to switch the form elements over to use these.

    You would need two plugins installed:

    Custom Post Type UI, or some other way to make the taxonomies (do you already have such?)
    Taxonomy Switcher (only to switch the terms, then you can remove this plugin).

    Amanda Webster
    #160305

    Thank you for the quick response! That makes sense thank you!

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

You must be logged in to reply to this topic.