Cart

Cart Subtotal vs Total

Displays line totals; cart.total_price includes discounts where applicable.

Copy or embed this snippet

<p>Subtotal: {{ cart.total_price | money }}</p>
<p>Items: {{ cart.item_count }}</p>

Embed this snippet on your blog or docs — attribution link appreciated: HTML to Liquid Converter · Convert to Shopify section →

Practice in the converter workspace

Draft OS 2.0 section output after you choose the right design pattern.