# How to make a menu listing all my brands

**URL:** <https://forum.litium.com/t/how-to-make-a-menu-listing-all-my-brands/915>\
**Category:** Questions\
**Created:** [June 11, 2019, 2:26pm UTC](https://forum.litium.com/t/how-to-make-a-menu-listing-all-my-brands/915 "2019-06-11T14:26:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![erik.jorpes](https://avatars.discourse-cdn.com/v4/letter/e/8491ac/32.png) [@erik.jorpes](https://forum.litium.com/u/erik.jorpes)\
**Post date:** [June 11, 2019, 2:26pm UTC](https://forum.litium.com/t/how-to-make-a-menu-listing-all-my-brands/915/1 "2019-06-11T14:26:02Z")

</div>

Hi Volks

I want to build a mega menu item that list all distinkt brands I have, and by clicking on one brand, I will list all product matching that Brand. -How do I do this?

First, I assume I need to assign a proper value of the Brand attribute for my products. I assume I can use some “out of the box functionality” since there is already indication that this should work. There is a section Block called “Brands”. There is a default template called “Brand list”…

I do understand how I make a section Block of type Brand and manually add a smarList that matching searchCriteria “brand equals XXX”. But I want the system dynamically to produce the list of my distink set of brands, and present them as “links” and by clicking them a result set of all product mathing the selected Brand.

Thanks!

Litium version: 7

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [June 12, 2019, 1:47pm UTC](https://forum.litium.com/t/how-to-make-a-menu-listing-all-my-brands/915/2 "2019-06-12T13:47:17Z")

</div>

When is the use case for doing this?

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [June 12, 2019, 2:30pm UTC](https://forum.litium.com/t/how-to-make-a-menu-listing-all-my-brands/915/3 "2019-06-12T14:30:47Z")

</div>

If you check the accelerator-file `BrandListViewModelBuilder` and the method `GetNavigationModel` you can find out how to fetch all the brands from search index. In the above file the variable `tagTerm` will contain all the tags with the count of how many instances.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [July 10, 2019, 2:30pm UTC](https://forum.litium.com/t/how-to-make-a-menu-listing-all-my-brands/915/4 "2019-07-10T14:30:54Z")

</div>

Closed on July 10, 2019, 2:30pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
