- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 04:45 PM
Hi All,
We've recently migrated from Istanbul to Kingston. We've created a tree view nav bar by parenting the categories. Below is a screenshot.
The need something displays 0 items because it is only a placeholder for the subcategories. But when I click on it, it displays all the records of the subcategories.
Is there a way to prevent the primary category not to display its subcategories?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2018 01:23 PM
You would need to clone and modify the "SC Categories" widget. There aren't any Options on the widget to hide/show subcategories.
Within the widget HTML, you would need to change some of the logic within the scripting for the ng-template "category-template.html" such as the following piece:
categories.subcategories.length > 0

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2018 01:23 PM
You would need to clone and modify the "SC Categories" widget. There aren't any Options on the widget to hide/show subcategories.
Within the widget HTML, you would need to change some of the logic within the scripting for the ng-template "category-template.html" such as the following piece:
categories.subcategories.length > 0

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2018 08:31 AM
Please remember to mark as helpful or correct answer if I've answered your question.