Holiday offer

30% off every plan for a year with code HOLIDAY30. Until January 6.

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

Smootify.selectVariant()

selects a variant (its number or gid) of a `smootify-product` of the page: the element, or one inside it; false when the product has no such variant

v2.0 beta
Open .md

selects a variant (its number or gid) of a smootify-product of the page: the element, or one inside it; false when the product has no such variant

selectVariant(product: HTMLElement, variantId: string | number): boolean

    ↑ ↓ to moveEnter to openEsc to close