/*<!--[CDATA[*/
(function () {
var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js';
if (window.ShopifyBuy) {
if (window.ShopifyBuy.UI) {
ShopifyBuyInit();
} else {
loadScript();
}
} else {
loadScript();
}
function loadScript() {
var script = document.createElement('script');
script.async = true;
script.src = scriptURL;
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script);
script.onload = ShopifyBuyInit;
}
function ShopifyBuyInit() {
var client = ShopifyBuy.buildClient({
domain: 'ihopuonline.myshopify.com',
storefrontAccessToken: '625f090e9009478ad206958c708062c4',
});
ShopifyBuy.UI.onReady(client).then(function (ui) {
ui.createComponent('product', {
id: [10849068174],
variantId: 44464605774,
node: document.getElementById('product-component-6924c6b734d'),
moneyFormat: '%24%7B%7Bamount%7D%7D',
options: {
"product": {
"variantId": "44464605774",
"width": "240px",
"contents": {
"img": false,
"imgWithCarousel": false,
"title": false,
"variantTitle": false,
"options": false,
"price": false,
"description": false,
"buttonWithQuantity": false,
"quantity": false
},
"text": {
"button": "REGISTER"
},
"styles": {
"product": {
"@media (min-width: 601px)": {
"max-width": "100%",
"margin-left": "0",
"margin-bottom": "50px"
}
},
"button": {
"background-color": "#950000",
"font-family": "Montserrat, sans-serif",
"font-size": "18px",
"padding-top": "17px",
"padding-bottom": "17px",
"padding-left": "50px",
"padding-right": "50px",
":hover": {
"background-color": "#fd0000"
},
"border-radius": "8px",
":focus": {
"background-color": "#fd0000"
},
"font-weight": "bold"
},
"quantityInput": {
"font-size": "18px",
"padding-top": "17px",
"padding-bottom": "17px"
},
"compareAt": {
"font-size": "12px"
}
},
"googleFonts": [
"Montserrat"
]
},
"cart": {
"contents": {
"button": true
},
"text": {
"total": "SUBTOTAL (BEFORE ANY DISCOUNTS ARE APPLIED)",
"notice": "Select CONTINUE to enter your payment information. If you have a discount code, you may enter it in the next page. ",
"button": "CONTINUE »",
"empty": "Your cart is empty. Select the x button in the top right-hand corner of this page to close this side bar Cart. "
},
"styles": {
"button": {
"background-color": "#950000",
"font-family": "Montserrat, sans-serif",
"font-size": "18px",
"padding-top": "17px",
"padding-bottom": "17px",
":hover": {
"background-color": "#fd0000"
},
"border-radius": "8px",
":focus": {
"background-color": "#fd0000"
},
"font-weight": "bold"
},
"footer": {
"background-color": "#ffffff"
}
},
"googleFonts": [
"Montserrat"
]
},
"modalProduct": {
"contents": {
"img": false,
"imgWithCarousel": true,
"variantTitle": false,
"buttonWithQuantity": true,
"button": false,
"quantity": false
},
"styles": {
"product": {
"@media (min-width: 601px)": {
"max-width": "100%",
"margin-left": "0px",
"margin-bottom": "0px"
}
},
"button": {
"background-color": "#950000",
"font-family": "Montserrat, sans-serif",
"font-size": "18px",
"padding-top": "17px",
"padding-bottom": "17px",
"padding-left": "50px",
"padding-right": "50px",
":hover": {
"background-color": "#fd0000"
},
"border-radius": "8px",
":focus": {
"background-color": "#fd0000"
},
"font-weight": "bold"
},
"quantityInput": {
"font-size": "18px",
"padding-top": "17px",
"padding-bottom": "17px"
}
},
"googleFonts": [
"Montserrat"
]
},
"toggle": {
"styles": {
"toggle": {
"font-family": "Montserrat, sans-serif",
"background-color": "#950000",
":hover": {
"background-color": "#fd0000"
},
":focus": {
"background-color": "#fd0000"
},
"font-weight": "bold"
},
"count": {
"color": "#ffffff",
":hover": {
"color": "#ffffff"
},
"font-size": "18px"
},
"iconPath": {
"fill": "#ffffff"
}
},
"googleFonts": [
"Montserrat"
]
},
"productSet": {
"styles": {
"products": {
"@media (min-width: 601px)": {
"margin-left": "-20px"
}
}
}
}
}
});
});
}
})();
/*]]-->*/