Zen Cart Logo
Forums / Addon Sideboxes / Add one certain Category dropdown to the main Hamburger menu

Add one certain Category dropdown to the main Hamburger menu

Views: 1,809

Results 1 to 2 of 2
21 Nov 2023, 3:14 PM
#1
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,178
Plugin Contributions:
0

Add one certain Category dropdown to the main Hamburger menu

Zen Cart 158a
PHP 7.4.33
bootstrap 3.5.3 beta

I believe I will be editing the following .php file below.
includes/templates/boot_haredo/common/tpl_offcanvas_menu.php

The Mobile view after one clicks, the hamburger I see:
Yes all below have drop-downs within them:
Hare Do Products
Information
Company History and Care
Step by Step Guides

Under Hare Do Products I have 7 drop-downs listed.
How can I place the 3rd one down which is called (Video Tutorials) to be viewed when I click on the Hamburger?
Video Tutorials has an ID of 17 and is Product-Music

Example:
Hare Do Products
Video Tutorial
Information
Company History and Care
Step by Step Guides

24 Nov 2023, 4:06 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,178
Plugin Contributions:
0

Re: Add one certain Category dropdown to the main Hamburger menu

Finally, got my final result working after studying a little about the code structure within bootstrap.

<li class="nav-item">
    <a class="nav-link" href="https://xxxxxxxxxxxxx.com/index.php?main_page=index&cPath=17">
        Video Tutorials
    </a>
</li>

Looks and works great!