Loading
Skip to content View Accessibility Statement
⇧ Top
Featured Press
Featured Press
The New York Times Wirecutter | Jan 29, 2025
Forbes | 2024
Good Housekeeping | Apr 22,2024
Travel and Leisure | March 15, 2024
Gear Patrol | August 26, 2024
Opens in a new tab
var head = document.head;
var pdpButtonStylesheet = "https://cdn.shopify.com/extensions/5b6997fe-fa12-4b46-af0b-742bb2a48ccf/wishlist-plus-491/assets/addtowishlistbutton.css";
var pdpButtonStylesheetTag = document.createElement("link");
pdpButtonStylesheetTag.id = `swym-pdp-button-stylesheet`;
pdpButtonStylesheetTag.rel = "stylesheet";
pdpButtonStylesheetTag.href = pdpButtonStylesheet;
if (!document.getElementById("swym-pdp-button-stylesheet")) {
head.appendChild(pdpButtonStylesheetTag);
}
var x = document.getElementsByTagName("script")[0];
function createAndInsertScript(id, src, onLoadCallback) {
var scriptTag = document.createElement("script");
scriptTag.id = id;
scriptTag.type = "text/javascript";
scriptTag.src = src;
scriptTag.onload = onLoadCallback;
x.parentNode.insertBefore(scriptTag, x);
}
var pdpButtonScript = "https://cdn.shopify.com/extensions/5b6997fe-fa12-4b46-af0b-742bb2a48ccf/wishlist-plus-491/assets/addtowishlistbutton.js";
createAndInsertScript(
`swym-pdp-button-script`,
pdpButtonScript,
function () {
const pdpBtnApi = window.WishlistPlusPDPButtonAPI;
if (pdpBtnApi) {
pdpBtnApi.setDefaultCustomizationOptions(swat);
pdpBtnApi.initializePDPButton(swat, true);
}
}
);
break;
default:
return;
}
})
});
})(); // IIFE to prevent polluting global scope