Black Friday

40% off every plan for a year with code BF2026. Until December 2.

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 New in 2.0.

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

    ↑ ↓ to moveEnter to openEsc to close