Service Catalog: How to see the subcategories when clicking on category, instead of seeing all items

annied89
Tera Contributor

Hi Community,

 

Right now, when a user click on a category in our Catalog Service, if we have subcategories in that category, instead of seeing the subcategories, the user will see all the items listed within those subcategories. 

 

We would like to know how to configure it in a way that the catalog items are only displayed at the end of the ''fish tail'', and not showing once all under the category, and again under the subcategory. See image below as an example.

 

Thank you!

2 REPLIES 2

AnveshKumar M
Tera Sage
Tera Sage

Hi @annied89 

There is no OOTB solution for this. I recommend creating a custom Widget by cloning the SC Category Page widget. And modify the widget to fetch (from sc_category table) sub categories (if it has any) of the selected category and display them otherwise display the catalog items (from sc_cat_item table). And repeat this until you don't have any sub categories for the selected record.

 

Let me know if you need any more help on this.

Thanks,
Anvesh

annied89
Tera Contributor

Thank you very much! We will try that!