custom/plugins/MadBodymedTheme/src/Resources/views/storefront/page/product-detail/tabs.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/tabs.html.twig' %}
  2. {% block page_product_detail_tabs_content %}
  3.     {# @todo: Abfrage und verschieben in Plugin #}
  4.     {# mobile version #}
  5.     {#
  6.     <div class="d-sm-none">
  7.         {% sw_include '@Storefront/storefront/page/product-detail/supplement-product.html.twig' %}
  8.     </div>
  9.     #}
  10.     {{ parent() }}
  11. {% endblock %}
  12. {% block page_product_detail_tabs_navigation_review %}
  13.     {% if page.product.sortedProperties|length > 0 or page.product.translated.customFields.custom_product_info_table %}
  14.         <li class="nav-item">
  15.             <a class="nav-link product-detail-tab-navigation-link"
  16.                id="properties-tab"
  17.                data-toggle="tab"
  18.                data-offcanvas-tabs="true"
  19.                href="#properties-tab-pane"
  20.                role="tab"
  21.                aria-controls="properties-tab-pane"
  22.                aria-selected="true">
  23.                 {{ "detail.productPropertiesTitle"|trans }}
  24.                 <span class="product-detail-tab-navigation-icon">
  25.                     {% sw_icon 'arrow-medium-right' style {'pack':'solid'} %}
  26.                 </span>
  27.             </a>
  28.         </li>
  29.     {% endif %}
  30. {% endblock %}
  31. {% block page_product_detail_tabs_content_review %}
  32.     {# @todo: Abfrage und verschieben in Plugin #}
  33.     {# none mobile version #}
  34.     {#
  35.     <div class="d-sm-block">
  36.         {% sw_include '@Storefront/storefront/page/product-detail/supplement-product.html.twig' %}
  37.     </div>
  38.     #}
  39.     {% if page.product.sortedProperties|length > 0 or page.product.translated.customFields.custom_product_info_table %}
  40.         <div class="tab-pane fade show"
  41.              id="properties-tab-pane"
  42.              role="tabpanel"
  43.              aria-labelledby="properties-tab">
  44.             <div class="product-detail-properties tab-pane-container">
  45.                 <button class="btn btn-light btn-block offcanvas-close js-offcanvas-close sticky-top">
  46.                     {% block utilities_offcanvas_close_icon %}
  47.                         {% sw_icon 'x' style { 'size': 'sm' } %}
  48.                     {% endblock %}
  49.                     {% block utilities_offcanvas_close_text %}
  50.                         {{ "general.offcanvasCloseMenu"|trans|sw_sanitize }}
  51.                     {% endblock %}
  52.                 </button>
  53.                 {% sw_include '@Storefront/storefront/page/product-detail/properties.html.twig' %}
  54.             </div>
  55.         </div>
  56.     {% endif %}
  57. {% endblock %}