Forums Forums Search & Filter Pro Pagination Issue

Tagged: 

  • This topic has 10 replies, 2 voices, and was last updated 8 years ago by Anonymous.
Viewing 10 posts - 1 through 10 (of 11 total)
  • Anonymous
    #72399

    I’m having a few issues with our filtering. We are using PRO and the updated 2.2 version.
    First issue is when a filter is selected with less than 20 items, say 5, you still get a full results in the pagination. We downloaded and installed WP-PageNavi to override the woocommerce pagination and not having any success. I have the selector set to “.wp-pagenavi a” and are using an archive template, custom template of woocommerce/archive-products.php as we are needing many filter forms.

    Anonymous
    #72400
    This reply has been marked as private.
    Trevor
    #72421

    I am not understanding what the issue is. I have done a few quick searches and all seems to be what I would expect. Can you give me example searches and say what is then wrong and what should I be seeing?

    Anonymous
    #72453

    Hi Trevor –
    If you click select 10 ports under “Number of Connections” you will get 5 results, which is what shows – 5 products with 10 ports. But if you scroll to the bottom where the pagination is, you see there are pages and pages where there should be none. If you select any of those pages you get results not having 10 ports.

    Anonymous
    #72599

    Another issue we are having and thought it may be tied into the pagination issue is that when you do select one filter, the other filters do not update. So say you select ‘number of connectors’ with just 8 ports – that’s 15 products, shouldn’t the other items update to 15 or less? I’d expect Polarization to show only the count for the products with 8 ports. So you can filter down the list. Does that make sense?

    Trevor
    #72842

    If I do that 10 port search I do indeed get 5 results. Under that I see:

    A Product Categories section with 5 categories
    A banner image
    A Featured Products section with 3 featured products.

    Nothing else?

    When I do the search, it immediately goes to a different page to show the results.

    Your next post seems to suggest you are using Ajax to update the results, or that you have Auto Submit off? But for me the form Auto Submits.

    Anonymous
    #72936

    Sorry about that – I was testing another issue (that lovely error showing on the top of the page). If you can take another look, it’s appearing as it should with the left sidebar with the filters and results on the right with the pagination below. And yes, I’m using Ajax to update the results with auto submit on – the content area was incorrect as I was debugging the other issue. I’m still having the pagination issue however.

    Trevor
    #73147

    For that error I would simply edit your server PHP settings and turn display_errors to OFF, as the PHP manual says it should be. It is only a warning, nothing fatal.

    And, yes, I now see the issue. You have the Ajax Results Container set to #list-view, but this does not contain the pagination. #main would contain the pagination. Have you tried this already?

    Anonymous
    #73239

    Thank you!!! Yes, that fixed it and will turn off that error – it’s a plugin issue, well update issue and nothing like you said, fatal! And now I see, as I thought they were related… that you can filter down! The numbers don’t update per level of filtering but I saw in requested features that’s on the wish list. We have a massive number of custom post meta and your plugin has done the trick. Thanks!

    Trevor
    #73263

    I can close this thread as resolved?

Viewing 10 posts - 1 through 10 (of 11 total)