2.0 Beta

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

What changed

smootify-product[data-id="wishlist"]

Card template repeated once per saved product (the first one in the page); without a smootify-variant[data-product-id="wishlist"] also once per saved variant, as its product's card on that variant. A page opened from a wishlist-share link (?w=) shows that list instead of the visitor's, with body.is-shared-wishlist.

v2.0 betaAdd-on: Wishlist
Open .md
On this page
  1. At a glance
  2. Where it can go
  3. What it requires
  4. Attributes on the element
  5. Attributes inside it

At a glance

smootify-product data-id="wishlist"

Only the product template

A saved product
Its product card.
A saved variant
The card of its product, with that variant selected.
smootify-variant data-product-id="wishlist"

Only the variant template

A saved product
The card of its first variant that can be bought, or of its first variant.
A saved variant
Its variant card.
smootify-product data-id="wishlist"smootify-variant data-product-id="wishlist"

Both templates

A saved product
A card of the product template.
A saved variant
A card of the variant template.

More in the guide.

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 unloaded 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-id.
  • Smootify writes data-id on it: do not set them yourself.

Attributes inside it

GroupAttribute nameValues
Productproduct30
Gallery partsgallery4
Selected variantvariant28
Option buttonsoption14
Each valueoption5
Image sizemax-width4
Loadingskeleton5
Form values in the pageform-value7
Product metafieldmetafield8
Variant metafieldvariant-metafield4
Option metafieldoption-metafield3
Quantities of a metaobject’s productsmetaobject-quantity3
Product (condition)condition22
Product tags (condition)tagged4
Product metafield (condition)if-metafield4
Variant metafield (condition)if-variant-metafield4

    ↑ ↓ to moveEnter to openEsc to close