2.0 Beta

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

What changed

subscription-swatches

WAI-ARIA tabs and radios that choose a selling plan.

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-product.
  • Must contain [role="tablist"], [role="tab"], [role="tabpanel"].
  • Out of place, Smootify removes it from the page: also when the product has no selling plans.

What it requires

Nothing beyond Smootify: it works on every plan.

Attributes on the element

  • It reads auto-select-plan, auto-select-index, data-selected-group, data-selected-option-index.

Attributes inside it

GroupAttribute nameValues
Selling planssubscription-group1
Loadingskeleton5
Subscription choices (condition)group-condition2

Loading

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

    ↑ ↓ to moveEnter to openEsc to close