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

Selected variant

The values of `variant` inside `smootify-product` or `smootify-variant` or `box-item`.

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

Where it can go

Values

Attribute and valueWhat it isNotes
variant="title"TitleThe product title inside smootify-product and box-item; the variant title inside smootify-variant
variant="sku"SKU—
variant="barcode"Barcode—
variant="stock"Stock—
variant="weight"Weight—
variant="unit-price"Unit price—
variant="discount-percentage"Discount percentage—
variant="discounted-amount"Discounted amount—
variant="option1-name"Option 1 namealso read as option1-label
variant="option1-value"Option 1 value—
variant="option2-name"Option 2 namealso read as option2-label
variant="option2-value"Option 2 value—
variant="option3-name"Option 3 namealso read as option3-label
variant="option3-value"Option 3 value—
variant="quantity-min"Minimum quantity—
variant="quantity-increment"Quantity step—
variant="quantity-max"Maximum quantity—
variant="image"Imageon image
variant="url"LinkThe product page on this variant; on link
variant="id"Variant idThe variant chosen at that moment: in an input its id as the value, sent by a form inside the product (an alert for the Walnut top); elsewhere its number; on input, text
variant="components"Bundle componentsOne copy per component of a fixed bundle; on container
variant="price-breaks"Volume pricingOne copy per row of the B2B buyer’s volume pricing; a click sets the form’s quantity, the current row takes is-active. No copy without breaks; on container; inside smootify-product
variant="price-at-quantity"Price at the quantityThe price of one at the form’s quantity, from its volume pricing row; follows the quantity; inside smootify-product
variant="pay-later"Pay later amountOn PayPal’s or Klarna’s pay later placement, or the element around it: the form’s total, followed as it changes; on container; inside smootify-product
variant="swatch1"Swatch of option 1Holds the swatch parts; on container; inside smootify-variant
variant="swatch2"Swatch of option 2on container; inside smootify-variant
variant="swatch3"Swatch of option 3on container; inside smootify-variant
data-type="min, min-available or max"Which varianton link; with [variant=“url”]
data-format="{{price}} / {{unit}}"Price formatwith [variant=“unit-price”]
variant="number"Number of valueson text; inside variant-swatches, variant-dropdown, variant-popover, variant-selector
remove-parent="true"Remove the parentFor Default Title, the parent goes instead; inside smootify-variant; with [variant=“option1-value”], [variant=“option2-value”], [variant=“option3-value”]

    ↑ ↓ to moveEnter to openEsc to close