Loading
Skip to content View Accessibility Statement
It used to be that flying internationally usually meant waiting in long customs lines–some of...
When searching for flights, typically, the goal is to avoid layovers. Sometimes, however, a connection...
For people willing to travel with a flexible schedule, standby flights were once a great...
International tourism is a booming industry. Over 1.4 billion people traveled for vacations in 2019....
var head = document.head;
var pdpButtonStylesheet = "https://cdn.shopify.com/extensions/019b6998-77c7-775e-bf09-9ed4abfe593e/wishlist-shopify-app-611/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/019b6998-77c7-775e-bf09-9ed4abfe593e/wishlist-shopify-app-611/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