{# /** * @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 %}
| {{ item.qty }} × | {% if item.desc %}{{ item.title }} {{ item.desc }} |
{% else %}
{{ item.title }} | {% endif %}{{ item.price }} |
{{ 'There are no products in your shopping cart.'|t }}
{% endif %}| {% trans %} 1 Item {% plural item_count %} {{ item_count }} Items {% endtrans %} | {{ 'Total'|t }}: {{ total }} |