2.0 Beta

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

What changed

cart-item

Template of one cart line: the first is cloned per line, the others are removed.

v2.0 beta
Open .md
On this page
  1. Where it can go
  2. What it requires
  3. Attributes on the element
  4. Attributes inside it

cart-item is a template, read by smootify-cart, quantity-input: it is never defined on its own.

Where it can go

  • Inside smootify-cart.
  • Out of place, it stays in the page and does nothing.

What it requires

Nothing beyond Smootify: it works on every plan.

Attributes on the element

  • Smootify writes data-id on it: do not set them yourself.

Attributes inside it

GroupAttribute nameValues
Discountdiscount2
Cart linecart-item19
Line optionoption2
Image sizemax-width4
Product metafieldmetafield8
Product metafield (condition)if-metafield4

    ↑ ↓ to moveEnter to openEsc to close