vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Resources/views/Cart/summary.html.twig line 1

Open in your IDE?
  1. {% extends '@SyliusShop/layout.html.twig' %}
  2. {% form_theme form '@SyliusShop/Form/theme.html.twig' %}
  3. {% import '@SyliusUi/Macro/messages.html.twig' as messages %}
  4. {% set header = 'sylius.ui.your_shopping_cart' %}
  5. {% block title %}{{ header|trans }} | {{ parent() }}{% endblock %}
  6. {% block content %}
  7.     {% if not cart.empty %}
  8.         {{ sylius_template_event('sylius.shop.cart.header', {'header': header, 'cart': cart}) }}
  9.         <div class="ui stackable grid">
  10.             <div class="eleven wide column">
  11.                 {{ sylius_template_event('sylius.shop.cart.items', {'cart': cart, 'form': form}) }}
  12.             </div>
  13.             <div class="five wide column">
  14.                 {{ sylius_template_event('sylius.shop.cart.summary', {'cart': cart}) }}
  15.             </div>
  16.         </div>
  17.         {{ sylius_template_event('sylius.shop.cart.suggestions', {'cart': cart}) }}
  18.     {% else %}
  19.         {{ messages.info('sylius.ui.your_cart_is_empty') }}
  20.     {% endif %}
  21. {% endblock %}