Forums › Forums › Search & Filter Pro › Pagination Issue
Tagged: pagination
- This topic has 10 replies, 2 voices, and was last updated 8 years ago by Anonymous.
-
Anonymous(Private) November 25, 2016 at 11:05 pm #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(Private) November 26, 2016 at 5:56 pm #72453Hi 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(Private) November 28, 2016 at 1:14 pm #72599Another 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(Private) November 29, 2016 at 3:22 pm #72842If 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(Private) November 29, 2016 at 7:10 pm #72936Sorry 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(Private) November 30, 2016 at 1:04 pm #73147For 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(Private) November 30, 2016 at 4:08 pm #73239Thank 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!
-
AuthorPosts