Creating product category specific (sub)filtering
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 B on March 4, 2021, 16:30On 3 of my product categories I have extra filters that need to be displayed just in those categories (different extra filters for each). Is there a way to do this with custom taxonomies? or programming in specific tags or sub categories? Currently subcategories are hidden in the filter.
https://yellowdandelion.com/product-category/bar-bat-mitzvah/
https://yellowdandelion.com/product-category/weddings/
On 3 of my product categories I have extra filters that need to be displayed just in those categories (different extra filters for each). Is there a way to do this with custom taxonomies? or programming in specific tags or sub categories? Currently subcategories are hidden in the filter.
https://yellowdandelion.com/product-category/bar-bat-mitzvah/
https://yellowdandelion.com/product-category/weddings/
Quote from Pablo Borysenco on March 5, 2021, 13:00Hello
In widgets use shortcode [woof] with attribute : * taxonomies=product_cat:X
+
tax_only - write taxonomies or products slug using comma
+
by_only - write any by-filter-elements there using comma: by_text,by_price,by_sku,by_author,by_insales,by_instock. Of course firstly user should enable extensions for that by-filter-elementsFor show or hide widgets on different pages - http://www.woocommerce-filter.com/how-to-show-or-hide-widget-only-on-selected-site-pages/
You can read more about shortcodes - http://www.woocommerce-filter.com/documentation/#!/section_3_1
Hello
In widgets use shortcode [woof] with attribute : * taxonomies=product_cat:X
+
tax_only - write taxonomies or products slug using comma
+
by_only - write any by-filter-elements there using comma: by_text,by_price,by_sku,by_author,by_insales,by_instock. Of course firstly user should enable extensions for that by-filter-elements
For show or hide widgets on different pages - http://www.woocommerce-filter.com/how-to-show-or-hide-widget-only-on-selected-site-pages/
You can read more about shortcodes - http://www.woocommerce-filter.com/documentation/#!/section_3_1
Quote from B on March 7, 2021, 16:14Hi
On this page https://yellowdandelion.com/product-category/bar-bat-mitzvah/ I wanted to show just specific sub categories in the Events section, so I set up a widget in the filter column with this short code[woof taxonomies=product_cat:129,130,131] and then I installed widget logic and put in - is_product_category('bar-bat-mitzvah')
Now the page isn't showing the specific categories (events) I wanted, its showing all of them.
What am I doing wrong?
Hi
On this page https://yellowdandelion.com/product-category/bar-bat-mitzvah/ I wanted to show just specific sub categories in the Events section, so I set up a widget in the filter column with this short code[woof taxonomies=product_cat:129,130,131] and then I installed widget logic and put in - is_product_category('bar-bat-mitzvah')
Now the page isn't showing the specific categories (events) I wanted, its showing all of them.
What am I doing wrong?
Quote from Pablo Borysenco on March 8, 2021, 13:01Hello
It looks like I misunderstood you
Only child categories can be shown on the category page
I thought you wanted to display different filters based on categories
If you want to hide / show taxonomy terms use this hook - https://products-filter.com/hook/woof_sort_terms_before_out/
Hello
It looks like I misunderstood you
Only child categories can be shown on the category page
I thought you wanted to display different filters based on categories
If you want to hide / show taxonomy terms use this hook - https://products-filter.com/hook/woof_sort_terms_before_out/
Quote from B on March 8, 2021, 13:37Ah, no its the same filter, just on some of the product category pages you show specific sub categories (not all of the sub categories of that section)
how does this hook - $terms = apply_filters('woof_sort_terms_before_out', $terms, 'checkbox');
allow me to decide which sub categories to show
for example in a product catgory I have sub categories of
boys shirts
boys pants
boys socks
boys shoes
girls shirts
girls pants
girls socks
girls shoes
boys
girlsand I only want to show some of them. Is there a way to do that
Ah, no its the same filter, just on some of the product category pages you show specific sub categories (not all of the sub categories of that section)
how does this hook - $terms = apply_filters('woof_sort_terms_before_out', $terms, 'checkbox');
allow me to decide which sub categories to show
for example in a product catgory I have sub categories of
boys shirts
boys pants
boys socks
boys shoes
girls shirts
girls pants
girls socks
girls shoes
boys
girls
and I only want to show some of them. Is there a way to do that
Quote from B on March 9, 2021, 13:24Like if I want to only show Boys and Girls. can I force that?
Like if I want to only show Boys and Girls. can I force that?
Quote from Pablo Borysenco on March 9, 2021, 14:24Hello
Please drop me screenshots of your category/ I want to see the structure
how is it supposed to work: An example - Cutegory Music - https://c2n.me/4benfBd.png
on the Music category page, the filter will automatically show only Singles and Albums
Hello
Please drop me screenshots of your category/ I want to see the structure
how is it supposed to work: An example - Cutegory Music - https://c2n.me/4benfBd.png
on the Music category page, the filter will automatically show only Singles and Albums
Quote from B on March 9, 2021, 14:31https://tinyurl.com/ybrtjodp
we have a number of sub categories. Not sure if its possible to reorganize, put some of them in a more generic set of sub categories and just show those...and just not show the others.
we have a number of sub categories. Not sure if its possible to reorganize, put some of them in a more generic set of sub categories and just show those...and just not show the others.
Quote from B on March 10, 2021, 10:59I want to have the other sub categories existing for categorization...I just dont want them in the filter. is that possible?
I want to have the other sub categories existing for categorization...I just dont want them in the filter. is that possible?
Quote from Pablo Borysenco on March 10, 2021, 14:01Hello
I'm still not sure if I understood you correctly
But ok! If you want to hide the terms - https://c2n.me/4bfiGDY.png - but this works globally for all pages
If you need to hide terms only on certain pages use this hook - https://products-filter.com/hook/woof_sort_terms_before_out/ - If you have no experience in programming, you should hire a developer.
Hello
I'm still not sure if I understood you correctly
But ok! If you want to hide the terms - https://c2n.me/4bfiGDY.png - but this works globally for all pages
If you need to hide terms only on certain pages use this hook - https://products-filter.com/hook/woof_sort_terms_before_out/ - If you have no experience in programming, you should hire a developer.