Toast content
The values of `toast-item` inside `smootify-toasts [toast]`.
On this page
Where it can go
- Inside
smootify-toasts [toast]. - On text.
Values
| Attribute and value | What it is | Notes |
|---|---|---|
toast-item="image" | Product image | src and alt; added-to-cart, wishlist-added, wishlist-removed; on image |
toast-item="title" | Product name | added-to-cart, wishlist-added, wishlist-removed |
toast-item="variant-title" | Variant | Blue / M; hidden for a product with one variant |
toast-item="quantity" | Quantity added | added-to-cart |
toast-item="price" | Price added | The cost of what was added, in the store’s money format; added-to-cart |
toast-item="count" | Lines added | How many lines one add put in the cart (a bundle, add-ons); added-to-cart |
toast-item="message" | Message | Shopify’s text for cart-error and error; for form-sent the text of that form’s Success message |