PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Pagination links issue

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hey Pablo,

In ajax mode, pagination links become invalid.

Now they are [domain]/admin-ajax.php?paged=2

They should be like: [filtered_url]/page/2

Naturally, the admin-ajax link gives nothing back, thus breaks the page.

I tried switching to storefront theme (originally I use Flatsme), and disabled all plugins except woocommerce and HUSKY, but the issue still remained.

I also tried turning on/off the SEO friendly links in HUSKY settings, but the issue remained.

There are more than 100.000 products in this store, so ajax mode would be really important regarding page speed.

Thank you

Hello

Please read this - https://products-filter.com/pagination-troubles-in-ajax-mode

Now they are [domain]/admin-ajax.php?paged=2 - If you have a standard pagination template and no JS errors, these links should work. Drop  me  exact  link to the  issue

 

 

Hello,

Sorry for the late reply, I had to build a testing environment. (no images)

Please find login details in private data.

On shop page, the pagination links are ok (eg. https://test.sapv.hu/en/shop/page/2/).

After filtering is applied from left sidebar, the pagination links become invalid. (eg. https://test.sapv.hu/en/wp-admin/admin-ajax.php?paged=2)

Interesting thing is if I click on the faulty link, and navigate back from the 404 page, the pagination links become correct (eg. https://test.sapv.hu/en/shop/page/2/?swoof=1&onsales=salesonly)

Hello

Ok! This is your case - https://products-filter.com/pagination-troubles-in-ajax-mode  - Pagination template is not standard

Interesting thing is if I click on the faulty link, and navigate back from the 404 page,  - Please  try  to set  perpage - https://share.pluginus.net/image/i20231204134742.png

 

Yes, I modified the pagination template and that solved the problem, thank you!

The filter almost works perfectly, but I will open another thread for the issue.

Thank you!

Hello

Great! Welcome;)