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

Magic box

The values of `data-prop` inside `smootify-magic-box-cart`.

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

At a glance

is-empty · is-disabled

Empty

Shows
empty-state instead of items-list, and box-condition="cannot-purchase".
Add button
Disabled.
is-disabled

Filling: 4 of 6

Shows
items-list and box-condition="cannot-purchase".
Add button
Disabled.
is-purchasable

Ready: 6 of 6

Shows
box-condition="can-purchase".
Add button
Enabled.
is-purchasable · is-saving

Ready, with a 10% discount

Discount
From the Magic Box entry. is-saving while it applies.
Price
data-prop="price" after the discount, data-prop="compareAtPrice" before it.

More in the guide.

Where it can go

Values

Attribute and valueWhat it isNotes
data-prop="missingCategories"Missing categories—
data-prop="currentQuantity"Items in the box—
data-prop="minQuantity"Minimum—
data-prop="maxQuantity"Maximum—
data-prop="leftQuantity"Items left—
data-prop="leftQuantityPercentage"Left, as a percentage—
data-prop="discount-percentage"Discount percentagealso read as discountPercentage
data-prop="discount-amount"Discount amount—
data-prop="leftQuantityWidth"Left, as a bar widthon container
separator=", "List separatorUsed as written, spaces included: a comma and a space joins with a comma and a space; on any; with [data-prop=“missingCategories”]

    ↑ ↓ to moveEnter to openEsc to close