WooCommerce Pagination doubling

  1. Shop page located here https://rimrubber.com/shop/ – pagination on this page is doubling up when used on combination with the filter and not navigating correctly.
  2. On other shop pages e.g. https://rimrubber.com/shop-road-tyres/ you also click on a page in pagination and it does not seem to work or indicate that you are on that page.

Help please!

Hi @paullalley,

Please try a plugin conflict test. See this guide:

https://theme.co/docs/common-issues/testing-for-plugin-conflict
Most likely, the issue is coming from the plugins that create the filter. Since this is a third party plugin, you might need to consult the developer of the plugins as this is outside the scope of our support. We don’t have control on third party plugin code thus better for the developer to ask for a fixed. Thank you for understanding.

@lely I’ve tested this and spoken to the plugin developer, they say that this is an issue with the theme as the plugin works with all other major theme and WooCommerce directly. Can you please look into this as I need a solution urgently now. I can send you my login details to take a look. Let me know.

Hey @paullalley,

Thanks for the update but we need to ensure first that the issue is really coming from our theme and not by 3rd party factors.

I see you’re using a child theme and the issue could be coming from there. Please switch to the parent theme and check if the issue persists.

If that doesn’t help, please do all the basic troubleshooting procedures mentioned in our Common Issue article here: https://theme.co/docs/common-issues/

If the issue is really coming from our theme, we need to know what it’s conflicting with. Are you using a WooCommerce shortcode or a plugin to display the product list in a regular page? If so, what is the shortcode or the plugin? If it’s a paid plugin, we need you to copy your live site to a staging server and give us Staging Login credentials in a Secure Note. We can’t troubleshoot in your live site because troubleshooting carries a risk of breaking your site.

Please note that we can’t guarantee an immediate fix nor will we support the conflicting plugin. We’d like to investigate though to see if there’s a problem with our products.

We need:

  • Staging WordPress Login URL
  • Admin level username and password
  • FTP access

You can find the Secure Note button at the bottom of your posts.

Thanks.

Hi Christian,

I’ve been through trouble shooting routine. I saw that when the filter is switched off the pagination is fine but when turned on is having issues. I spoke to the plugin creator and he is also investigation and did say that his plugin works with all major themes and said it should also work with Pro. But he also said that sometimes developers do minor customisations to WooCommerce that does sometimes cause issues.

He also suggested that I get you to look at it incase. I will add a secure note with login details so you can inspect.

Sincerely,
Paul

Hello Paul,

We do not have any customizations that alter the product pagination. I was wondering where you can enable/disable the filter? I have tested and checked your site. You have 553 products and in the shop index, there are 47 pages, consisting of 12 items per page except for the last page. I have tried the filter on the shop page and it displays the product items correctly as well.

8RPssOeCRySX_dcS2xRDEA
5Al1F8kHSdONNse_q67DsQ

Based on the filter, there are 5 pages consisting of 12 items per page except for the last page which has only 4 items. In total, 52 product items.

I have the Shop page in the navigation working correctly. The issue is the other shop pages in the navigation they are still having issues with pagination e.g. Road Tyres, SUV Tyres, 4x4 Tyres, Performance Tyres, Track Tyres.

@ruenel I just received a response from the plugin developer.

Jordanov

May 15, 2020 2:54 pm

Hello,

yes. When I tested the theme you are using on my installation most of the Ajax settings our working. Here is a > video I made for you:

ufile.io/02yuzv1q

I’ve tested here the loadmore and our own custom pagination. Sorry about the slow filtering and loading my desktop needs to be restarted. The infinite load works as well but I had a time limit of 5min on this video. The only thing that does not work is the default theme pagination. But, I can do much about, if you want you can contact the theme authors and ask them the proper jQuery selectors and pagination. If not you have 3 paginations to use from and also as you saw the filtering is working in Ajax.

Best regards and stay healthy!

They tested and told me to reach out to you to ask for “the proper jQuery selectors and pagination”. Do you know what he is speaking of?

Paul

Hi Paul,

He’s referring to the pagination within the theme, but it’s actually Wordpress pagination and only utilized by the theme and only styled to match with the theme. The reason the pagination is not working is because the pagination URL format is changed, for example,

This is the URL when you clicked the second page https://rimrubber.com/shop-road-tyres/?product-page=2 which doesn’t work, the correct one should be https://rimrubber.com/shop-road-tyres/page/2/. Hence, this is not a theme issue, something is modifying the pagination’s URL to the format of ?product-page=2. The correct format is always /page/2/ or ?page=2 or simply /2/, and it’s Wordpress’ standard, not by the theme.

As for selector, you can give them this .woocommerce .x-pagination a, though, that’s all we can provide as we’re not familiar how their plugin works, but I can guarantee you that our theme only follows Wordpress standard :slight_smile:

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.