{##
# Horizontal minicart items block
#
# @ListChild (list="minicart.horizontal.children", weight="10")
#}
<div {{ this.printTagAttributes(this.getItemsContainerAttributes())|raw }}>
<h4 class="title">
<a href="{{ xurl('cart') }}">{{ t('Last added items', {'count': this.get('cart').countQuantity()}) }}</a>
</h4>
{% if this.hasItems() %}
<ul class="cart-items">
{% for item in this.getItemsList() %}
<li class="cart-item">
{{ widget_list('minicart.horizontal.item', item=item) }}
</li>
{% endfor %}
</ul>
{% endif %}
{% if this.isTruncated() %}
<p class="other-items"><a href="{{ xurl('cart') }}">{{ t('See all items in the cart', {'count': this.get('cart').countQuantity()}) }}</a></p>
{% endif %}
<p class="subtotal">
<strong>{{ t('Subtotal') }}:</strong>
<span>{{ this.formatPrice(this.get('cart').getDisplaySubtotal(), this.get('cart').getCurrency(), 1) }}</span>
</p>
<div class="buttons-row">
{{ widget_list('minicart.horizontal.buttons') }}
</div>
</div>