vendor/shopware/storefront/Resources/views/storefront/page/checkout/finish/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/checkout/_page.html.twig' %}
  2. {% block base_header %}
  3.     {% sw_include '@Storefront/storefront/layout/header/header-minimal.html.twig' %}
  4. {% endblock %}
  5. {% block base_navigation %}{% endblock %}
  6. {% block page_checkout_main_content %}
  7.     {% block base_flashbags_checkout %}
  8.         <div class="flashbags">
  9.             {% for type, messages in app.flashes %}
  10.                 {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: type, list: messages } %}
  11.             {% endfor %}
  12.         </div>
  13.     {% endblock %}
  14.     {% block page_checkout_finish %}
  15.         {% block page_checkout_finish_details %}
  16.             {% sw_include '@Storefront/storefront/page/checkout/finish/finish-details.html.twig' %}
  17.         {% endblock %}
  18.         {% block page_checkout_finish_product_table %}
  19.             <div class="card checkout-product-table">
  20.                 <div class="card-body">
  21.                     {% block page_checkout_finish_table_header %}
  22.                         {# @deprecated tag:v6.5.0 - Template `confirm-product-header.html.twig` is deprecated. Use `storefront/component/checkout/cart-header.html.twig` instead. #}
  23.                         {% if feature('v6.5.0.0') %}
  24.                             {% sw_include '@Storefront/storefront/component/checkout/cart-header.html.twig' with {
  25.                                 showTaxPrice: true,
  26.                                 showRemoveColumn: false
  27.                             } %}
  28.                         {% else %}
  29.                             {% sw_include '@Storefront/storefront/page/checkout/confirm/confirm-product-header.html.twig' %}
  30.                         {% endif %}
  31.                     {% endblock %}
  32.                     {% block page_checkout_finish_items %}
  33.                         {% for lineItem in page.order.nestedLineItems %}
  34.                             {% block page_checkout_finish_item %}
  35.                                 {# @deprecated tag:v6.5.0 - Template `finish-item.html.twig` is deprecated. Use `storefront/component/line-item/line-item.html.twig` instead. #}
  36.                                 {% if feature('v6.5.0.0') %}
  37.                                     {% sw_include '@Storefront/storefront/component/line-item/line-item.html.twig' with {
  38.                                         redirectTo: 'frontend.checkout.confirm.page',
  39.                                         showTaxPrice: true,
  40.                                         showRemoveButton: false
  41.                                     } %}
  42.                                 {% else %}
  43.                                     {% sw_include '@Storefront/storefront/page/checkout/finish/finish-item.html.twig' %}
  44.                                 {% endif %}
  45.                             {% endblock %}
  46.                         {% endfor %}
  47.                     {% endblock %}
  48.                 </div>
  49.             </div>
  50.         {% endblock %}
  51.     {% endblock %}
  52. {% endblock %}
  53. {% block page_checkout_additional %}
  54.     {% if page.order.customerComment %}
  55.         <div class="checkout-additional">
  56.             {% block page_checkout_finish_customer_comment %}
  57.                 <div class="card checkout-card">
  58.                     <div class="card-body">
  59.                         {% block page_checkout_finish_customer_comment_header %}
  60.                             <div class="card-title">
  61.                                 {{ "checkout.customerCommentHeader"|trans|sw_sanitize }}
  62.                             </div>
  63.                         {% endblock %}
  64.                         {% block page_checkout_finish_customer_comment_content %}
  65.                             <div class="checkout-customer-comment-control">{{ page.order.customerComment|sw_sanitize|nl2br }}</div>
  66.                         {% endblock %}
  67.                     </div>
  68.                 </div>
  69.             {% endblock %}
  70.         </div>
  71.     {% endif %}
  72. {% endblock %}
  73. {% block base_footer %}
  74.     {% sw_include '@Storefront/storefront/layout/footer/footer-minimal.html.twig' %}
  75. {% endblock %}