0

I have a bunch of wines imported as products in drupal commerce and i want to make a 'regions' page to give a list of all the regions that is automatically populated by pulling the 'region' out of each product but that only displays unique values.

at the moment i have a list of all the products with the same region listed loads of times and i can't find a way in views to only show the regions once.

danjns
  • 1

1 Answers1

0

Try going to 'Settings' under the 'Format' section of your view and setting your region as the 'Grouping field Nr.1' -- you can then list the products from that region underneath or not....

============== EDIT ==================

If you don't want to display the wines under the terms, just start a new view from scratch, and when you're creating it, choose that you want to make this a taxonomy terms view, vs a content view. That should do it!!

enter image description here

Boriana Ditcheva
  • 1,995
  • 15
  • 26
  • I don't want to display all the products just a list of the regions (taken from the products). Then once they pick a region the wines from that region will be displayed. – danjns Jul 02 '12 at 23:07
  • Unlessthere is someway of having a pull down menu in a sidebar that is populated by the region field item. – danjns Jul 02 '12 at 23:08
  • Alright. I've edited my response then. I think the second option would be more suitable for you.... – Boriana Ditcheva Jul 03 '12 at 15:54
  • sorry... how do i make the regions within the product become a taxonomy term? – danjns Jul 09 '12 at 12:40