Post by mteverest » Sat Jul 11, 2015 12:19 am

In my store, there are main categories with sub categories. I want to make all categories accessible via main menu only. At present, when visitor click on a category from main menu, OpenCart displays a page with its sub categories links at the top and available products just below that. I want to show only products not the links of sub category.

Can someone please advise which file i need to modify to achieve this.

Any suggestion is highly appreciated.

Thanks in advance.

User avatar


Sat May 17, 2008 8:46 am
Location - Dhulikhel, Nepal

Post by agatha65 » Sat Jul 11, 2015 1:23 pm

To make your subcategories main categories you have to remove their parent links in the admin and to display them in the menu you have to check the checkbox top and save. This way all your categories will be top level categories.

But if you want to remove only the subcategory links in the category template you have to change the template code, even better controller code too, to speed up the page loading. This is very strange because the sub categories will be inaccessible.

Print Version for Product Page and Product Compare Page | Rich Snippets | Facebook Open Graph Meta Tags | Information pages in top menu | Multi-Language Banners, Sliders and Carousels

User avatar
Active Member


Fri Mar 16, 2012 10:18 am
Location - Canada, QC
Who is online

Users browsing this forum: No registered users and 30 guests