Default page when no results

Forums › Forums › Search & Filter Pro › Default page when no results

Tagged: 

Viewing 3 posts – 1 through 3 (of 3 total)
  • Anonymous
    #185078

    Hi!

    I’ve being reading the documentation and searchin in the forum but have’nt found this issue.

    The thing is pretty simple. Just want to know where to assign a default page to show when there are no results filtering through combinations of filters:

    If filter A & filter B != AB -> Default page: ‘No results’.

    Thank you

    Trevor
    #185099

    You could make the filters update dynamically to (in the main) prevent a no results search. This is done by going to the General settings tab:

    Set Auto Count (both settings) to ON

    And then in the Form UI:

    In each field set Hide Empty to ON

    If you are using our Shortcode method, you should follow the Customising the Results documentation.

    When editing the results.php file, you can see the section that displays no results found. You can replace this, or indeed add code there to cause the page to re-direct (you would need to Google how to do that).

    If you are using any other Display Results method, then they will be using your theme templates, in which the functionality you seek is dependent on your them.

    Anonymous
    #185251

    Thank you!

Viewing 3 posts – 1 through 3 (of 3 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.