CyberStore Ecommerce 2023 Documentation
MaxCategoryDepth Property (CatalogCategoryNavigationControl)


Dovetail.Ecommerce.Controls Namespace > CatalogCategoryNavigationControl Class : MaxCategoryDepth Property
Gets or sets the maximum depth of the category navigation.

Property Value

Type: Integer

An integer value that specifies the maximum depth of the category navigation.

The default value is 99.

Remarks
The maximum number of categories which will be displayed in the menu. This allows for a scenario where items are treated as UPCs and the lowest level category is treated as a product. For example, you have the category hierarchy of Products -> Apparel -> Shirts -> Dovetail White Polo, and you have two items in "Dovetail White Polo" called "Small White Logo Polo" and "Large White Logo Polo". For navigation purposes, you would not want to show "Dovetail White Polo" on the navigation tree, so you would set MaxCategoryDepth to 2.
See Also

Reference

CatalogCategoryNavigationControl Class
CatalogCategoryNavigationControl Members