Post by danafriedman64 » Tue Dec 03, 2019 6:11 am

Hi Folks:

Sorry, I'm a newbie. I apologize in advance for my newbie question. I did a search for the topic before having started this message, and I'm not even 100% sure what I'm looking for.

My company's web developer is trying to finish a project by adding a top-level menu to our OpenCart site. We can't see how the menus are generated. I see that there's a programming language Twig, and that there are plug-ins to assist with menus. The ones I've seen so far either don't work with our theme or aren't compatible with 3.0.

Is there a simple link for seeing how the menus are generated, and a quick way to add a top-level menu item?

Thanks,
Dana


Posts

Joined
Wed Nov 13, 2019 5:10 am

Post by by mona » Tue Dec 03, 2019 7:15 am

To include a category in the top level menu you just click the TOP in the category

Admin -> Catalog -> Category -> Data tab -> Top
Screen-Shot-2019-12-02.jpg

Screen-Shot-2019-12-02.jpg (32.8 KiB) Viewed 94 times

If you are looking to add something else to the menu, you have to modify the catalog/view/theme/xxx/template/common/menu.twig
If you are looking to add a new menu as well as the existing one https://www.opencart.com/index.php?rout ... n_id=33048 can do that

Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 6 guests