custom/plugins/TcinnThemeWareLiving/src/Resources/views/storefront/layout/navigation/offcanvas/navigation.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/navigation/offcanvas/navigation.html.twig' %}
  2. {# ---------------- START: SET TEMPLATE VARS ---------------- #}
  3. {# ThemeWare: Set theme variables #}
  4. {% set twtOffcanvasNavServiceMenuShow = theme_config('twt-offcanvas-nav-service-menu-show') %}
  5. {# ---------------- END: SET TEMPLATE VARS ---------------- #}
  6. {% block layout_navigation_offcanvas_navigation_actions %}
  7.     {# ThemeWare: Show service menu #}
  8.     {% if twtOffcanvasNavServiceMenuShow == 2 %}
  9.         <nav class="nav navigation-offcanvas-actions">
  10.             {{ block('layout_navigation_offcanvas_navigation_action_language') }}
  11.             {{ block('layout_navigation_offcanvas_navigation_action_currency') }}
  12.             {# TODO: Fix dropdown arrow + icon and label visibility... #}
  13.             {# ThemeWare®: Show "Service menu" as dropdown #}
  14.             {% block twt_layout_navigation_offcanvas_navigation_action_service %}
  15.                 {% sw_include '@Storefront/storefront/layout/header/actions/service-menu-widget.html.twig' with { position: 'offcanvas' } %}
  16.                 {# TODO: Check with Shopware v6.5 #}
  17.                 {# % sw_include '@Storefront/storefront/themeware/twt-service-menu-widget.html.twig' % #}
  18.             {% endblock %}
  19.         </nav>
  20.     {% else %}
  21.         {# Default block #}
  22.         {{ parent() }}
  23.     {% endif %}
  24. {% endblock %}