Filter should show only current category and its children, but it's not
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 Milan on November 22, 2023, 18:43Hi,
initial landing on category page shows filter correctly.
But after filtering it adds new categories which are neither current or its children.
This is not the desired behavior, why is this happening?
I understand that products do belong to both of these categories, so that is correct from that side, but those categories should not be seen on current category page.
![]()
Hi,
initial landing on category page shows filter correctly.
But after filtering it adds new categories which are neither current or its children.
This is not the desired behavior, why is this happening?
I understand that products do belong to both of these categories, so that is correct from that side, but those categories should not be seen on current category page.

Quote from Pablo Borysenco on November 23, 2023, 12:41Hello
Please drop me exact link to the issue
Hello
Please drop me exact link to the issue
Quote from Milan on November 23, 2023, 12:45Please note this is a development website. You will find link and access credentials in private data for this topic.
Please note this is a development website. You will find link and access credentials in private data for this topic.
Quote from Pablo Borysenco on November 23, 2023, 13:25Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Update the plugin to latest version - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
try to check option - Advanced->Options->https://share.pluginus.net/image/i20231123132500.png
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Update the plugin to latest version - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
try to check option - Advanced->Options->https://share.pluginus.net/image/i20231123132500.png
Quote from Milan on November 23, 2023, 13:51try to check option - Advanced->Options->https://share.pluginus.net/image/i20231123132500.png
This is already checked.
Please paste your license key here
Waiting on my employer to pass it over, once I get it I'll reply here.
try to check option - Advanced->Options->https://share.pluginus.net/image/i20231123132500.png
This is already checked.
Please paste your license key here
Waiting on my employer to pass it over, once I get it I'll reply here.
Quote from Milan on November 23, 2023, 15:27License key entered.
License key entered.
Quote from Pablo Borysenco on November 24, 2023, 12:53Hello
Ok! Please disable ajax mode and do a test
You can drop me wp-admin+ftp access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png - I will check it
Hello
Ok! Please disable ajax mode and do a test
You can drop me wp-admin+ftp access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png - I will check it
Quote from Milan on November 24, 2023, 13:09WP admin added.
Unfortunately, I am not able to give you ftp, please use Wordpress editor to edit files.
WP admin added.
Unfortunately, I am not able to give you ftp, please use Wordpress editor to edit files.
Quote from Pablo Borysenco on November 27, 2023, 13:24Hello
Ok! It looks like you are using a custom theme and have customized the plugin code
This looks like a Routing Problem. You can disable this option - https://share.pluginus.net/image/i20231127132417.png
OR try another theme
Hello
Ok! It looks like you are using a custom theme and have customized the plugin code
This looks like a Routing Problem. You can disable this option - https://share.pluginus.net/image/i20231127132417.png
OR try another theme
Quote from Milan on November 27, 2023, 13:53Yes, I am the creator of the theme which is based on Understrap, basically Underscores (by the same people that build Wordpress) with integrated Bootstrap.
How is the theme interfering with routing, what can I do to make it compatible with your plugin?
Another question - we have a product category which shows only products on sale (Monthly specials).
It has been done by using:
add_action( 'woocommerce_product_query', 'show_monthly_specials' );
function show_monthly_specials( $q ) {
if ( "monthly-specials" !== $q->get( 'product_cat' ) ) return;
$q->set( 'post_type', 'product' );
$q->set( 'product_cat', null );
$product_ids_on_sale = wc_get_product_ids_on_sale() ? wc_get_product_ids_on_sale() : array();
$q->set( 'post__in', $product_ids_on_sale );
}How can I make your filter work correctly on this page?
Yes, I am the creator of the theme which is based on Understrap, basically Underscores (by the same people that build Wordpress) with integrated Bootstrap.
How is the theme interfering with routing, what can I do to make it compatible with your plugin?
Another question - we have a product category which shows only products on sale (Monthly specials).
It has been done by using:
add_action( 'woocommerce_product_query', 'show_monthly_specials' );
function show_monthly_specials( $q ) {
if ("monthly-specials" !== $q->get( 'product_cat' ) ) return;
$q->set( 'post_type', 'product' );
$q->set( 'product_cat', null );
$product_ids_on_sale = wc_get_product_ids_on_sale() ? wc_get_product_ids_on_sale() : array();
$q->set( 'post__in', $product_ids_on_sale );
}
How can I make your filter work correctly on this page?
Quote from Pablo Borysenco on November 28, 2023, 11:59Hello
How is the theme interfering with routing - Unfortunately, I don’t know what functionality you added to the theme. maybe you change wp_query, redefine archive pages, etc. an example try this link - https://your_site.com/shop
To show only on sale products - https://products-filter.com/manipulate-search-data-options - in your case - $request['onsales'] = 'salesonly';
Then you don’t have to use your code, this request will be added automatically to the filter and products
Hello
How is the theme interfering with routing - Unfortunately, I don’t know what functionality you added to the theme. maybe you change wp_query, redefine archive pages, etc. an example try this link - https://your_site.com/shop
To show only on sale products - https://products-filter.com/manipulate-search-data-options - in your case - $request['onsales'] = 'salesonly';
Then you don’t have to use your code, this request will be added automatically to the filter and products
Quote from Milan on November 28, 2023, 12:48We are redirecting shop page to home, but why should that interfere on product category pages?
function shop_url_redirect(){if (is_shop()) {wp_redirect(home_url());exit();}}add_action('template_redirect', 'shop_url_redirect');
We are redirecting shop page to home, but why should that interfere on product category pages?
Quote from Milan on November 28, 2023, 13:25I have noticed that when I copy/paste search link, it acts like I'm on the shop page and not on the category page. That's why it's redirecting to home. Why is that??
When I am on the category page, and make filter selection, then copy that link and paste it in other browser, it does not take me to category page but to shop page and filters are messed up.
Example, filtering on category page created this link:
http://mywebsite.com/product-category/wine/?woof=1&product_cat=sparkling&paged=1&min_price=40&max_price=115&really_curr_tax=15-product_cat
Pasting this link in another browser (or clicking refresh) does not keep me on category page like it should (http://mywebsite.com/product-category/wine/) but loads Shop page while keeping this url structure. Why it behaves like this?
I have noticed that when I copy/paste search link, it acts like I'm on the shop page and not on the category page. That's why it's redirecting to home. Why is that??
When I am on the category page, and make filter selection, then copy that link and paste it in other browser, it does not take me to category page but to shop page and filters are messed up.
Example, filtering on category page created this link:
http://mywebsite.com/product-category/wine/?woof=1&product_cat=sparkling&paged=1&min_price=40&max_price=115&really_curr_tax=15-product_cat
Pasting this link in another browser (or clicking refresh) does not keep me on category page like it should (http://mywebsite.com/product-category/wine/) but loads Shop page while keeping this url structure. Why it behaves like this?
Quote from Pablo Borysenco on November 29, 2023, 13:39Hello
yes! This is a shop template, not a page.
https://share.pluginus.net/image/i20231127132417.png - This function disables the use of the shop template for the search result
But it seems the redirect still happens during filter counting
Hello
yes! This is a shop template, not a page.
https://share.pluginus.net/image/i20231127132417.png - This function disables the use of the shop template for the search result
But it seems the redirect still happens during filter counting
Quote from Milan on December 22, 2023, 20:34Hello,
I still have issues with URL parsing, when url contains product_cat it does not show correct page.
For example, when I'm on parent category page and make some filtering by category
http://mywebsite.com/product-category/wine/?woof=1&product_cat=sparkling&paged=1&really_curr_tax=15-product_catWhen I copy that link, or reload the page, I would expect to stay on the same page, which is http://mywebsite.com/product-category/wine/
Instead, its child 'sparkling' is shown as it exists in query parameters. It's like 'really_curr_tax' is not relevant at all.How to fix this?
Hello,
I still have issues with URL parsing, when url contains product_cat it does not show correct page.
For example, when I'm on parent category page and make some filtering by category
http://mywebsite.com/product-category/wine/?woof=1&product_cat=sparkling&paged=1&really_curr_tax=15-product_cat
When I copy that link, or reload the page, I would expect to stay on the same page, which is http://mywebsite.com/product-category/wine/
Instead, its child 'sparkling' is shown as it exists in query parameters. It's like 'really_curr_tax' is not relevant at all.
How to fix this?
Quote from Pablo Borysenco on December 25, 2023, 13:51Hello
Do you have a server side cache? I change the code in the JS files, but the old version of the files is connected to the frontend
Hello
Do you have a server side cache? I change the code in the JS files, but the old version of the files is connected to the frontend
Quote from Milan on December 25, 2023, 16:17Yes, it is now turned off.
Yes, it is now turned off.
Quote from Milan on December 25, 2023, 16:20I played with settings, and it works fine when SEO is enabled (copy/paste link works as expected), but filter is not refreshing correctly after AJAX. JS rewrites the filter with all categories, which is wrong.
I played with settings, and it works fine when SEO is enabled (copy/paste link works as expected), but filter is not refreshing correctly after AJAX. JS rewrites the filter with all categories, which is wrong.
Quote from Pablo Borysenco on December 26, 2023, 12:45Hello
Please do a test
Hello
Please do a test
Quote from Milan on December 27, 2023, 11:12Looks like it's behaving well now!
Would you tell me what's changed, because I need to update the main website? Or will you include this fix in your plugin update?
Looks like it's behaving well now!
Would you tell me what's changed, because I need to update the main website? Or will you include this fix in your plugin update?