How can I show sub-categories right in the Categories list, e.g.:
Root Category #1
- Sub Category #1
- Sub Category #2
- Sub Category #3
Root Category #2
- Sub Category #4
- Sub Category #5
- Sub Category #6
Nopcommerse v2.60
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to extend CategoryNavigationModel with something like
Then in CategoryNavigation action in CatalogController add one more loop for adding sub categories
And then in CategoryNavigation.cshtml you can display sub categories within @foreach (var category in Model)
In that way: