{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_head %}
{% sw_include '@Storefront/storefront/page/product-detail/meta.html.twig' %}
{% endblock %}
{% block base_main_inner %}
<div class="container-main product-page">
{% block page_content %}
{% block cms_breadcrumb %}
<div class="breadcrumb cms-breadcrumb container">
{% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
context: context,
category: page.product.seoCategory
} only %}
</div>
{% endblock %}
{% block cms_content %}
<div class="cms-page product-detail" itemscope itemtype="https://schema.org/Product">
{% block page_content_blocks %}
{% sw_include "@Storefront/storefront/page/content/detail.html.twig" with {'cmsPage': page.cmsPage} %}
{% endblock %}
</div>
{% endblock %}
{% endblock %}
{% block detail_page_sticky_nav %}
{% set categories=item.null %}
{% for item in page.header.navigation.tree %}
{% if 'Leitsysteme' in item.category.name %}
{% set categories=item.children %}
{% endif %}
{% endfor %}
<div class="sticky-nav d-none d-sm-block">
<div class="sticky-nav--headline">Taktile Leitsysteme!!</div>
<ul class="sticky-nav--list">
{% for item in categories %}
<li class="nav-item"><a class="nav-item-link"
href="{{ category_url(item.category) }}">{{ item.category.translated.name }}</a>
</li>
<!-- ul>
{% for children in item.children %}
<li>
<a href="{{ category_url(children.category) }}">{{ children.category.translated.name }}</a>
</li>
{% endfor %}
</ul-->
{% endfor %}
</ul>
</div>
<div class="sticky-nav-overlay d-none d-sm-block"></div>
{% endblock %}
</div>
{% endblock %}