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

Toast buttons

The values of `data-action` inside `smootify-toasts [toast]`.

v2.0 beta
Open .md
On this page
  1. Where it can go
  2. Values

Where it can go

  • Inside smootify-toasts [toast].
  • On a real <button>, link.

Values

Attribute and valueWhat it isNotes
data-action="close"Close the toast—
data-action="open-cart"Open the cartOpens the page’s mini cart and closes the toast; with no mini cart a link to the cart page works as a link

    ↑ ↓ to moveEnter to openEsc to close