custom/static-plugins/LDSCustom/src/Resources/views/storefront/layout/navigation/flyout.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/navigation/flyout.html.twig' %}
  2. {% block layout_navigation_flyout_categories %}
  3.     {% if category.customFields.migration_kewsw5_category_showlogos %}
  4.         <div class="{% if category.media %}col-8 col-xl-9{% else %}col{% endif %}">
  5.             <div class="navigation-flyout-categories manufacturers">
  6.                 {% sw_include '@Storefront/storefront/layout/navigation/manufacturers_menu.html.twig' with {
  7.                     page: page
  8.                 } only %}
  9.                 <div class="read-more" style="display: inline-block;margin: 0 auto;">
  10.                     <a class="nav-link main-navigation-link" href="{{ category_url(category) }}" title="{{ "lds.mainNav.moreManufacturers"|trans }}">
  11.                         <div class="main-navigation-link-more">
  12.                             <span>{{ "lds.mainNav.moreManufacturers"|trans }}</span>
  13.                         </div>
  14.                     </a>
  15.                 </div>
  16.             </div>
  17.         </div>
  18.     {% else %}
  19.         <div class="{% if category.media %}col-8 col-xl-9{% else %}col{% endif %}">
  20.             <div class="navigation-flyout-categories">
  21.                 {% sw_include '@Storefront/storefront/layout/navigation/categories.html.twig' with {
  22.                     navigationTree: navigationTree.children,
  23.                     navigationMedia: category.media,
  24.                     page: page,
  25.                     showlogos: category.customFields.migration_kewsw5_category_showlogos
  26.                 } only %}
  27.             </div>
  28.         </div>
  29.     {% endif %}
  30. {% endblock %}