super-embed:<script type="text/javascript">
if(document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded',afterDOMLoaded);
} else {
afterDOMLoaded();
}
function afterDOMLoaded(){
//Everything that needs to happen after the DOM has initially loaded.
/*<![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: 'bmaker-biere.myshopify.com',
storefrontAccessToken: '272e353f20eb7e9e9933d492c80561ff',
});
ShopifyBuy.UI.onReady(client).then(function (ui) {
ui.createComponent('product', {
id: '6930180374681',
node: document.getElementById('product-component-1627049847638'),
moneyFormat: '%E2%82%AC%7B%7Bamount_with_comma_separator%7D%7D',
options: {
"product": {
"styles": {
"product": {
"height":"71px",
"overflow":"hidden",
"@media (min-width: 601px)": {
"max-width": "calc(25% - 20px)",
"margin-left": "20px",
"margin-bottom": "50px"
}
},
"title": {
"font-family": "Lato, sans-serif"
},
"button": {
"font-family": "Lato, sans-serif",
"font-size": "16px",
"padding-top": "5px",
"padding-bottom": "5px",
":hover": {
"background-color": "#ce3c30"
},
"background-color": "#e54335",
":focus": {
"background-color": "#ce3c30"
},
"border-radius": "8px"
},
"quantityInput": {
"font-size": "16px",
"padding-top": "16px",
"padding-bottom": "16px"
},
"price": {
"font-family": "Lato, sans-serif"
},
"compareAt": {
"font-family": "Lato, sans-serif"
},
"unitPrice": {
"font-family": "Lato, sans-serif"
},
"description": {
"font-family": "Lato, sans-serif"
}
},
"contents": {
"img": false,
"title": false,
"price": false
},
"text": {
"button": "Ajouter au panier"
},
"googleFonts": [
"Lato"
]
},
"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": {
"font-family": "Lato, sans-serif",
"font-size": "16px",
"padding-top": "16px",
"padding-bottom": "16px",
":hover": {
"background-color": "#ce3c30"
},
"background-color": "#e54335",
":focus": {
"background-color": "#ce3c30"
},
"border-radius": "8px"
},
"quantityInput": {
"font-size": "16px",
"padding-top": "16px",
"padding-bottom": "16px"
},
"title": {
"font-family": "Helvetica Neue, sans-serif",
"font-weight": "bold",
"font-size": "26px",
"color": "#4c4c4c"
},
"price": {
"font-family": "Helvetica Neue, sans-serif",
"font-weight": "normal",
"font-size": "18px",
"color": "#4c4c4c"
},
"compareAt": {
"font-family": "Helvetica Neue, sans-serif",
"font-weight": "normal",
"font-size": "15.299999999999999px",
"color": "#4c4c4c"
},
"unitPrice": {
"font-family": "Helvetica Neue, sans-serif",
"font-weight": "normal",
"font-size": "15.299999999999999px",
"color": "#4c4c4c"
},
"description": {
"font-family": "Helvetica Neue, sans-serif",
"font-weight": "normal",
"font-size": "14px",
"color": "#4c4c4c"
}
},
"googleFonts": [
"Lato"
],
"text": {
"button": "Add to cart"
}
},
"option": {},
"cart": {
"styles": {
"button": {
"font-family": "Lato, sans-serif",
"font-size": "16px",
"padding-top": "16px",
"padding-bottom": "16px",
":hover": {
"background-color": "#ce3c30"
},
"background-color": "#e54335",
":focus": {
"background-color": "#ce3c30"
},
"border-radius": "8px"
}
},
"text": {
"title": "Panier",
"total": "Sous-total",
"empty": "Votre panier est vide.",
"notice": "Les frais de port et les codes de promotion sont ajoutés à l'étape suivante.",
"button": "Commander"
},
"googleFonts": [
"Lato"
]
},
"toggle": {
"styles": {
"toggle": {
"font-family": "Lato, sans-serif",
"background-color": "#e54335",
":hover": {
"background-color": "#ce3c30"
},
":focus": {
"background-color": "#ce3c30"
}
},
"count": {
"font-size": "16px"
}
},
"googleFonts": [
"Lato"
]
}
},
});
});
}
})();
/*]]>*/
}
</script>