0
votes

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.

1
Did you try the distinct functionality in views?jsheffers
what is the 'distinct' functionality?danjns
Edit the view and go to Advanced > Query Settings > Distinctjsheffers

1 Answers

0
votes

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