I'm hoping someone can help me how to combine taxonomy terms into a view. Right now when I set up taxonomy, I can only view either by single taxonomy only (either by city or by business type, but not both). I'm trying to set up architecture where I can drill down. For example see certain categories of business within specific city.

I created a taxonomy terms one for city (ex: Miami, New York, etc) and separate one for business (ex:yoga; pilates, etc).
You can click on the city and see all listings in that city or click on type and see all listings by that type in all cities.

I just need to give option for people to choose type of business and the city and only show that city with that type of business they chose. Is it done through views? Or advanced search? or something esle?

Any ideas on how to set it up?

Thank you.

Comments

nevets’s picture

You could make a view that shows all listing with two exposed filters, one on each of the taxonomies.

Hipster’s picture

So when create a new view I need to use content or taxonomy terms to display? Also do I need to add any arguments or link them in some way? I haven't set it up this way before so I'm not to sure the right way to do it. Can you explain.

All business types are the same and I'd rather not recreate them for each city, is there an easier way where I can define different taxonomies and then combined them to have the structure you see below? Thank you very much

- all listings

-- city 1
--- business type 1
--- business type 2
--- business type 3

-- city 2
--- business type 1
--- business type 2
--- business type 3

Hipster’s picture

Thank you very much for your help. Would you happen to know if there is a page or a link where I can find out more info.
I only set up views that use only single taxonomy before. So if the listing has specific taxonomy, user can click and go to the page with just that term. I'm trying to create various categories of wellness businesses that are in different cities, but I need to be able to break it down further. So if someone wants to find certain businesses (taxonomy term: yoga) within specific city (taxonomy term: new york), they will be able to find a page listing both.

Obviously categories will grow, and somehow I need to be able to create dynamic pages that are populated these variations of taxonomy terms. I though maybe advanced search might be an option, but I have neither tried exposed filter with views nor advanced search so I'm trying to figure out what can be used, maybe neither. maybe there is a better way.

I'm hoping someone who'd done this already can point me in the right direction.

Let me know. Thank you in advance