Context filter "Has taxonomy term ID (with depth)" when taxonomy term belongs to product and not product display
Hi Guys,
I have a view to show my shop products in a categorized way.
I have noticed that if the taxonomy term field is at product display, i can add the filter context "Content: Has taxonomy term ID (with depth)" but if the taxonomy term field is at Commerce Product i cant see that (even when having the commerce product as a relation in the view).
If the relation is in place, i should see some context filter called "(Product) Commerce Product: Has taxonomy term ID (with depth)" but it doesnt.
I need this because in a given taxonomy term i should show the products directly in this term and in any child term.
I cant change the taxonomy term from commerce product to product display because the products are sincronized from openerp and the products category are managed there (in the openerp system) and not at the product display level.
Anyone has any idea about how to solve that problem?
Thanks,
Bolo
Comments
I just stumbled on the same
I just stumbled on the same problem. This is essential! Investigating...
[edit]
I came accross this:
http://drupal.org/sandbox/yanniboi/1462604
However I can't get it to work despite the instructions in the readme...
Look into search api
I was completely unaware of this set of modules that let's you search content with facets. It will enable you to do what you want and a lot more. Plus its kind of easy to set up! Here's a tutorial: http://envisioninteractive.com/drupal/drupal-7-views-with-faceted-filter...