vendor/shopware/storefront/Resources/views/storefront/layout/footer/footer.html.twig line 1

  1. {% block layout_footer_inner_container %}
  2.     <div class="container">
  3.         {% block layout_footer_navigation %}
  4.             <div
  5.                 id="footerColumns"
  6.                 class="row footer-columns"
  7.                 {# @deprecated tag:v6.6.0 - Registering plugin on selector "data-collapse-footer" is deprecated. Use "data-collapse-footer-columns" instead #}
  8.                 {% if feature('v6.6.0.0') %}
  9.                     data-collapse-footer-columns="true"
  10.                 {% else %}
  11.                     data-collapse-footer="true"
  12.                 {% endif %}
  13.                 role="list"
  14.             >
  15.                 {% block layout_footer_navigation_hotline %}
  16.                     <div class="col-md-4 footer-column js-footer-column">
  17.                         {% block layout_footer_navigation_hotline_headline %}
  18.                             <div class="footer-column-headline footer-headline js-footer-column-headline js-collapse-footer-column-trigger"
  19.                                  id="collapseFooterHotlineTitle"
  20.                                  data-bs-target="#collapseFooterHotline"
  21.                                  aria-expanded="true"
  22.                                  aria-controls="collapseFooterHotline"
  23.                                  role="listitem">
  24.                                 {{ 'footer.serviceHotlineHeadline'|trans|sw_sanitize }}
  25.                                 {% block layout_footer_navigation_hotline_icons %}
  26.                                     <div class="footer-column-toggle">
  27.                                         <span class="footer-plus-icon">
  28.                                             {% sw_icon 'plus' %}
  29.                                         </span>
  30.                                         <span class="footer-minus-icon">
  31.                                             {% sw_icon 'minus' %}
  32.                                         </span>
  33.                                     </div>
  34.                                 {% endblock %}
  35.                             </div>
  36.                         {% endblock %}
  37.                         {% block layout_footer_navigation_hotline_content %}
  38.                             <div id="collapseFooterHotline"
  39.                                  class="footer-column-content collapse js-footer-column-content footer-contact"
  40.                                  aria-labelledby="collapseFooterHotlineTitle">
  41.                                 <div class="footer-column-content-inner">
  42.                                     <p class="footer-contact-hotline">
  43.                                         {{ 'footer.serviceHotline'|trans|sw_sanitize }}
  44.                                     </p>
  45.                                 </div>
  46.                                 <div class="footer-contact-form">
  47.                                     {{ 'footer.serviceContactText'|trans({
  48.                                         '%url%': path('frontend.cms.page', { id: config('core.basicInformation.contactPage') })
  49.                                     })|raw }}
  50.                                 </div>
  51.                             </div>
  52.                         {% endblock %}
  53.                     </div>
  54.                 {% endblock %}
  55.                 {% block layout_footer_navigation_columns %}
  56.                     {% for root in page.footer.navigation.tree %}
  57.                         {% block layout_footer_navigation_column %}
  58.                             <div class="col-md-4 footer-column js-footer-column">
  59.                                 {% block layout_footer_navigation_information_headline %}
  60.                                     <div class="footer-column-headline footer-headline js-collapse-footer-column-trigger"
  61.                                          data-bs-target="#collapseFooterTitle{{ loop.index }}"
  62.                                          aria-expanded="true"
  63.                                          aria-controls="collapseFooter{{ loop.index }}">
  64.                                         {% if root.category.type == 'folder' %}
  65.                                             {{ root.category.translated.name }}
  66.                                         {% else %}
  67.                                             <a href="{{ category_url(root.category) }}"
  68.                                                {% if category_linknewtab(root.category) %}target="_blank"{% endif %}
  69.                                                title="{{ root.category.translated.name }}">
  70.                                                 {{ root.category.translated.name }}
  71.                                             </a>
  72.                                         {% endif %}
  73.                                         {% block layout_footer_navigation_information_icons %}
  74.                                             <div class="footer-column-toggle">
  75.                                                 <span class="footer-plus-icon">
  76.                                                     {% sw_icon 'plus' %}
  77.                                                 </span>
  78.                                                 <span class="footer-minus-icon">
  79.                                                     {% sw_icon 'minus' %}
  80.                                                 </span>
  81.                                             </div>
  82.                                         {% endblock %}
  83.                                     </div>
  84.                                 {% endblock %}
  85.                                 {% block layout_footer_navigation_information_content %}
  86.                                     <div id="collapseFooter{{ loop.index }}"
  87.                                          class="footer-column-content collapse js-footer-column-content"
  88.                                          aria-labelledby="collapseFooterTitle{{ loop.index }}">
  89.                                         <div class="footer-column-content-inner">
  90.                                             {% block layout_footer_navigation_information_links %}
  91.                                                 <ul class="list-unstyled">
  92.                                                     {% for treeItem in root.children %}
  93.                                                         {% set category = treeItem.category %}
  94.                                                         {% set name = category.translated.name %}
  95.                                                         {% block layout_footer_navigation_information_link_item %}
  96.                                                             <li class="footer-link-item">
  97.                                                                 {% block layout_footer_navigation_information_link %}
  98.                                                                     {% if category.type == 'folder' %}
  99.                                                                         <div>{{ name }}</div>
  100.                                                                     {% else %}
  101.                                                                         <a class="footer-link"
  102.                                                                            href="{{ category_url(category) }}"
  103.                                                                            {% if category_linknewtab(category) %}target="_blank"{% endif %}
  104.                                                                            title="{{ name }}">
  105.                                                                             {{ name }}
  106.                                                                         </a>
  107.                                                                     {% endif %}
  108.                                                                 {% endblock %}
  109.                                                             </li>
  110.                                                         {% endblock %}
  111.                                                     {% endfor %}
  112.                                                 </ul>
  113.                                             {% endblock %}
  114.                                         </div>
  115.                                     </div>
  116.                                 {% endblock %}
  117.                             </div>
  118.                         {% endblock %}
  119.                     {% endfor %}
  120.                 {% endblock %}
  121.             </div>
  122.         {% endblock %}
  123.         {% block layout_footer_payment_shipping_logos %}
  124.             <div class="footer-logos">
  125.                 {% block layout_footer_payment_logos %}
  126.                     {% for paymentMethod in page.salesChannelPaymentMethods %}
  127.                         {% block layout_footer_payment_logo %}
  128.                             {% if paymentMethod.media %}
  129.                                 <div class="footer-logo is-payment">
  130.                                     {% sw_thumbnails 'footer-payment-image-thumbnails' with {
  131.                                         media: paymentMethod.media,
  132.                                         sizes: {
  133.                                             'default': '100px'
  134.                                         },
  135.                                         attributes: {
  136.                                             'class': 'img-fluid footer-logo-image',
  137.                                             'alt': (paymentMethod.media.translated.alt ?: paymentMethod.translated.name),
  138.                                             'title': (paymentMethod.media.translated.title ?: paymentMethod.translated.name)
  139.                                         }
  140.                                     } %}
  141.                                 </div>
  142.                             {% endif %}
  143.                         {% endblock %}
  144.                     {% endfor %}
  145.                 {% endblock %}
  146.                 {% block layout_footer_shipping_logos %}
  147.                     {% for shippingMethod in page.salesChannelShippingMethods %}
  148.                         {% block layout_footer_shipping_logo %}
  149.                             {% if shippingMethod.media %}
  150.                                 <div class="footer-logo is-shipping">
  151.                                     {% sw_thumbnails 'footer-shipping-image-thumbnails' with {
  152.                                         media: shippingMethod.media,
  153.                                         sizes: {
  154.                                             'default': '100px'
  155.                                         },
  156.                                         attributes: {
  157.                                             'class': 'img-fluid footer-logo-image',
  158.                                             'alt': (shippingMethod.media.translated.alt ?: shippingMethod.translated.name),
  159.                                             'title': (shippingMethod.media.translated.title ?: shippingMethod.translated.name)
  160.                                         }
  161.                                     } %}
  162.                                 </div>
  163.                             {% endif %}
  164.                         {% endblock %}
  165.                     {% endfor %}
  166.                 {% endblock %}
  167.             </div>
  168.         {% endblock %}
  169.     </div>
  170.     {% block layout_footer_bottom %}
  171.         <div class="footer-bottom">
  172.             {% block layout_footer_service_menu %}
  173.                 <div class="container">
  174.                     {% block layout_footer_service_menu_content %}
  175.                         {% apply spaceless %}
  176.                             <ul class="footer-service-menu-list list-unstyled">
  177.                                 {% for serviceMenuItem in page.header.serviceMenu %}
  178.                                     {% block layout_footer_service_menu_item %}
  179.                                         <li class="footer-service-menu-item">
  180.                                             <a class="footer-service-menu-link"
  181.                                                href="{{ category_url(serviceMenuItem) }}"
  182.                                                {% if category_linknewtab(serviceMenuItem) %}target="_blank"{% endif %}
  183.                                                title="{{ serviceMenuItem.translated.name }}">
  184.                                                 {{ serviceMenuItem.translated.name }}
  185.                                             </a>
  186.                                         </li>
  187.                                     {% endblock %}
  188.                                 {% endfor %}
  189.                             </ul>
  190.                         {% endapply %}
  191.                     {% endblock %}
  192.                 </div>
  193.             {% endblock %}
  194.             {% block layout_footer_vat %}
  195.                 <div class="footer-vat">
  196.                     {% if context.taxState == "gross" %}
  197.                         <p>
  198.                             {{ "footer.includeVatText"|trans({
  199.                                 '%url%': path('frontend.cms.page',{ id: config('core.basicInformation.shippingPaymentInfoPage') })
  200.                             })|raw }}
  201.                         </p>
  202.                     {% else %}
  203.                         <p>
  204.                             {{ "footer.excludeVatText"|trans({
  205.                                 '%url%': path('frontend.cms.page',{ id: config('core.basicInformation.shippingPaymentInfoPage') })
  206.                             })|raw }}
  207.                         </p>
  208.                     {% endif %}
  209.                 </div>
  210.             {% endblock %}
  211.             {% block layout_footer_copyright %}
  212.                 <div class="footer-copyright">
  213.                     {% sw_icon 'shopware' style {'size':'xs'} %}
  214.                     {{ "footer.copyrightInfo"|trans|sw_sanitize }}
  215.                 </div>
  216.             {% endblock %}
  217.         </div>
  218.     {% endblock %}
  219. {% endblock %}