cbaldo wrote:
Hi
I have a similar problem. I need to add in mega menu (motion template) an item for each of our 4 tags. For each tag I need to display all the categories that have products with that tag. Is there a way to embed those tags and categories in mega menu?
Hi,
The template of the Mega Menu has changed a little bit. It should look something like this:
<li>
<span class="with-subcategories">Products</span>
<div class="plus-button"></div>
<div class="sublist-wrap">
<ul class="sublist">
<li class="back-button">
<span>back</span>
</li>
<li>
<a href="/computers" title="Computers" class="with-subcategories">Computers</a>
<div class="plus-button"></div>
<div class="sublist-wrap">
<ul class="sublist">
<li class="back-button">
<span>back</span>
</li>
<li>
<a class="lastLevelCategory" href="/desktops" title="Desktops">Desktops</a>
</li>
<li>
<a class="lastLevelCategory" href="/notebooks" title="Notebooks">Notebooks</a>
</li>
<li>
<a class="lastLevelCategory" href="/software" title="Software">Software</a>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
This is needed to make the menu looks fine on mobile devices.
The functionality you want is not supported out of the box, so you have to write it and populate the menu item with it.
Let us know if you need any further help !