Exact result

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 3 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23125
    spunk91
    spunk91
    Participant

    I have a recipe website, and want people to type in the ingredients they have available, and then only show them recipes with those key ingredients.

    ex. 1:

    User types in “veal” – search result only returns with recipes with the category “veal” selected

    So posts with the category “veal” + “potato” selected doesn’t show

    ex. 2:

    user types in “veal” + “potato” – search result only returns with recipes with the category “veal” and/or “potato” selected

    So posts with the category “veal” + “potato” + “corn” selected doesn’t show

    How would this be done?

    #23127
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I don’t think this is doable to be honest. Searching for one exact word is okay, however it does not predicate that other categories would not match.
    It might be easier with a taxonomy term checkbox filter + changing the matching logic like so: https://i.imgur.com/7TwOcCY.png

    Best,
    Ernest Marcinko

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


    #23129
    spunk91
    spunk91
    Participant

    I know i’m asking about competing plugins. But do you know of any other plugin where this would be possible?
    Or would i have to have it custom made?

    #23133
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I am not sure about the compteting ones, I would say that probably not. Custom made is probably your best bet in this case, as this requirement is very specific.

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.