I have couple of products which are classified with taxonomy terms.

I am using Search API with views to display search results.

I want to show the search results in this way.

Term 1 Name

  • product 1
  • product 2
  • product 3

Term 2 Name

  • product 5
  • product 8
  • product 3

Term 3 Name

  • product 10
  • product 25
  • product 1

What should I look into? Any idea how canIi group the results based on the term? Thank you.

1 Answer 1


Open your views, in editing mode , in formatting section, near table, select settings, and then in Grouping field Nr.1 select your taxonomy field ,save ,it makes the views result goruped by selected field in Grouping field Nr.1.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.