Reset of filters
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 pleaseIf 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.
Quote from Duarte on September 7, 2026, 14:59Hello,
After selecting a category on the homepage, I'm going to a new page that displays the products of that selection.
But if I navigate to the shop page, the parameters of the filter are not reset, and it shows only the products of that category.
To show a normal shop page with all products I need to refresh the page.
Is there any setting to prevent this?
Hello,
After selecting a category on the homepage, I'm going to a new page that displays the products of that selection.
But if I navigate to the shop page, the parameters of the filter are not reset, and it shows only the products of that category.
To show a normal shop page with all products I need to refresh the page.
Is there any setting to prevent this?
Quote from Alex Dev on September 9, 2026, 20:09Hello
Thank you for the message. Before we can look into this, we need to understand the exact route you take, because right now it is not clear enough to reproduce.
Please send us either the direct links to the pages involved, or a short screen video where the browser address bar stays visible the whole time. In the video please show, in order:
- Where you start, and what exactly you click on the homepage to select the category. Is it our filter widget, or a menu item or a category block from your theme?
- The page you land on, with its URL visible, so we can see whether it is a category archive page, the shop page with filter parameters in the address, or a separate page built with a shortcode.
- How you go to the shop page. Whether you click a menu link, use the browser back button, or click something inside the filter itself. This matters, the three cases behave differently.
- What the shop page shows at that moment, together with its full URL. We specifically need to see whether there are any filter parameters in the address bar while the wrong products are displayed.
- The same page after you refresh it.
Also, please tell us the URL of your site and the exact URL that your Shop menu item points to.
With that we will be able to reproduce it on our side and tell you exactly what is happening and what to change.
Best regards
Alex
Hello
Thank you for the message. Before we can look into this, we need to understand the exact route you take, because right now it is not clear enough to reproduce.
Please send us either the direct links to the pages involved, or a short screen video where the browser address bar stays visible the whole time. In the video please show, in order:
- Where you start, and what exactly you click on the homepage to select the category. Is it our filter widget, or a menu item or a category block from your theme?
- The page you land on, with its URL visible, so we can see whether it is a category archive page, the shop page with filter parameters in the address, or a separate page built with a shortcode.
- How you go to the shop page. Whether you click a menu link, use the browser back button, or click something inside the filter itself. This matters, the three cases behave differently.
- What the shop page shows at that moment, together with its full URL. We specifically need to see whether there are any filter parameters in the address bar while the wrong products are displayed.
- The same page after you refresh it.
Also, please tell us the URL of your site and the exact URL that your Shop menu item points to.
With that we will be able to reproduce it on our side and tell you exactly what is happening and what to change.
Best regards
Alex
Quote from Duarte on September 10, 2026, 14:33Hello,
I recorded the screen replicating the steps.
url for the video: https://cantinadosarsenios.pt/videos/screen.mp4
url site: https://omeuanimal.pt
url shop: https://omeuanimal.pt/loja/
Hello,
I recorded the screen replicating the steps.
url for the video: https://cantinadosarsenios.pt/videos/screen.mp4
url site: https://omeuanimal.pt
url shop: https://omeuanimal.pt/loja/
Quote from Alex Dev on September 11, 2026, 15:50Hello,
Thank you for the video, it helped a lot. We reviewed your case and reproduced the behaviour: after visiting a category, the shop page shows the filter panel of that category until the page is refreshed.
We have an idea what causes it, and it may well become a fix in the next update. We would be grateful if you could test it on your site first.
In the private section of this ticket you will find a link to the updated index.php file. You can test it in one of two ways:
1. Download the file and fully replace wp-content/plugins/woocommerce-products-filter/index.php with it.
2. Or, if you prefer a smaller change, open your current index.php, find the function wp_head() and replace the whole function with the version below.public function wp_head() { $request_data = $this->get_request_data(); if ( ! defined( 'DOING_AJAX' ) && ! is_page() ) { global $wp_query; $queried_obj = get_queried_object(); // When SEO URL mode is active, taxonomy may be removed from query_vars by url_request $seo_url_enabled = isset( $this->settings['woof_url_request']['enable'] ) && intval( $this->settings['woof_url_request']['enable'] ); $taxonomy_check = $seo_url_enabled ? is_object( $queried_obj ) && get_class( $queried_obj ) == 'WP_Term' : isset( $wp_query->query_vars['taxonomy'] ) && is_object( $queried_obj ) && get_class( $queried_obj ) == 'WP_Term'; if ( $taxonomy_check && ! isset( $request_data['really_curr_tax'] ) ) { if ( is_object( $queried_obj ) ) { $this->set_really_current_term( $queried_obj ); } } elseif ( $seo_url_enabled && ! isset( $request_data['really_curr_tax'] ) && isset( WOOF_EXT::$includes['applications']['url_request'] ) ) { // Fallback: queried object is not WP_Term but SEO URL may hide the taxonomy context $url_ext = WOOF_EXT::$includes['applications']['url_request']; $cleared_url = $url_ext->url_parser->get_cleared_url( $url_ext->url_parser->get_request_uri() ); $term = $this->get_term_from_cleared_url( $cleared_url ); if ( $term ) { $this->set_really_current_term( $term ); } else { // Not a taxonomy page (e.g. shop): reset the term remembered from the previous page $this->set_really_current_term(); } } elseif ( isset( $request_data['really_curr_tax'] ) ) { $tmp = explode( '-', $request_data['really_curr_tax'], 2 ); $res = get_term( $tmp[0], $tmp[1] ); $this->set_really_current_term( $res ); } else { $this->set_really_current_term(); } } elseif ( $this->is_really_current_term_exists() ) { $this->set_really_current_term(); } }
Please make a backup of the original file before either option. After that, repeat the same route as in your video: homepage, category, then Loja, and let us know whether the shop page now shows the full filter right away.
Best regards
Alex
Hello,
Thank you for the video, it helped a lot. We reviewed your case and reproduced the behaviour: after visiting a category, the shop page shows the filter panel of that category until the page is refreshed.
We have an idea what causes it, and it may well become a fix in the next update. We would be grateful if you could test it on your site first.
In the private section of this ticket you will find a link to the updated index.php file. You can test it in one of two ways:
1. Download the file and fully replace wp-content/plugins/woocommerce-products-filter/index.php with it.
2. Or, if you prefer a smaller change, open your current index.php, find the function wp_head() and replace the whole function with the version below.
public function wp_head() {
$request_data = $this->get_request_data();
if ( ! defined( 'DOING_AJAX' ) && ! is_page() ) {
global $wp_query;
$queried_obj = get_queried_object();
// When SEO URL mode is active, taxonomy may be removed from query_vars by url_request
$seo_url_enabled = isset( $this->settings['woof_url_request']['enable'] ) &&
intval( $this->settings['woof_url_request']['enable'] );
$taxonomy_check = $seo_url_enabled
? is_object( $queried_obj ) && get_class( $queried_obj ) == 'WP_Term'
: isset( $wp_query->query_vars['taxonomy'] ) && is_object( $queried_obj ) && get_class( $queried_obj ) == 'WP_Term';
if ( $taxonomy_check && ! isset( $request_data['really_curr_tax'] ) ) {
if ( is_object( $queried_obj ) ) {
$this->set_really_current_term( $queried_obj );
}
} elseif ( $seo_url_enabled && ! isset( $request_data['really_curr_tax'] )
&& isset( WOOF_EXT::$includes['applications']['url_request'] ) ) {
// Fallback: queried object is not WP_Term but SEO URL may hide the taxonomy context
$url_ext = WOOF_EXT::$includes['applications']['url_request'];
$cleared_url = $url_ext->url_parser->get_cleared_url( $url_ext->url_parser->get_request_uri() );
$term = $this->get_term_from_cleared_url( $cleared_url );
if ( $term ) {
$this->set_really_current_term( $term );
} else {
// Not a taxonomy page (e.g. shop): reset the term remembered from the previous page
$this->set_really_current_term();
}
} elseif ( isset( $request_data['really_curr_tax'] ) ) {
$tmp = explode( '-', $request_data['really_curr_tax'], 2 );
$res = get_term( $tmp[0], $tmp[1] );
$this->set_really_current_term( $res );
} else {
$this->set_really_current_term();
}
} elseif ( $this->is_really_current_term_exists() ) {
$this->set_really_current_term();
}
}
Please make a backup of the original file before either option. After that, repeat the same route as in your video: homepage, category, then Loja, and let us know whether the shop page now shows the full filter right away.
Best regards
Alex
Quote from Alex Dev on September 21, 2026, 11:26Hello
Update is done and fix is there
Hello
Update is done and fix is there