Hello,
we would like to add some custom taxonomies to the Woocommerce products. We have added one called “diet” – which works fine.
However we want to enable product filtering in the shop for it.
We used the “Filter by brands”-widget code (et-core-plugin/app/models/widgets/brands-filter.php) as a template, to have the same styling as the rest of the theme.
The widget is shown correctly, however when we select a “diet” it overwrites the brand filter and completely removes it. If we choose a brand it overwrites the diet filter. Furthermore, the shop page does not respect the selection of the diet filter.
How can we extend the theme to filter products with our custom taxonomies?