I am working on a website. I have installed Ubercart and done all the setup, I also have Taxonomy installed. I have two types of vocabulary. One for "Category/Subcategory" of products, and one for "Tags" let's just say.
I have menu items that let them refine what they are looking at by category/subcategory. I also have another set of menu items that let them define by Tag.

However, here comes the tricky part. I need to be able to refine by both. SO if I have a drop down menu of keywords, for each key word I need a list of categories..I need it to filter by that category but only show ones with that tag. Is this possible, and what is the best way to do this.

I found: http://drupal.org/project/taxonomy_filter and tried it out, I can't even get this to work at all. The URL's don't work.
Any advice on the best way to do this, would be greatly appreciated.

Comments

aarondesignedit’s picture

I'm also working on a site with a similar situation but have some luck with taxonnomy_filter module. Where I think the problem may be is in the views argument "taxonomy term id (with depth)":

Allow multiple terms per argument
If selected, users can enter multiple arguments in the form of 1+2+3. Due to the number of JOINs it would require, AND will be treated as OR with this argument.

However, you can still allow multiple arguments which are separated by commas etc.

While this is good fundamentally, it doesn't solve the problem when you have many products needs to meet a criteria in both taxonomies.

For instance if taxonomy 1 has Make, Model, Year; taxonomy 2 has Color & Finish.

If a user selects only a make like BMW (level 1) then it shows all products for BMW. Good. But what if only the BMW 3 Series (a child term of BMW) comes in Red (red being a term in taxonomy 2)? With taxonomy_filter, you can refine that to a point but what's happening on the site I'm developing is even though a user selects 3 Series and Red it shows all products tagged with BMW.

While I think taxonomy filter may be the best bet the lingering issue goes back to the OR issue above where it really needs AND. Maybe it has to do with parent/child taxonomy terms.

Other thoughts?

infotechnologist’s picture

I just don't get how it works.
I have two VOCABULARIES. Vocab1 and Vocab2 for example. I can display results from either one by just calling the URL. However, I want to
be able to refine it. Basically have Vocab1 and Vocab 2 together. So if I have A B and C as terms in Vocab1 then I have 1, 2, and 3 in Vocab2. I want to be able to filter them both. Normally if I go to A I get those results, if I go to 1 I get those results. however, I want to be able to filter by both a in Vocab1, and 1 in vocab2. However, I can't seem to be able to do a cross vocab search..even with the filter. Any advice?

adam_b’s picture

Have you tried http://drupal.org/project/views? This allows you to filter by vocabularies and/or terms, and expose the alternatives to users if you want.