Custom Product Categories


It's very common to need to extend the base Active Commerce product category, adding additional fields, configuring different product pages, changing presentation details, etc.


You've created your new category, inherited from the Active Commerce category template (/sitecore/templates/ActiveCommerce/Categorization/Category), yet your category doesn't seem to work. You could be seeing:

  • It doesn't show up as a sub-category on the category list page (Category-CategoryList.ascx)
  • A Glass Mapper error "Key was not present in the dictionary" is thrown on the product list page (Category-ProductList.ascx) or product detail page


When creating a custom category, you need to create a corresponding domain model class which is mapped and registered with Glass Mapper. See the following example on our GitHub site for complete details:

Have more questions? Submit a request