2.0 Beta

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

What changed

Product metafield

The values of `metafield` inside `smootify-product` or `cart-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
metafield="key, like care_guide"Valueon text, rich, container, link, button, image, video
namespace="custom"Namespaceon any; with [metafield]
data-attr="href"Into an attributeon any; with [metafield]
separator=", or repeat"List separatorUsed as written, spaces included: a comma and a space joins with a comma and a space; on any; with [metafield]
data-digits="2"Decimal digitson any; with [metafield]
data-path="items.0.title"JSON pathon any; with [metafield]
data-path="width"JSON path, inside the elementOn elements inside a JSON [metafield]: one value each; on any; inside smootify-product [metafield], cart-item [metafield]
property="--metafield-color"Color variableon any; with [metafield]

    ↑ ↓ to moveEnter to openEsc to close