src/Storefront/Resources/views/storefront/page/checkout/_page.html.twig line 1

  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_flashbags %}{% endblock %}
  3. {% block base_content %}
  4.     {% block page_checkout %}
  5.         <div class="checkout">
  6.             {% block page_checkout_container %}
  7.                 <div class="checkout-container">
  8.                     {% block page_checkout_main %}
  9.                         <div class="checkout-main">
  10.                             {% block base_flashbags_checkout %}
  11.                                 <div class="flashbags">
  12.                                     {% for type, messages in app.flashes %}
  13.                                         {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: type, list: messages } %}
  14.                                     {% endfor %}
  15.                                 </div>
  16.                             {% endblock %}
  17.                             {% block page_checkout_main_content %}{% endblock %}
  18.                         </div>
  19.                     {% endblock %}
  20.                     {% block page_checkout_additional %}{% endblock %}
  21.                     {% block page_checkout_aside %}
  22.                         <div class="checkout-aside {% if block('page_checkout_additional')|trim %}checkout-aside-no-offset{% endif %}">
  23.                             {% block page_checkout_aside_container %}
  24.                                 <div class="checkout-aside-container">
  25.                                     {% block page_checkout_aside_summary %}
  26.                                         <div class="checkout-aside-summary">
  27.                                             {% block page_checkout_summary_header %}
  28.                                                 <h2 class="checkout-aside-summary-header">
  29.                                                     {{ "checkout.summaryHeader"|trans|sw_sanitize }}
  30.                                                 </h2>
  31.                                             {% endblock %}
  32.                                             {% block page_checkout_summary_list %}
  33.                                                 <div class="checkout-aside-summary-list-container">
  34.                                                     {% block page_checkout_summary_list_container %}
  35.                                                         {% sw_include '@Storefront/storefront/page/checkout/summary.html.twig' %}
  36.                                                     {% endblock %}
  37.                                                 </div>
  38.                                             {% endblock %}
  39.                                         </div>
  40.                                     {% endblock %}
  41.                                     {% block page_checkout_aside_actions %}{% endblock %}
  42.                                 </div>
  43.                             {% endblock %}
  44.                         </div>
  45.                     {% endblock %}
  46.                 </div>
  47.             {% endblock %}
  48.         </div>
  49.     {% endblock %}
  50. {% endblock %}