<ul id="shop-catalog" class="menu">
{% for link in menus.catalog.links %}
<li class="menuitem-{{ link.slug }}{{ ' current' | if_current_page: link }}">
<a href="{{ link.url }}">{{ link.title }}</a>
<ul class="submenu">
{% for tipo in collection.product_types %}
<li class="{% if product_type == tipo and collection == link %} current {% endif %}">
<a href="{{ link | typed_collection_path: tipo }}">{{ tipo.name }}</a>
</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
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.