{% sw_extends '@Storefront/storefront/page/product-detail/tabs.html.twig' %}
{% block page_product_detail_tabs_content %}
{# @todo: Abfrage und verschieben in Plugin #}
{# mobile version #}
{#
<div class="d-sm-none">
{% sw_include '@Storefront/storefront/page/product-detail/supplement-product.html.twig' %}
</div>
#}
{{ parent() }}
{% endblock %}
{% block page_product_detail_tabs_navigation_review %}
{% if page.product.sortedProperties|length > 0 or page.product.translated.customFields.custom_product_info_table %}
<li class="nav-item">
<a class="nav-link product-detail-tab-navigation-link"
id="properties-tab"
data-toggle="tab"
data-offcanvas-tabs="true"
href="#properties-tab-pane"
role="tab"
aria-controls="properties-tab-pane"
aria-selected="true">
{{ "detail.productPropertiesTitle"|trans }}
<span class="product-detail-tab-navigation-icon">
{% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
</span>
</a>
</li>
{% endif %}
{% endblock %}
{% block page_product_detail_tabs_content_review %}
{# @todo: Abfrage und verschieben in Plugin #}
{# none mobile version #}
{#
<div class="d-sm-block">
{% sw_include '@Storefront/storefront/page/product-detail/supplement-product.html.twig' %}
</div>
#}
{% if page.product.sortedProperties|length > 0 or page.product.translated.customFields.custom_product_info_table %}
<div class="tab-pane fade show"
id="properties-tab-pane"
role="tabpanel"
aria-labelledby="properties-tab">
<div class="product-detail-properties tab-pane-container">
<button class="btn btn-light btn-block offcanvas-close js-offcanvas-close sticky-top">
{% block utilities_offcanvas_close_icon %}
{% sw_icon 'x' style { 'size': 'sm' } %}
{% endblock %}
{% block utilities_offcanvas_close_text %}
{{ "general.offcanvasCloseMenu"|trans|sw_sanitize }}
{% endblock %}
</button>
{% sw_include '@Storefront/storefront/page/product-detail/properties.html.twig' %}
</div>
</div>
{% endif %}
{% endblock %}