A complete list is being displayed in search results
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 vikas on November 21, 2022, 07:00Hello!
Upon entering something in the search field, Woof Filters are displaying all the tags and attributes instead of just displaying the product tags and attributes that are relevant to the search results. While the filters are working fine on the category pages. The website that I'm currently working has about 50,000 products and displaying all the tags and attributes in the search results is resulting in large SQL Queries and timeouts.
The Show Count, Dynamic Count and Hide Terms are all enabled but I can't understand why the filters are not working on the search results page. Any idea why this is happening?
Hello!
Upon entering something in the search field, Woof Filters are displaying all the tags and attributes instead of just displaying the product tags and attributes that are relevant to the search results. While the filters are working fine on the category pages. The website that I'm currently working has about 50,000 products and displaying all the tags and attributes in the search results is resulting in large SQL Queries and timeouts.
The Show Count, Dynamic Count and Hide Terms are all enabled but I can't understand why the filters are not working on the search results page. Any idea why this is happening?
Quote from Pablo Borysenco on November 21, 2022, 13:52Hello
Please disable this third-party text filter and activate this extension - https://c2n.me/4haX2r9.png
Hello
Please disable this third-party text filter and activate this extension - https://c2n.me/4haX2r9.png
Quote from vikas on November 21, 2022, 14:05Which third-party text filter?
Which third-party text filter?
Quote from Pablo Borysenco on November 22, 2022, 12:43Hello
Which third-party text filter? - https://share.pluginus.net/image/i20221122104308.png
Hello
Which third-party text filter? - https://share.pluginus.net/image/i20221122104308.png
Quote from vikas on November 30, 2022, 12:04The problem did not go away even after removing the plugin! Infact Advanced WooCommerce Search (third-party text filter) claim that they are compatible with WOOF. The Husky Search isn't really performing great with large number of products. Causing timeouts etc. I wanna leave it here. While the plugin is good, the server resources are limited so I want to optimise.
Would it be possible to initialize the plugin only on product category pages where the products are less than 2000? I used the option "Init plugin on the next site pages only
" to load only on category pages. I was planning to add a piece of code in index.php of plugin function is_should_init(). Any better way to do it? Please suggest.
The problem did not go away even after removing the plugin! Infact Advanced WooCommerce Search (third-party text filter) claim that they are compatible with WOOF. The Husky Search isn't really performing great with large number of products. Causing timeouts etc. I wanna leave it here. While the plugin is good, the server resources are limited so I want to optimise.
Would it be possible to initialize the plugin only on product category pages where the products are less than 2000? I used the option "Init plugin on the next site pages only
" to load only on category pages. I was planning to add a piece of code in index.php of plugin function is_should_init(). Any better way to do it? Please suggest.
Quote from Pablo Borysenco on November 30, 2022, 12:39Hello
Infact Advanced WooCommerce Search (third-party text filter) claim that they are compatible with WOOF - We do not have such information. In this case, contact their support
If you want dynamic count to work with text filter - use our text filter
The Husky Search isn't really performing great with large number of products - Please try to add this code in functions.php:
add_filter('woof_husky_query_post__in', function($do){
return false;
});
clear all cache and do a test
Hello
Infact Advanced WooCommerce Search (third-party text filter) claim that they are compatible with WOOF - We do not have such information. In this case, contact their support
If you want dynamic count to work with text filter - use our text filter
The Husky Search isn't really performing great with large number of products - Please try to add this code in functions.php:
add_filter('woof_husky_query_post__in', function($do){
return false;
});
clear all cache and do a test
Quote from vikas on November 30, 2022, 13:00Okay. I will try. Is there any way to show the filters only when the products in that category are in certain number? I want to be able to filter using the tags but there are thousands of them. They are all loading on the page. I don't want that to happen. I only want to show filters when there are limited number of products.
Okay. I will try. Is there any way to show the filters only when the products in that category are in certain number? I want to be able to filter using the tags but there are thousands of them. They are all loading on the page. I don't want that to happen. I only want to show filters when there are limited number of products.
Quote from Pablo Borysenco on December 1, 2022, 12:55Hello
I'm not sure that I understood you correctly
To display only relevant filters on a category page - https://share.pluginus.net/image/i20221201105029.png
to hide the terms - https://share.pluginus.net/image/i20221201105506.png
Hello
I'm not sure that I understood you correctly
To display only relevant filters on a category page - https://share.pluginus.net/image/i20221201105029.png
to hide the terms - https://share.pluginus.net/image/i20221201105506.png
Quote from vikas on December 1, 2022, 13:07Okay. I will try to rephrase my question. I added a URL in the private data section. This URL is a category page that has about 4000+ products and hundreds of tags for these products. As there are many products and tags, it is doesn't really make sense to show filters. I would just be wasting resources. Customers can easily filter from sub categories as there are only a few tags.
Now, What I want to achieve is that I want to load filters on all category pages (Not the entire website) and I don't want to show filters on category pages that have more than 2000 products. This way, I won't be loading hundreds of tags in the filters section on category pages that have a ton of products.
Okay. I will try to rephrase my question. I added a URL in the private data section. This URL is a category page that has about 4000+ products and hundreds of tags for these products. As there are many products and tags, it is doesn't really make sense to show filters. I would just be wasting resources. Customers can easily filter from sub categories as there are only a few tags.
Now, What I want to achieve is that I want to load filters on all category pages (Not the entire website) and I don't want to show filters on category pages that have more than 2000 products. This way, I won't be loading hundreds of tags in the filters section on category pages that have a ton of products.
Quote from Pablo Borysenco on December 2, 2022, 14:40Hello
Unfortunately the plugin does not have this feature. in this case you need code customization
Hello
Unfortunately the plugin does not have this feature. in this case you need code customization
Quote from vikas on December 2, 2022, 15:03Okay. Thanks for giving it a thought! I looked at the Init functions and there aren't any hooks to add custom code. If I make changes, to the plugin directly, then future updates to the plugin will overwrite my changes later.
Alternatively, is there a way to use both "Init plugin on the next site pages only" include and exclude functionality? I want to display filters on all category pages but exclude some category pages. In other words show only on a subset of categories. If I add URL's directly in the allowed list, there are about 750 of them. Each request has to go through hundreds of iterations which will burden the server and its resources.
Okay. Thanks for giving it a thought! I looked at the Init functions and there aren't any hooks to add custom code. If I make changes, to the plugin directly, then future updates to the plugin will overwrite my changes later.
Alternatively, is there a way to use both"Init plugin on the next site pages only" include and exclude functionality? I want to display filters on all category pages but exclude some category pages. In other words show only on a subset of categories. If I add URL's directly in the allowed list, there are about 750 of them. Each request has to go through hundreds of iterations which will burden the server and its resources.
Quote from Pablo Borysenco on December 5, 2022, 13:46Hello
In next version I can add this hook - https://c2n.me/4hidnQD.png
Hello
In next version I can add this hook - https://c2n.me/4hidnQD.png
Quote from vikas on December 5, 2022, 14:55Hi Pablo, Thanks for the hook! Will this hook stop the initialization? I did not read the code completely so I don't know. You'd know better. Could you also please share the snippet to control this setting from the functions.php?
Does this piece of code look right to you?
if( is_product_category( 'category1-slug' ) || is_product_category( 'category2-slug' ) ) {
add_filter( 'woof_disable_filter', true );
}
Hi Pablo, Thanks for the hook! Will this hook stop the initialization? I did not read the code completely so I don't know. You'd know better. Could you also please share the snippet to control this setting from the functions.php?
Does this piece of code look right to you?
if( is_product_category( 'category1-slug' ) || is_product_category( 'category2-slug' ) ) {
add_filter( 'woof_disable_filter', true );
}
Quote from Pablo Borysenco on December 6, 2022, 12:54Hello
This hook will prevent the filter from being initialized on the frontend
An example:
add_filter( 'woof_disable_filter', function($hide) {
if($check_page_to_hide) {
$hide = true;
}
return $hide;
} );
Hello
This hook will prevent the filter from being initialized on the frontend
An example:
add_filter( 'woof_disable_filter', function($hide) {
if($check_page_to_hide) {
$hide = true;
}
return $hide;
} );
Quote from vikas on December 6, 2022, 23:35Thanks Pablo! When are you going to release the new plugin update?
Thanks Pablo! When are you going to release the new plugin update?
Quote from Pablo Borysenco on December 7, 2022, 12:43hello
Unfortunately, I can't give an exact date. I guess it will be early 2023
hello
Unfortunately, I can't give an exact date. I guess it will be early 2023
Quote from vikas on December 7, 2022, 13:46Great! Please don't forget to add this piece of code in your next update.
Thanks!
Great! Please don't forget to add this piece of code in your next update.
Thanks!
Quote from Pablo Borysenco on December 8, 2022, 11:50Hello
I already passed this to the developers
Hello
I already passed this to the developers