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

Category filter not resetting to page 1

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.

I have the plugin installed and it works great apart from one issue.

I have it set up to show the sub categories on the left sidebar and then the products load on the right. The left sidebar uses radio buttons so can only show products from one sub category at a time which is what the client wants. The issue is if the customer clicks onto page 2 of any sub category and then trys to click a sub category that only has one page it shows no products found as its trying to load page 2 of that category.

Is there any way to make it auto load page one rather than trying to find the same page number for the new category that the customer was on for another category?

Thanks

Hello

Please  drop  me exact  link to the  issue

Try  in file - \wp-content\plugins\woocommerce-products-filter\js\front.js - delete  this  code - https://c2n.me/48AJKsA.png

New  line :

woof_current_page_link = woof_current_page_link.replace(new RegExp(/page\/(\d+)/),"");

and  do  test

Thanks for getting back to me, it still seems to be working the same

Here is an example - https://bit.ly/3ggQlBg

This is page 2 of one of the sub categories, if you try and click on"Play Gyms & Play Mats(7)" or"Baby walkers and Ride on's(2)" in the left menu it will say there is no products as it tries to look for page 2 of that sub category

Hello

Ok! I passed this issue to the developer

I will write to you as soon as we find a solution

Thanks Pablo, appreciate your help

Hello Paul

Try  in  file - \wp-content\plugins\woocommerce-products-filter\js\front.js - add  code - https://clip2net.com/s/48DKeBU

if(index=="product-page"){
return;
}

and  do test  please

Thanks for getting back to me, unfortunately it is still the same and when I go to page 2 of any category and try and click a category that doesn't have a page 2 then it comes up with no products found as it is looking for page 2 of that category.

Hello

We have tested this code!

Please  delete all  cache  and  Ctrl+F5 . Do test

Sorry must have been a cache issue on my side. its working perfect now. Thanks very much for your help

Hello

Welcome;)