Create a Category Page
Categories are content items within Sitecore, data associated with Categories can be retrieved from the item. Categories could contain many children, consider paging the results of the category information to the user and making use of search to retrieve product and category children.
Complete the following prerequisites:
-
You have products in your catalog
-
You have assigned a layout and some controls to the products within your catalog
At the Content Editor
-
Create a view for your category called
_Category.cshtmland use it in the layout controls in Sitecore. You need a view for relationships displayed on the category page called_CategorySummary.cshtml.Category.cshtml
ProductSummary.cshtml
-
Create your basic view model for categories.
-
Create an action controller.
Previewing a category from within the Sitecore content editor displays a page with details about that category.