Tweak Library
Note: We have updated our folder structure in Neto 6 and this has not been updated on all tweaks yet. More info.

Brand Menu

A "brands" menu, which shows all of your brands, as a text list.

Industries

  • Fashion
  • Computers & Electronics
  • Fitness & Supplements
  • Health & Beauty
  • Alcohol
  • Jewellery & Accessories

Wireframe

Review Stars

Coding Instructions

Step 1. Add the menu

Open cms/includes/sidebar.template.html and add the below code directly below the closing [%/cache%] tag underneath [%/categorymenu%]:

[%cache type:'menu' id:'brands_menu'%]
    [%content_menu content_type:'brand' sortby:'sortorder' show_empty:'1'%]
        [%param header%]
            <div class="panel panel-default hidden-xs">
                <div class="panel-heading">
                    <h3 class="panel-title">Brands</h3>
                </div>
                <ul class="list-group">
        [%/PARAM%]
        [%param *level_1%]
                    <li><a href="[@url@]" class="list-group-item">[@name@]</a></li>
        [%/param%]
        [%param footer%]
                </ul>
            </div>
        [%/param%]
    [%/content_menu%]
[%/cache%]

Notes On The Above Code

The show_empty:'1' parameter ensures that all brands are shown, regardless of whether they have any products associated with them.

Final Result

Download Files

Download Files