How to show category then all products in category for each category
I am trying to show a category, for example shoes and then show all the shoes in that category and then show the next category and all the products in that category and so on. I am able to show all the products but the category part I can't think of how to do.
I have this so far displaying the products: