• Resolved bmontgomery

    (@bmontgomery)


    Hello,

    I have a few questions about your plugin:

    – Can it handle custom fields having subs-categories ?
    For example, I have s custom field called “destination”, it contains countries.
    And it has sub-categories that are the regions inside the countries.
    Can your plugin perform searches though these categories or subcategories ?
    I’d like to have a dropdown list containing the coutries and also the regions, and depending on the user choice, the search engine has to look for either posts of a given country, or posts of a given region.

    See what I mean?

    – Is it possible to have mandatory field for the search ?
    In my case, the mandatory field would be the “country / region” field.

    – Another example of what I need to do:
    I have a field called “number max of people”. I need a search box asking the user to tell how many people will be there, and how many children. So search engine will have to add the adults and the children, and only display the results of the posts having “number max of people” greater than the sum of adults + children.

    Is it possible?

    – Is it possible to display a specific message to the user if he chooses a certain value for a given field?
    For example, let’s say that the user chooses he want to come with 2 babies, then above the results page, I’d like to display something like: “please contact the owner to tell him that you have 2 babies”.
    Is it possible ?

    – Is it possible to choose the number of results per page?

    – Is it possible to display a message if the number of resulting posts is above a given amount?
    For example, if the user performs a search and there are 350 resulting posts found in the database, then I want to display something like: “please add some search criteria to narrow your search”.
    Is it possible?

    – I don’t want to display dynamic results. I want the results to appear ONLY after the click on the search button. Is it possible?

    – What is the url of the result page?
    Is it something like https://www.mydomain.com/result?region=corse&adults=2&activity=tennis ?

    – Is it possible to display the results depending on a certain field ?
    For example, display the results sorted by country, and then region?

    Thanks for your answers.

    https://www.ads-software.com/plugins/search-filter/

Viewing 1 replies (of 1 total)
  • Plugin Author DesignsAndCode

    (@designsandcode)

    Hi there

    A lot of functionality you require is only available in pro, so the below answers are for the Pro plugin only.

    To answer your questions:

    1) I don’t understand this fully, custom fields cannot have sub categories – but using multiple taxonomies to display data is supported, you can get an effect like you mention – change genres and see how certificates updates – https://demo.designsandcode.com/sfpro-movie-reviews/

    It is not possible to make a field compulsory yet – however, if you know jQuery, you could do this.

    2) Not directly – I think you would need to create a new field, that adds together children and adults, and stores this as one number – then you could build a min/max for this field.

    3) If you are comfortable with working with WP & PHP templates you could do this https://www.designsandcode.com/documentation/search-filter-pro/accessing-search-data/

    4) Yes, you can wait for user to submit the form before loading the results page.

    5) Yes this is correct, you can choose the slug of your results page, or run it off an existing page in WP – so then it would take the URL of the WP page.

    6) Yup, S&F pro allows you to sort the results by 2 options – so this could be by two custom fields.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Questions about your plugin’ is closed to new replies.