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.
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.
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.
Suppliers Module - XML, CSV, XLS Product Feed Import and Update
Rich Snippets | Facebook Open Graph Meta Tags | WebP Images
Who is online
Users browsing this forum: No registered users and 65 guests