Product
Store demo
Showcase
Features
Why for developers
Why for store owners
Industries
Fashion
Health & Beauty
Food & Beverage
Automotive
Industrial & Scientific
Furniture
B2B eCommerce
International
Downloads
Download nopCommerce
Marketplace
Translations
Copyright removal key
Mobile application
Web API
Support & services
Training
Documentation
Community forums
Premium support services
Request a quote
Contact us
Partners
English
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Get started
Shopping cart
My account
Log in
Register
Home
>
Forums
>
General
>
General Support
>
Hide categories and their images
Hide categories and their images
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
pantonis
Total Posts:
135
Karma:
755
Joined:
4/16/2018
Location:
United Kingdom
Posted:
5 years ago
WHen I click on a category first it shows its subcategories and then the products.
I dont want categories to be shown just the products. Also dont want to show category images.
How can I achieve above functionality?
Thanks in advance
RoastedBytes
Total Posts:
392
Karma:
5323
Joined:
4/22/2014
Location:
India
Posted:
5 years ago
To show products from child categories enable the setting
Include products from subcategories
from
Catalog Settings
page.
To hide subcategories, edit the file
Views/Catalog/CategoryTemplate.ProductsInGridOrLines.cshtml
(or relevant theme file in case you are using some custom theme) and remove the code to display subcategories (
line 80-103
in default theme).
Hope that helps.
Best Regards,
Anshul
pantonis
Total Posts:
135
Karma:
755
Joined:
4/16/2018
Location:
United Kingdom
Posted:
5 years ago
Thank you very much
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Still have questions or need help?
.
Premium support services
.
Get dedicated support from the nopCommerce team with a guaranteed response within 24 hours.
.
Online course for developers
.
Get the practical and technical skills you need to run and customize nopCommerce websites.