Shortcodes and blocks
Last updated
Shortcodes
| Shortcode | Module | Attributes |
|---|---|---|
[storetoolkit_wishlist] |
Wishlist | None |
[storetoolkit_add_to_wishlist] |
Wishlist | product_id, context (default loop) |
[storetoolkit_social_sharing] |
Social Sharing | context: product or wishlist |
Gutenberg blocks
Enable under Store Toolkit → Blocks (each defaults on). Category in the editor: Store Toolkit.
| Block | Name |
|---|---|
| Wishlist | jetix-store-toolkit/wishlist |
| Add to Wishlist | jetix-store-toolkit/add-to-wishlist |
| Social Sharing | jetix-store-toolkit/social-sharing (attribute context: product or wishlist) |
Blocks render the matching shortcode. Toggles are stored in jwp_stk_options['blocks_settings'].