Sugarolly Rainbow Cotton Candy


<div id='product-component-1673068216162'></div>
<script type="text/javascript">
/*<![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: 'sugarollyusa.myshopify.com',
storefrontAccessToken: 'abddd2f2d043ac95e6c7b179ea0d0ff1',
});
ShopifyBuy.UI.onReady(client).then(function (ui) {
ui.createComponent('product', {
id: '7161465602234',
node: document.getElementById('product-component-1673068216162'),
moneyFormat: '%24%7B%7Bamount%7D%7D',
options: {
"product": {
"styles": {
"product": {
"@media (min-width: 601px)": {
"max-width": "calc(25% - 20px)",
"margin-left": "20px",
"margin-bottom": "50px"
}
},
"button": {
":hover": {
"background-color": "#995ada"
},
"background-color": "#aa64f2",
":focus": {
"background-color": "#995ada"
}
}
},
"buttonDestination": "checkout",
"text": {
"button": "Buy now"
}
},
"productSet": {
"styles": {
"products": {
"@media (min-width: 601px)": {
"margin-left": "-20px"
}
}
}
},
"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": {
":hover": {
"background-color": "#995ada"
},
"background-color": "#aa64f2",
":focus": {
"background-color": "#995ada"
}
}
},
"text": {
"button": "Add to cart"
}
},
"option": {},
"cart": {
"styles": {
"button": {
":hover": {
"background-color": "#995ada"
},
"background-color": "#aa64f2",
":focus": {
"background-color": "#995ada"
}
}
},
"text": {
"total": "Subtotal",
"button": "Checkout"
}
},
"toggle": {
"styles": {
"toggle": {
"background-color": "#aa64f2",
":hover": {
"background-color": "#995ada"
},
":focus": {
"background-color": "#995ada"
}
}
}
}
},
});
});
}
})();
/*]]>*/
</script>

/* removed by Hanna G with TL RA assistance at Shopify on Jan 7 2023 */