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

Open in your IDE?
  1. {% block page_checkout_finish_details_inner %}
  2.     {% block page_checkout_finish_data %}
  3.         <div class="card checkout-card">
  4.             <div class="card-body">
  5.                 {% block page_checkout_finish_header %}
  6.                     <h1 class="finish-header">
  7.                         {% if page.changedPayment == true %}
  8.                             {{ "checkout.finishUpdateHeader"|trans|sw_sanitize }}
  9.                         {% else %}
  10.                             {{ "checkout.finishHeader"|trans({
  11.                                 '%shop%': config('core.basicInformation.shopName')
  12.                             })|sw_sanitize }}
  13.                         {% endif %}
  14.                     </h1>
  15.                 {% endblock %}
  16.                 {% block page_checkout_finish_ordernumber %}
  17.                     <p class="finish-ordernumber" data-order-number="{{ page.order.orderNumber }}">
  18.                         {{ "checkout.finishInfoOrdernumber"|trans|sw_sanitize }}{{ page.order.orderNumber }}
  19.                     </p>
  20.                 {% endblock %}
  21.                 {% block page_checkout_finish_hidden_information_line_items %}
  22.                     {% sw_include '@Storefront/storefront/component/checkout/hidden-line-items-information.html.twig' with {
  23.                         cart: page.order,
  24.                         lineItems: page.order.lineItems,
  25.                     } %}
  26.                 {% endblock %}
  27.                 {% block page_checkout_finish_subtitle %}
  28.                     {% if page.changedPayment == true %}
  29.                         <p class="finish-order-subtitle">
  30.                             {{ "checkout.finishPaymentHeader"|trans({'%paymentName%': page.order.transactions.last.paymentMethod.translated.name})|sw_sanitize }}
  31.                         </p>
  32.                     {% endif %}
  33.                 {% endblock %}
  34.                 {% block page_checkout_finish_content %}
  35.                     <div class="finish-content">
  36.                         {% block page_checkout_finish_teaser %}
  37.                             {% if page.changedPayment != true %}
  38.                                 <p class="finish-teaser">{{ "checkout.finishInfoConfirmationMail"|trans|sw_sanitize }}</p>
  39.                             {% endif %}
  40.                         {% endblock %}
  41.                         {# @depracted tag:6.4.0 #}
  42.                         {% block page_checkout_finish_action %}
  43.                             {# @depracted tag:6.4.0 #}
  44.                             {% block page_checkout_finish_action_back %}{% endblock %}
  45.                         {% endblock %}
  46.                     </div>
  47.                 {% endblock %}
  48.             </div>
  49.         </div>
  50.     {% endblock %}
  51.     {% block page_checkout_finish_order %}
  52.         <div class="row finish-info">
  53.             {% block page_checkout_finish_order_address %}
  54.                 <div class="col-md-8 finish-address">
  55.                     {% sw_include '@Storefront/storefront/page/checkout/finish/finish-address.html.twig' %}
  56.                 </div>
  57.             {% endblock %}
  58.             {% block page_checkout_finish_order_details %}
  59.                 <div class="col-md-4 finish-order-details">
  60.                     <div class="card checkout-card">
  61.                         <div class="card-body">
  62.                             {% block page_checkout_finish_order_title %}
  63.                                 <div class="card-title">
  64.                                     {{ "checkout.finishInfoHeader"|trans|sw_sanitize }}
  65.                                 </div>
  66.                             {% endblock %}
  67.                             {% block page_checkout_finish_order_payment_method %}
  68.                                 <p>
  69.                                     <strong>{{ "checkout.finishInfoPayment"|trans|sw_sanitize }}</strong>
  70.                                     {{ page.order.transactions.last.paymentMethod.translated.name }}
  71.                                 </p>
  72.                             {% endblock %}
  73.                             {% block page_checkout_finish_order_dispatch_method %}
  74.                                 <p>
  75.                                     <strong>{{ "checkout.finishInfoShipping"|trans|sw_sanitize }}</strong>
  76.                                     {{ page.order.deliveries.first.shippingMethod.translated.name }}
  77.                                 </p>
  78.                             {% endblock %}
  79.                         </div>
  80.                     </div>
  81.                 </div>
  82.             {% endblock %}
  83.         </div>
  84.     {% endblock %}
  85. {% endblock %}