Content of the page

How to filter products based on current term of custom taxonomy

Content of the article

Question: I have woocommerce with brands plugin installed, each brand page shows the products of this brand, can this plugin filter those products based on category?

Yes. Go to the widget (or the shortcode) and in the bottom of this find textarea with the title 'Additional taxonomies conditions:' - and drop next text there in such manner: brand=26

  • brand - is your taxonomy slug-name
  • 26 - brands term ID;
  • You can add more brands: brand=26,96,12

You can add another taxonomies in conditions: brand=26,96^products_cat=12,14^homes=34 ...etc.

By the way: from v.1.1.7/2.1.7 works new feature: product_cat=current -> as in redirect so in ajax mode. Very useful thing when works with the filter on categories pages and filtering goes on the same page. Works for all taxonomies ...