Skip to content

Documentation / Wishlist

Shortcodes and blocks

Last updated

Use these when automatic injection is off, or when you want the table or button in a custom layout.

Shortcodes

Shortcode Attributes
[storetoolkit_wishlist] None. Renders the wishlist table.
[storetoolkit_add_to_wishlist] product_id (optional, current product if omitted), context (default loop).

Blocks

Enable under Store Toolkit → Blocks (on by default):

  • jetix-store-toolkit/wishlist
  • jetix-store-toolkit/add-to-wishlist

Both sit in the Store Toolkit block category. They render the same markup as the shortcodes.

Developers can hook jwp_stk_before_wishlist_table and jwp_stk_after_wishlist_table around the table (Social Sharing uses these for wishlist placement).

Back to Wishlist.