2.0 Beta

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

What changed

Toasts

The values of `toast` inside `smootify-toasts`.

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

Where it can go

Values

Attribute and valueWhat it isNotes
toast="added-to-cart"Added to cartTemplate: shown after an add to cart, from any button; not when a mini cart opens for that add
toast="cart-error"Cart errorTemplate: shown when Shopify refuses a cart change (add, quantity, discount code); is-error and role=alert
toast="wishlist-added"Saved to wishlistTemplate: shown when a wishlist-toggle saves a product
toast="wishlist-removed"Removed from wishlistTemplate: shown when a wishlist-toggle removes a product
toast="form-sent"Form sentTemplate: shown when a Smootify form is sent (newsletter, back in stock, account and server forms)
toast="link-copied"Link copiedTemplate: shown when a share button copies its link, not when the share sheet opens
toast="error"ErrorTemplate: the fallback for cart-error and for Smootify.toast(”…-error”); is-error and role=alert

    ↑ ↓ to moveEnter to openEsc to close