Filters and Infinite scroll

Forums › Forums › Search & Filter Pro › Filters and Infinite scroll

Viewing 10 posts – 11 through 20 (of 28 total)
  • Anonymous
    #183487
    This reply has been marked as private.
    Trevor
    #183489

    I ask this because an alternative is to set the Display Results method to Custom and add a search and filter argument as the last argument, like this:

    'search_filter_id' => '1234'

    Trevor
    #183496
    This reply has been marked as private.
    Anonymous
    #183622

    I’ve made changes to code and configuration

    I’m sharing code with you privately.

    Now I have template called search-activities.php and I use it in a page. Inside it, I use a custom wp_query to pass it the 'search_filter_id' => '1234' property.

    I’ve configured ‘Display’ to ‘Custom’. Now, filters work :). However, ajax search and ajax pagination and infinite scroll don’t work. I cannot find the issue. Would you know what could be happening?

    Thank you Trevor.

    Anonymous
    #183624
    This reply has been marked as private.
    Anonymous
    #183626
    This reply has been marked as private.
    Anonymous
    #183628

    Ajax is working partially. Not always. When it works, it doesn’t work very well for price filter :S
    At the moment, I will go without ajax, but I would like to get it working.

    Thank you for everything Trevor.

    Trevor
    #183699

    It is probably the setting of the selectors that might be wrong, and/or the Ajax Container. The Ajax Container must contain the pagination, but the Infinite Scroll Container must not, so if they are both the same selector, that would be a potential issue.

    Anonymous
    #184443

    Hi Trevor,

    Thank you for your help. I have achieved to allow ajax pagination. In addition, I have every filter working by ajax with one exception. Price filter is not working well. I invite you to test it yourself to see it (if possible). Search the word “escalada” and you’ll get 1 result. The price for that product is 0,00€ (no soci price). Then move the price range selector from 1050 to 2240€. You’ll get the same result (what’s wrong). Then reload the page, and you’ll get the correct response “No results found”. Would you know what can be the issue?

    Thank you

    Anonymous
    #184445
    This reply has been marked as private.
Viewing 10 posts – 11 through 20 (of 28 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.