{# Cart contents, swapped in via htmx on quantity change / removal so the page never does a full reload. Rendered inside
| {{ item.name }} | {{ item.price }} {{ item.currency }} | {# Changing the quantity posts via htmx (custom `cartchange` event) and swaps only #cart-body. Dropping to 0 asks for confirmation first, reverting to the previous quantity if the customer cancels. #} | {{ item.line_total }} {{ item.currency }} | |
| {{ t(key="cart-total", lang=lang | default(value='sk')) }} | {{ total }} {{ currency }} | |||
{{ t(key="cart-empty", lang=lang | default(value='sk')) }}
{{ ui::button(label=t(key="cart-continue", lang=lang | default(value='sk')), href="/shop", extra="mt-4") }}