• Hi,
    I need one specific solution.
    First, when I write an expression in search box, eg the content of a product, I want to get as a result ONLY A PRODUCT that contains ONLY THIS CONTENT.
    If there are products that contain additional content other than what is written, those products will not be the result of a search.
    Example: I have a food base. For each dish there is a list of ingredients of which the dish consists.If I write, for example, “Potatoes” in the search field, I want to get as a result only those dishes that contain only potatoes and do not contain any other ingredient except potatoes.
    Therefore, if a dish contains some additional ingredients in addition to potatoes (rice, carrots, meat …), that dish must not be the result of a search.
    Second, the ability to add more search fields is required. When I type “Potato” in the first field, there is a “+” sign to add a second search box.
    When I write “Carrot” in the second search field, the search result will be only those dishes that contain EXCLUSIVELY potatoes and carrots and no other ingredients, ie if a dish contains eg potatoes, carrots and peas, that dish will not be search result.
    Do you have a solution for me?
    Best regards

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Yes: hire a WordPress developer to build this feature for you. I don’t think you’ll find a simple ready-made solution for this.

    A) When doing something like this, you don’t really want people typing in the ingredients. You should have a list of available ingredients that people can choose from.

    B) Relevanssi is a free-text search. It can be made to do other things, but usually, when you do that, you should be using some other tool instead.

    C) The solution here depends a lot on how you’re listing the ingredients in the dishes, but if you have a taxonomy of ingredients and they’re assigned as terms to the dishes, building a custom taxonomy search like that sounds like a fairly straightforward thing to do.

    But like I said, I don’t think you will find anything that will do this for you without any customization. I recommend you’ll find a WordPress developer that can do this search for you. Most skilled WP developers should be able to build this for you.

Viewing 1 replies (of 1 total)
  • The topic ‘Solution for me?’ is closed to new replies.