templates/Components/miniCart.html.twig line 1

Open in your IDE?
  1. <stoelting-mini-cart
  2.     :visible="visible"
  3.     :price-total-label="'Grand Total'"
  4.     :price-subtotal-label="'Products in cart: %count%'"
  5.     :remove-item-label="'Remove'"
  6. >
  7.     <template v-slot:header>
  8.         <div v-if="justAdded" class="d-flex align-items-center border-bottom border-pearl p-2 p-lg-2 p-md-2 mini-cart-heading">
  9.             <small class="d-flex align-items-center text-success text-uppercase letter-spacing-2 font-weight-bold">
  10.                 {{ block('successIcon', 'svg-icons/svg-icons.html.twig') }}
  11.                 &nbsp; {{ 'Added to cart' | trans }}
  12.             </small>
  13.         </div>
  14.         <div v-if="!justAdded" class="d-flex align-items-center border-pearl p-2 p-lg-2 p-md-2 mini-cart-heading">
  15.         </div>
  16.     </template>
  17.     <template v-slot:footer>
  18.         {% if app.user %}
  19.             {% if "order_quoute_" not in routeName %}
  20.                 <a href="{{ path('cart', {'division': division, 'action': 'index'}) }}" class="btn btn-primary mini-cart-btn-place-oder">
  21.                     {{ 'mini-cart.place.order' | trans }}
  22.                 </a>
  23.             {% else %}
  24.                 <span></span>
  25.             {% endif %}
  26.         {% else %}
  27.             <a href="{{ path('cart', {'division': division, 'action': 'index'}) }}" class="btn btn-primary mini-cart-btn-place-oder">
  28.                 {{ 'mini-cart.login.checkout' | trans }}
  29.             </a>
  30.         {% endif %}
  31.     </template>
  32. </stoelting-mini-cart>