custom/plugins/SwagHoggi/src/Resources/views/storefront/layout/footer/footer.html.twig line 1

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