<div id=’product-component-1694684814951′></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: ’17cb1b-3.myshopify.com’,
storefrontAccessToken: ‘484c7050a2375c9725892583249bc14c’,
});
ShopifyBuy.UI.onReady(client).then(function (ui) {
ui.createComponent(‘product’, {
id: ‘8531181306195’,
node: document.getElementById(‘product-component-1694684814951’),
moneyFormat: ‘%E2%82%AC%7B%7Bamount_with_comma_separator%7D%7D’,
options: {
“product”: {
“styles”: {
“product”: {
“@media (min-width: 601px)”: {
“max-width”: “calc(25% – 20px)”,
“margin-left”: “20px”,
“margin-bottom”: “50px”
}
}
},
“buttonDestination”: “modal”,
“contents”: {
“options”: false
},
“text”: {
“button”: “View product”
}
},
“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”
}
}
},
“text”: {
“button”: “Add to cart”
}
},
“option”: {},
“cart”: {
“text”: {
“total”: “Subtotal”,
“button”: “Checkout”
}
},
“toggle”: {}
},
});
});
}
})();
/*]]>*/
</script>
Categories: Uncategorized
1 Comment
Celia Huffman · 4 November 2023 at 20:00
I just like the valuable information you supply for your articles.
I’ll bookmark your weblog and check again here regularly.
I am slightly sure I’ll be informed a lot of new stuff proper here!
Best of luck for the following!