Wishlist

window.SwymCallbacks = window.SwymCallbacks || [];

window.SwymCallbacks.push(function(swat) {

var wishlistContainerElement = document.querySelector("#swym-wishlist-render-container");

var queryParams = swat.utils.getEncodedAsObject(window.location.search);

// Contains queryParams["lid"];

swat.ui.renderWishlistInContainer(wishlistContainerElement, queryParams);

});

This script seamlessly integrates a user-specific wishlist directly into your website, enhancing the shopping experience for customers interested in products like barefoot shoes, barefoot boots, and other minimalist footwear. When a user lands on a page, this code dynamically checks for a unique wishlist ID within the URL's query parameters. If an ID is present (e.g., `queryParams["lid"]`), the script then utilizes the Swym platform's UI rendering capabilities to display that specific wishlist within the designated `swym-wishlist-render-container`. This functionality allows customers to easily view and manage their curated selections of zero-drop and other specialized items, promoting engagement and simplifying the path to purchase. The wishlist feature provides a significant customer value proposition by allowing users to save their favorite minimalist footwear for later, share their desired items, and track potential purchases, ultimately streamlining their shopping journey and improving conversion rates for your range of comfortable and ergonomic products.