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

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