custom/plugins/ChespackTheme/src/Resources/views/storefront/page/checkout/cart/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/checkout/cart/index.html.twig' %}
  2. {# Changed page header #}
  3. {% block page_checkout_cart_header %}
  4.     <div class="page-title is--fullwidth d-flex align-items-center">
  5.         <h1 class="h2 container">{{ "checkout.cartHeader"|trans|sw_sanitize }}</h1>
  6.     </div>
  7.     {# Added checkout main container below page header #}
  8.     <div class="checkout-main">
  9.         {% block base_flashbags_checkout_moved %}
  10.             <div class="flashbags">
  11.                 {% for type, messages in app.flashes %}
  12.                     {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: type, list: messages } %}
  13.                 {% endfor %}
  14.             </div>
  15.         {% endblock %}
  16. {% endblock %}
  17. {# Close checkout main container #}
  18. {% block page_checkout_cart_add_product_and_shipping %}
  19.     {{ parent() }}
  20.     </div>
  21. {% endblock %}
  22. {# Changed button style #}
  23. {% block page_checkout_cart_action_proceed %}
  24.     <div class="checkout-aside-action">
  25.         <a href="{{ path('frontend.checkout.confirm.page') }}"
  26.            class="btn btn-secondary btn-block begin-checkout-btn"
  27.            title="{{ "checkout.proceedLink"|trans|striptags }}">
  28.             {{ "checkout.proceedLink"|trans|sw_sanitize }}
  29.             {% sw_icon 'arrow-head-right' %}
  30.         </a>
  31.     </div>
  32. {% endblock %}