Forums › Forums › Search & Filter Pro › Filtering by category on Taxonomy page
- This topic has 9 replies, 2 voices, and was last updated 6 years, 6 months ago by Anonymous.
-
Anonymous(Private) June 13, 2018 at 11:43 am #180279
Hi
I have a Woocommerce store that contains products organised into the standard categories and also assigned one or more “industry” taxonomies. I have created my own “taxonomy-industry.php” template which has the standard loop in it and that page shows the products that are assigned to this taxonomy – all fine. So for instance one Taxonomy page is called “Restaurants” and that shows products that are from 4 of the 15 total categories.
What I would like to do is show a checkbox filter on the sidebar which displays ONLY the matching categories (the 4) so my users can further filter these taxonomy results by the categories.
I cannot seem to get this working. I have it displaying the categories on the sidebar but it shows ALL the categories, I need it to just show the ones that contain products that also have a taxonomy assigned that matches whatever taxonomy archive page I am on.
Any pointers? Thanks in advance.
-
AuthorPosts