Featured Brands Menu
A list of featured brands displayed in the footer, offering another way to search for items.
Wireframe
Preparation Checklist
Before you start this tweak, it's a good idea to run through our preparation checklist below:
- Read through the Getting Started Guide to get a better sense of how the Control Panel, Database and Front End store interact.
- Learn our recommended Simple Workflow. This makes the implementation process as easy as possible.
- Create a new Staging Theme for this tweak. This allows you to preview any changes before they are visible to live customers.
- The code snippet in this tweak doc uses Bootstrap 4, you may need to alter this code depending on what version of Bootstrap your theme is using. You can find out what version your theme is using here.
Coding Instructions
Step 1: Open the footer template
The footer template can be found here /httpdocs/assets/themes/[THEME-NAME]/templates/footer/template.html
.
Before adding the featured brands code, you will need to make a very minor change to the footer menu in order to allow space for the featured brands. You will need to update col-md-4
to col-md-3
within the [%menu id:'web_footer'%]
function.
Step 2: Add the code into the template
Paste the following code into the footer template after the closing [%/cache%]
tag around the menu.
<!-- Footer Featured Brands -->
[%thumb_list type:'content' content_type:'brand' limit:'6' sortby:'sortorder' filter_content:''%]
[%param *header%]
<div class="col-12 col-md-3 text-md-left">
<ul class="nav flex-column">
<li class="nav-item"><h4 class="nav-link py-0">Featured Brands</h4></li>
[%/param%]
[%param *body%]
<li class="nav-item"><a href="[@URL@]" class="nav-link">[@name@]</a></li>
[%/param%]
[%param *footer%]
</ul>
</div>
[%/param%]
[%/thumb_list%]
Final Result
Customising this Section
More information on how to customise this section can be found within the Thumb List Documentation.