Black Friday

40% off every plan for a year with code BF2026. Until December 2.

See the prices
2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed

Cart

The values of `cart` inside `smootify-cart`.

v2.0 beta
Open .md
On this page
  1. At a glance
  2. Where it can go
  3. Values

At a glance

3 itemscart="count"The number of items. A line with 3 items counts as 3.
Subtotal€120.00cart="subtotal"Before the discounts on the whole order.
Was€150.00cart="compare-at-total"At compare-at prices. Hidden unless higher than the total.
You save€42.00cart="savings"Compare-at total minus total. Hidden when nothing is saved.
Total€108.00cart="total"After every discount, here a €12 code.

More in the guide.

Where it can go

Values

Attribute and valueWhat it isNotes
cart="count"Item countalso read as totalQuantity
cart="total"Total—
cart="subtotal"Subtotal—
cart="taxes"Taxes—
cart="duties"Duties—
cart="compare-at-total"Compare-at totalHidden when not higher
cart="savings"SavingsHidden when nothing is saved
cart="shipping"ShippingShopify’s estimate once the cart knows an address; hidden without one (data-fallback for a text)
cart="discount"DiscountsTemplate: one per discount; on container
cart="gift-card"Gift cardsTemplate: one per gift card; on container
cart="pay-later"Pay later amountOn PayPal’s or Klarna’s pay later placement, or the element around it: the cart’s total; on container

    ↑ ↓ to moveEnter to openEsc to close