Forums › Forums › Search & Filter Pro › Pagination problem
Tagged: ajax, pagination, Taxonomies
- This topic has 21 replies, 3 voices, and was last updated 4 years, 5 months ago by Ross.
-
Anonymous(Private) June 29, 2020 at 6:13 pm #250557
Hello,
I have problems with pagination an also when I mix two taxonomies, the first with categories and the second with tags. When I filter, pagination still counts all items, so when I change the page, the filter disappear, the ajax doesn’t work and I don’t know which is filtering.Is there a way to use one filter, and if there are terms in the second that doesn’t match, they can’t be clicked? Because if I click them, again it shows me whatever else.
I give you here my development site https://macarenariveracl.stage.site/shop/ , it’s a Woocommerce store that is online now in https://macarenarivera.cl/shop/. My filter there (other) is working, but It doesn’t search.
Could you be nice and help me solve it? I’m trying to do that since a week ago….
thanks in advanceAnonymous(Private) July 3, 2020 at 4:58 pm #251366The page is using woocommerce.php template. I saw that problem too but <?php woocommerce_content(); ?> is the one that’s getting the pagination… I also tried with Custom (not woocommerce) and shortcode setting and have the same problem. I will take a look on my woocommerce child theme, maybe the problem is there.
The thing is that is not only the pagination my problem, can you test when you combine the two taxonomy filters? I have also problems with that and the sorting filter…
thanks a lot Trevor
Trevor(Private) July 6, 2020 at 4:09 pm #251562I think the Ajax Container is the issue. It is the ‘row’ shown here that needs a class adding to it in the PHP template file (I think you will need to edit the template file and add a class):
https://www.screencast.com/t/Z7DCjP2iJT
On the main shop page, I tried it with this set to:
#post-1622 #page row
BUT, the
#post-1622
part changes with every page. It did work though, but only for the first search. After which the page may change.Anonymous(Private) July 7, 2020 at 4:58 pm #251856Thanks a lot! I think it’s solved! I wrapped up the filter with a div and the results div with an specific ID. I saw I wasn’t adding the right div on ajax configuration.
For now the only problem left is the sorting select, cause it’s not sorting anything.
I’ll keep testing, thanks a lot for ur help.best regards
-
AuthorPosts