You are here

commerce-cart-js-block.html.twig in Commerce Cart API 8

<div class="">
  <div class="cart-block--summary">
    <a class="cart-block--link__expand" href="{{ url }}">
      <span class="cart-block--summary__icon">
        <img src="{{ icon }}" alt="Cart"/>
      </span>
      <span class="cart-block--summary__count">{{ count_text }}</span>
    </a>
  </div>
  <div class="cart-block--contents">
    <div class="cart-block--contents__inner">
      <div class="cart-block--contents__items">
        {{ content }}
      </div>
      <div class="cart-block--contents__links">
        {{ links }}
      </div>
    </div>
  </div>
</div>

File

tests/modules/commerce_cart_js/templates/commerce-cart-js-block.html.twig
View source
  1. <div class="">
  2. <div class="cart-block--summary">
  3. <a class="cart-block--link__expand" href="{{ url }}">
  4. <span class="cart-block--summary__icon">
  5. <img src="{{ icon }}" alt="Cart"/>
  6. </span>
  7. <span class="cart-block--summary__count">{{ count_text }}</span>
  8. </a>
  9. </div>
  10. <div class="cart-block--contents">
  11. <div class="cart-block--contents__inner">
  12. <div class="cart-block--contents__items">
  13. {{ content }}
  14. </div>
  15. <div class="cart-block--contents__links">
  16. {{ links }}
  17. </div>
  18. </div>
  19. </div>
  20. </div>