(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: 'studio-fiftyfifty.myshopify.com', apiKey: 'fb69d6d2902ca72026a70a24d310ea34', appId: '6', });
ShopifyBuy.UI.onReady(client).then(function (ui) { ui.createComponent('collection', { id: 72642396278, node: document.getElementById('collection-component-7151adc406b'), moneyFormat: '%E2%82%AC%7B%7Bamount_with_comma_separator%7D%7D', options: { "product": { "variantId": "all", "contents": { "imgWithCarousel": false, "variantTitle": false, "description": false, "buttonWithQuantity": false, "quantity": false }, "styles": { "product": { "text-align": "left", "@media (min-width: 601px)": { "max-width": "calc(25% - 20px)", "margin-left": "20px", "margin-bottom": "50px" } }, "button": { "background-color": "#000000", "font-family": "Karla, sans-serif", "font-size": "13px", "padding-top": "14.5px", "padding-bottom": "14.5px", "padding-left": "10px", "padding-right": "10px", ":hover": { "background-color": "#000000" }, "border-radius": "1px", ":focus": { "background-color": "#000000" }, "font-weight": "normal" }, "variantTitle": { "font-family": "Karla, sans-serif", "font-weight": "normal" }, "title": { "font-family": "Karla, sans-serif", "font-weight": "normal" }, "description": { "font-family": "Karla, sans-serif", "font-weight": "normal" }, "price": { "font-family": "Karla, sans-serif", "font-weight": "normal" }, "quantityInput": { "font-size": "13px", "padding-top": "14.5px", "padding-bottom": "14.5px" }, "compareAt": { "font-family": "Karla, sans-serif", "font-weight": "normal" } }, "googleFonts": [ "Karla", "Karla", "Karla", "Karla", "Karla", "Karla" ] }, "cart": { "contents": { "button": true }, "styles": { "button": { "background-color": "#000000", "font-family": "Karla, sans-serif", "font-size": "13px", "padding-top": "14.5px", "padding-bottom": "14.5px", ":hover": { "background-color": "#000000" }, "border-radius": "1px", ":focus": { "background-color": "#000000" }, "font-weight": "normal" }, "footer": { "background-color": "#ffffff" } }, "googleFonts": [ "Karla" ] }, "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": "#000000", "font-family": "Karla, sans-serif", "font-size": "13px", "padding-top": "14.5px", "padding-bottom": "14.5px", "padding-left": "10px", "padding-right": "10px", ":hover": { "background-color": "#000000" }, "border-radius": "1px", ":focus": { "background-color": "#000000" }, "font-weight": "normal" }, "variantTitle": { "font-family": "Karla, sans-serif", "font-weight": "normal" }, "title": { "font-family": "Karla, sans-serif", "font-weight": "normal" }, "description": { "font-family": "Karla, sans-serif", "font-weight": "normal" }, "price": { "font-family": "Karla, sans-serif", "font-weight": "normal" }, "quantityInput": { "font-size": "13px", "padding-top": "14.5px", "padding-bottom": "14.5px" }, "compareAt": { "font-family": "Karla, sans-serif", "font-weight": "normal" } }, "googleFonts": [ "Karla", "Karla", "Karla", "Karla", "Karla", "Karla" ] }, "toggle": { "styles": { "toggle": { "font-family": "Karla, sans-serif", "background-color": "#000000", ":hover": { "background-color": "#000000" }, ":focus": { "background-color": "#000000" }, "font-weight": "normal" }, "count": { "font-size": "13px" } }, "googleFonts": [ "Karla" ] }, "option": { "styles": { "label": { "font-family": "Karla, sans-serif" }, "select": { "font-family": "Karla, sans-serif" } }, "googleFonts": [ "Karla", "Karla" ] }, "productSet": { "styles": { "products": { "@media (min-width: 601px)": { "margin-left": "-20px" } } } } } }); }); } })();