2.0 Beta

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

What changed

addon-swatches

One button per value or variant of the nested product as add-ons.

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
  5. Loading

Where it can go

  • Inside smootify-add-to-cart smootify-product. A selector with a space is a chain: a b is b inside a.
  • Not inside an element with hidden at boot: it does not mount.
  • Must contain button:not([popovertarget]).
  • Out of place, Smootify removes it from the page.

What it requires

Nothing beyond Smootify: it works on every plan.

Attributes on the element

Attributes inside it

GroupAttribute nameValues
Option buttonsoption14
Option metafieldoption-metafield3

Loading

Its code loads only on pages that have addon-swatches.

    ↑ ↓ to moveEnter to openEsc to close