Releases: dlerm/shopify-wishlist
Releases · dlerm/shopify-wishlist
Release v2.3.0
Release v2.2.0
Online Store 2.0 Updates
- Convert template files to Shopify's new JSON template structure
page.wishlist.json
product.card.json
- Create new sections that act as the "main" section for each of the new JSON templates
wishlist-template.liquid
product-card-template.liquid
- Update
Wishlist.js
to account for Shopify's auto-generateddiv
wrappers around section markup
Release v2.1.0
Wishlist event hooks
Events:
-
Document event:
shopify-wishlist:updated
- Triggered once a wishlist update action(add/remove) is finished
- Usage:
document.addEventListener('shopify-wishlist:updated', function (event) { var wishlist = event.detail.wishlist; // Your code goes here }
-
Document event:
shopify-wishlist:init-product-grid
- Triggered once the product card HTML content is finished loading & appending to the document
- Usage:
document.addEventListener('shopify-wishlist:init-product-grid', function (event) { var wishlist = event.detail.wishlist; // Your code goes here }
-
Document event:
shopify-wishlist:init-buttons
- Triggered once the wishlist button toggles have been updated to proper active/inactive state based on wishlist content
- Usage:
document.addEventListener('shopify-wishlist:init-buttons', function (event) { var wishlist = event.detail.wishlist; // Your code goes here }
Release v2.0.1 [Hotfix]
Release 2: Hotfixes
Release v2.0.0
Rebuild. All new files. Leaner approach using AJAX loaded product cards.