{# /** * @file * Default theme implementation to display a shopping cart block. * * Available variables: * - items: An associative array of cart item information containing: * - qty: Quantity in cart. * - title: Item title. * - price: Item price. * - desc: (optional) Item description. * - item_count: The number of items in the shopping cart. * - total: The formatted subtotal of all the products in the shopping cart. * - summary_links: A set of links used in the cart summary. * - attributes: HTML attributes for the main content element. * * @see template_preprocess_uc_cart_block() * * @ingroup themeable #} {% if items %} {% for item in items %} {% if item.desc %} {% else %} {% endif %} {% endfor %}
{{ item.qty }} ×{{ item.title }}
{{ item.desc }}
{{ item.title }}{{ item.price }}
{% else %}

{{ 'There are no products in your shopping cart.'|t }}

{% endif %}
{% trans %} 1 Item {% plural item_count %} {{ item_count }} Items {% endtrans %} {{ 'Total'|t }}: {{ total }}
{% if items %} {{ summary_links }} {% endif %}