Forums Forums Search & Filter Pro Product page always showing results, instead of a ‘no results’

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #230249

    I’ve created two products and a shop page using WooCommerce. The filter works, but it always shows a result, even when it shouldn’t. For example, when searching for ‘gdjgjdf’, it will still show the two products.

    How can I get the filter to show no results when there are none?

    This is the link: https://kevini1.sg-host.com/index.php/shop/

    Ross Moderator
    #230251

    Hi there

    I can see when performing a search, it does indeed not update correctly, however going to the URL direcly does work:
    https://kevini1.sg-host.com/shop/?_sf_s=sdfsdf&_sfm_druk_bar=0+100

    After looking at your code, I can see your Ajax Container is set to .products, but this doesn’t exist on the “no results” page, so the ajax request cannot complete and the results area cannot be updated.

    Try .ast-woocommerce-container for your Ajax Container setting instead.

    Let me know how you get on.

    Thanks

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