Close

remove category list, keep products

yuryb
8 years ago
#9481 Quote
Avatar
  • 1
I have a very extensive list of sub-categories. Because of that, when the root category is clicked, the template is showing a very large number of sub-categories, and only after that - the list of products.
The question is: is it possible to suppress the list of sub-categories, and show products only?
Thank you in advance,
Yury
iliyan.tanev
8 years ago
#9484 Quote
Avatar
  • Moderator
  • 347
Hi,

Unfortunately there is no setting you can use to achieve this. However you can remove them from the CategoryTemplate view.

Open Views\Catalog\CategoryTemplate.ProductsInGridOrLines.cshtml there you will find a subcategories section, just comment it and the subcategories will disappear.

Hope this helps!
Regards,
Iliyan Tanev
Nop-Templates Dev Team