2.0 Beta

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

What changed

Option metafield

The values of `option-metafield` inside `variant-swatches` or `variant-dropdown` or `variant-popover` or `addon-swatches` or `smootify-product [product="option-values"]`.

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

At a glance

1 Settings › Custom data › Metaobjects

OptionMetaobject definition

Fields

NamenameSingle line text
ColorcolorColor
ImageimageFile
DescriptiondescriptionMulti-line text
Storefronts access

2 Content › Metaobjects › Option

Entries3
OakSolid oak, oiled#C8A26A
WalnutAmerican walnut#6B4A32
WhiteLacquered white#F2F0EA

name = the option value, written exactly as in the product: Oak

3 Products › Oak table › Metafields

Metafields
Optionscustom.optionsOakWalnutWhite

Type: Metaobject (Option), list of entries · Storefronts access on

On your pageOak Solid oak, oiled

More in the guide.

Where it can go

Values

Attribute and valueWhat it isNotes
option-metafield="field of the option"Valueon text, image, container
namespace="custom"Namespaceon any; with [option-metafield]
property="--metafield-color"Color variableon any; with [option-metafield]

    ↑ ↓ to moveEnter to openEsc to close