bootic: menu lateral por colección

{% for link in menus.para-menu-lateral.links %} {% if collection == link %} <ul class="side-menu" id="shop-catalog"> <li class="menuitem-{{ link.slug }}"> <h3><a href="{{ link.url }}">{{ link.title }}</a></h3> {% for link in menus.para-menu-lateral.links %} {% if collection == link %} <ul class="menu-two menu-types"> {% for tipo in link.product_types %} <li class="level-two {% if product_type == tipo %} current {% endif %}"> <a href="{{ link | typed_collection_path: tipo }}">{{ tipo.name }} <span class="sep">/</span></a> </li> {% endfor %} </ul> {% endif %} {% endfor %} </li> </ul> {% endif %} {% endfor %}

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.