wishlist-share
Shares a link to the wishlist page (data-page, else this page) that shows the visitor's saved products and variants to whoever opens it, no account needed (?w=: numbers for products, v + number for variants, at most 100, only ids read): the device's share sheet where there is one, else the link is copied (data-copy: always copied). On the shared page the toggles keep working on the visitor's own list.
Where it can go
- Anywhere on the page.
- Out of place, it stays in the page and does nothing: the wishlist starts with it, but without the licence nothing is shared.
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-page,data-copy,data-title. - Smootify writes
is-empty,disabled,is-shared,is-copiedon it: do not set them yourself.
Loading
Its code loads only on pages that have wishlist-share.