custom/plugins/GbmedShoppingList/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. {% block page_checkout_cart_action_proceed %}
  3.     {{ parent() }}
  4.     {% block page_checkout_cart_action_gbmed_shopping_list_push %}
  5.         {% if context.customer and not context.customer.guest %}
  6.             <div class="gbmed-shopping-list-push"
  7.                  data-toggle="modal"
  8.                  data-target="#pushCartShoppingListActionModal">
  9.                 {% sw_icon 'heart' style {
  10.                         'pack': 'solid'
  11.                     } %}
  12.                     {{ "gbmed-shopping-list.pushCart"|trans|sw_sanitize }}
  13.             </div>
  14.         {% endif %}
  15.     {% endblock %}
  16. {% endblock %}
  17. {% block page_checkout_main_content %}
  18.     {{ parent() }}
  19.     {% block page_checkout_main_content_gbmed_shopping_list_push_modal %}
  20.         {% if context.customer and not context.customer.guest %}
  21.             {% sw_include '@Storefront/storefront/component/gbmed-shopping-list/push-modal.html.twig' with {
  22.                 route: 'gbmed.shopping_list.push.cart',
  23.                 id: 'pushCartShoppingListActionModal',
  24.                 title: 'gbmed-shopping-list.modalPushCartHeader'|trans|sw_sanitize,
  25.                 gbmedShoppingLists: page.extensions.gbmedShoppingLists
  26.             } %}
  27.         {% endif %}
  28.     {% endblock %}
  29. {% endblock %}