Tweak Library

Brand Menu

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


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


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>
                <ul class="list-group">
        [%param *level_1%]
                    <li><a href="[@url@]" class="list-group-item">[@name@]</a></li>
        [%param footer%]

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