Skip to main content

Configuration reference

Full reference for all TryOnWidget.init() options.

Base options

Product identification

Injection mode

Overlay button options

Buybox button theme

ButtonThemeConfig

Full control over button appearance:

Default productSelector

When no productSelector is provided, the widget tries these in order:

Minimal snippet

Full example (overlay + buybox)