Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 921 Bytes

Categories.md

File metadata and controls

21 lines (11 loc) · 921 Bytes

Categories

Every shops can categorize their products, It means every product must be linked to a category and also every category may have some subcategories to better categorize the products. then we have two consepts in here for categories:

  • Root category
  • Subcategory

Root category

A root category is a category which doesn't have any paret category but it may have some subcategories as its children.

Subcategory

A subcategory belongs to a parent category and also it may have some child category as another level of the subcategories.

Category properties

Every category, both root and subcategory have some properties which will be use to filter the search result. It means when a search happens on a category user will be able to filter the search result with the category's properties.

When a product adds to a category, category's properties wil be fill along with the product properties.