-1) If a root category is given all the subcategories and products under that category will be available. -
--2) If an intermediate category(ie. one with parent and child categories) is given then parent category and all child categories will be available. -
--3) If a child category(ie. one without any child categories), the category can be reached by traversing its ancestor categories. -
-