bootic: breadcrumb for product.html

<div id="breadcrumbs"> <div class="bootic_nav"> <p> <a href="{{shop.url}}" class="home">Inicio</a> <span class="nav-separator depth-1"> > </span> {% if product.has_collections %} <a href="/products">{{ 'Productos' }}</a> <span class="nav-separator depth-1"> > </span> {% for collection in product.collections limit: 1 %} <a href="{{ collection.url }}">{{ collection.title }}</a> <span class="nav-separator depth-1"> > </span> {% if product.product_type %} <a href="{{ collection.path }}{{ product.product_type.path }}">{{ product.product_type.name }}</a> <span class="nav-separator depth-1"> > </span> <span class="current">{{ resource.title }}</span> {% endif %} {% endfor %} {% endif %} </p> </div> </div>

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.