/*<![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: 'acupressure-com.myshopify.com', storefrontAccessToken: 'e3a3e21b509b5900250a54aab1012df2', }); ShopifyBuy.UI.onReady(client).then(function (ui) { ui.createComponent('collection', { id: '140981960790', node: document.getElementById('collection-component-1566250150358'), moneyFormat: '%24%7B%7Bamount%7D%7D', options: { "product": { "styles": { "product": { "@media (min-width: 601px)": { "max-width": "calc(33.33333% - 30px)", "margin-left": "30px", "margin-bottom": "50px", "width": "calc(33.33333% - 30px)" }, "img": { "height": "calc(100% - 15px)", "position": "absolute", "left": "0", "right": "0", "top": "0" }, "imgWrapper": { "padding-top": "calc(75% + 15px)", "position": "relative", "height": "0" } }, "title": { "font-size": "20px" }, "button": { "font-size": "16px", "padding-top": "16px", "padding-bottom": "16px", ":hover": { "background-color": "#6f4ea3" }, "background-color": "#7b57b5", ":focus": { "background-color": "#6f4ea3" }, "padding-left": "29px", "padding-right": "29px" }, "quantityInput": { "font-size": "16px", "padding-top": "16px", "padding-bottom": "16px" }, "price": { "font-size": "17px", "color": "#a079d2" }, "compareAt": { "font-size": "14.45px", "color": "#a079d2" } }, "buttonDestination": "modal", "contents": { "options": false }, "text": { "button": "View product" } }, "productSet": { "styles": { "products": { "@media (min-width: 601px)": { "margin-left": "-30px" } } } }, "modalProduct": { "contents": { "img": false, "imgWithCarousel": true, "button": false, "buttonWithQuantity": true }, "styles": { "product": { "@media (min-width: 601px)": { "max-width": "100%", "margin-left": "0px", "margin-bottom": "0px" } }, "button": { "font-size": "16px", "padding-top": "16px", "padding-bottom": "16px", ":hover": { "background-color": "#6f4ea3" }, "background-color": "#7b57b5", ":focus": { "background-color": "#6f4ea3" }, "padding-left": "29px", "padding-right": "29px" }, "quantityInput": { "font-size": "16px", "padding-top": "16px", "padding-bottom": "16px" }, "title": { "font-size": "29px" } }, "text": { "button": "Add to cart" } }, "cart": { "styles": { "button": { "font-size": "16px", "padding-top": "16px", "padding-bottom": "16px", ":hover": { "background-color": "#6f4ea3" }, "background-color": "#7b57b5", ":focus": { "background-color": "#6f4ea3" } }, "title": { "color": "#403f3f" }, "header": { "color": "#403f3f" }, "lineItems": { "color": "#403f3f" }, "subtotalText": { "color": "#403f3f" }, "subtotal": { "color": "#403f3f" }, "notice": { "color": "#403f3f" }, "currency": { "color": "#403f3f" }, "close": { "color": "#403f3f", ":hover": { "color": "#403f3f" } }, "empty": { "color": "#403f3f" }, "noteDescription": { "color": "#403f3f" } }, "text": { "title": "Shopping Cart", "total": "Subtotal", "button": "Checkout" } }, "toggle": { "styles": { "count": { "font-size": "16px" }, "toggle": { "background-color": "#7b57b5", ":hover": { "background-color": "#6f4ea3" }, ":focus": { "background-color": "#6f4ea3" } } } }, "lineItem": { "styles": { "variantTitle": { "color": "#403f3f" }, "title": { "color": "#403f3f" }, "price": { "color": "#403f3f" }, "quantity": { "color": "#403f3f" }, "quantityIncrement": { "color": "#403f3f", "border-color": "#403f3f" }, "quantityDecrement": { "color": "#403f3f", "border-color": "#403f3f" }, "quantityInput": { "color": "#403f3f", "border-color": "#403f3f" } } } }, }); }); } })(); /*]]>*/