ProductCategoryCollection reference
This article provides reference material about ProductCategoryCollection
class.
Properties
Count
Number of root categories in this collection.
TotalCount
The total number of categories, including the children categories.
Methods
FindById
The method allows searching for a category by its identifier, which is useful when navigating the category tree.
FindByPath
The method allows searching for a category by path.
ToFlatList
The method returns a flat list of all the categories in the collection, including their children categories.