Wishlist blocks and shortcodes
Three blocks, each with a shortcode equivalent that takes the same arguments. Only one is required by a normal store: the table, on your wishlist page.
Wishlist Table
Block ivasure/wishlist-table, shortcode [ivasure_wishlist]. Renders the current visitor’s saved items. Belongs on the page selected as the Wishlist Page.
| Attribute | Shortcode | Type | Default |
|---|---|---|---|
showShare | show_share | boolean | true |
showAddToCart | show_add_to_cart | boolean | true |
Wishlist Button
Block ivasure/wishlist-button, shortcode [ivasure_wishlist_button]. Adds and removes one product. Only needed when Button Position is set to Custom, or to place a save control outside a product template.
| Attribute | Shortcode | Type | Default |
|---|---|---|---|
productId | product_id | string | empty, meaning the product of the current page |
style | style | string | both - also icon or text |
showCount | show_count | boolean | false |
Wishlist Share
Block ivasure/wishlist-share, shortcode [ivasure_wishlist_share]. The share panel on its own. The table already includes it unless you turned it off, so this is for putting sharing somewhere else on the page.
| Attribute | Shortcode | Type | Default |
|---|---|---|---|
networks | networks | string | empty, meaning the networks enabled in settings |
shareMessage | share_message | string | empty, meaning the configured Share Message |
[ivasure_wishlist_share networks="copy,whatsapp" share_message="My picks"]Was this page helpful?