} 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: 'mayebo-cosmetiques-paris.myshopify.com',
storefrontAccessToken: 'f79bb0e7769ad386c200cba8feb79027',
});
ShopifyBuy.UI.onReady(client).then(function (ui) {
ui.createComponent('product', {
id: '6929763565739',
node: document.getElementById('product-component-1631188724717'),
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"
}
},
"button": {
"font-size": "17px",
"padding-top": "16.5px",
"padding-bottom": "16.5px",
":hover": {
"background-color": "#61635f"
},
"background-color": "#6c6e6a",
":focus": {
"background-color": "#61635f"
},
"border-radius": "9px"
},
"quantityInput": {
"font-size": "17px",
"padding-top": "16.5px",
"padding-bottom": "16.5px"
}
},
"text": {
"button": "Acheter"
}
},
"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-size": "17px",
"padding-top": "16.5px",
"padding-bottom": "16.5px",
":hover": {
"background-color": "#61635f"
},
"background-color": "#6c6e6a",
":focus": {
"background-color": "#61635f"
},
"border-radius": "9px"
},
"quantityInput": {
"font-size": "17px",
"padding-top": "16.5px",
"padding-bottom": "16.5px"
}
},
"text": {
"button": "Add to cart"
}
},
"option": {},
"cart": {
"styles": {
"button": {
"font-size": "17px",
"padding-top": "16.5px",
"padding-bottom": "16.5px",
":hover": {
"background-color": "#61635f"
},
"background-color": "#6c6e6a",
":focus": {
"background-color": "#61635f"
},
"border-radius": "9px"
}
},
"text": {
"total": "Subtotal",
"button": "Checkout"
},
"popup": false
},
"toggle": {
"styles": {
"toggle": {
"background-color": "#6c6e6a",
":hover": {
"background-color": "#61635f"
},
":focus": {
"background-color": "#61635f"
}
},
"count": {
"font-size": "17px"
}
}
}
},
});
});
}
})();
/*]]>*/
Mail :mayebo78@gmail.com
Téléphone : 0767458441
Téléphone : 0651340553