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_service_menu %}
  150.                 <div class="container">
  151.                     {% block layout_footer_service_menu_content %}
  152.                         <ul class="footer-service-menu-list list-unstyled">
  153.                             {% for serviceMenuItem in page.header.serviceMenu %}
  154.                                 {% block layout_footer_service_menu_item %}
  155.                                     <li class="footer-service-menu-item">
  156.                                         <a class="footer-service-menu-link"
  157.                                            href="{% if serviceMenuItem.externalLink %}{{ serviceMenuItem.externalLink }}{% else %}{{ seoUrl('frontend.navigation.page', { navigationId: serviceMenuItem.id }) }}{% endif %}"
  158.                                            title="{{ serviceMenuItem.translated.name }}">
  159.                                             {{ serviceMenuItem.translated.name }}
  160.                                         </a>
  161.                                     </li>
  162.                                 {% endblock %}
  163.                             {% endfor %}
  164.                         </ul>
  165.                     {% endblock %}
  166.                 </div>
  167.             {% endblock %}
  168.             {% block layout_footer_vat %}
  169.                 <div class="footer-vat">
  170.                     {% if context.taxState == "gross" %}
  171.                         <p>
  172.                             {{ "footer.includeVat"|trans({
  173.                                 '%url%': path('frontend.cms.page',{ id: shopware.config.core.basicInformation.shippingPaymentInfoPage })
  174.                             })|raw }}
  175.                         </p>
  176.                     {% else %}
  177.                         <p>
  178.                             {{ "footer.excludeVat"|trans({
  179.                                 '%url%': path('frontend.cms.page',{ id: shopware.config.core.basicInformation.shippingPaymentInfoPage })
  180.                             })|raw }}
  181.                         </p>
  182.                     {% endif %}
  183.                 </div>
  184.             {% endblock %}
  185.             {% block layout_footer_copyright %}
  186.                 <div class="footer-copyright">
  187.                     {% sw_icon 'shopware' style {'size':'xs'} %}
  188.                     {{ "footer.copyrightInfo"|trans|sw_sanitize }}
  189.                 </div>
  190.             {% endblock %}
  191.         </div>
  192.     {% endblock %}
  193. {% endblock %}