smootify-variant[data-product-id="wishlist"]
Variant card template (its .w-dyn-item, else itself) repeated once per saved variant (the first one in the page), with the smootify-variant markup; without a smootify-product[data-id="wishlist"] also once per saved product, as the card of its first available variant.
Where it can go
- Anywhere on the page.
- Out of place, it stays in the page and does nothing: without the licence it stays an unrendered card.
What it requires
- The Wishlist extension (lite or server plan, or the extension activated in the Smootify dashboard). Without it, the element does nothing.
Attributes on the element
- It reads
data-product-id. - Smootify writes
data-id,is-wishlist-itemon it: do not set them yourself.
Attributes inside it
| Group | Attribute name | Values |
|---|---|---|
| Product | product | 30 |
| Selected variant | variant | 28 |
| Variant swatch | swatch | 4 |
| Image size | max-width | 4 |
| Loading | skeleton | 5 |
| Variant metafield | variant-metafield | 4 |
| Product (condition) | condition | 22 |
| Variant metafield (condition) | if-variant-metafield | 4 |