platform/src/Storefront/Resources/views/storefront/layout/footer/footer.html.twig line 1

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