Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="product-component-1a432901f49"></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: 'uauimports.online',
- storefrontAccessToken: '0152a69de3f50a52cac5118db340ba91',
- });
- ShopifyBuy.UI.onReady(client).then(function (ui) {
- ui.createComponent('product', {
- id: [4008628256877],
- node: document.getElementById('product-component-1a432901f49'),
- moneyFormat: 'R%24%20%7B%7Bamount_with_comma_separator%7D%7D',
- options: {
- "product": {
- "variantId": "all",
- "width": "500px",
- "contents": {
- "img": false,
- "imgWithCarousel": false,
- "title": false,
- "variantTitle": false,
- "price": false,
- "description": false,
- "buttonWithQuantity": false,
- "quantity": false
- },
- "text": {
- "button": "COMPRAR AGORA"
- },
- "styles": {
- "product": {
- "@media (min-width: 601px)": {
- "max-width": "100%",
- "margin-left": "0",
- "margin-bottom": "50px"
- }
- },
- "button": {
- "background-color": "#8a05be",
- "padding-left": "29px",
- "padding-right": "29px",
- ":hover": {
- "background-color": "#eb09ff"
- },
- ":focus": {
- "background-color": "#eb09ff"
- },
- "font-weight": "bold"
- },
- "variantTitle": {
- "font-family": "Avant Garde, sans-serif",
- "font-weight": "normal"
- },
- "description": {
- "font-family": "Avant Garde, sans-serif",
- "font-weight": "normal"
- },
- "price": {
- "font-family": "Avant Garde, sans-serif",
- "font-weight": "normal"
- },
- "compareAt": {
- "font-size": "12px",
- "font-family": "Avant Garde, sans-serif",
- "font-weight": "normal"
- }
- }
- },
- "cart": {
- "contents": {
- "button": true
- },
- "popup": false,
- "styles": {
- "button": {
- "background-color": "#8a05be",
- ":hover": {
- "background-color": "#eb09ff"
- },
- ":focus": {
- "background-color": "#eb09ff"
- },
- "font-weight": "bold"
- },
- "footer": {
- "background-color": "#ffffff"
- }
- }
- },
- "modalProduct": {
- "contents": {
- "img": false,
- "imgWithCarousel": true,
- "variantTitle": false,
- "buttonWithQuantity": true,
- "button": false,
- "quantity": false
- },
- "styles": {
- "product": {
- "@media (min-width: 601px)": {
- "max-width": "100%",
- "margin-left": "0px",
- "margin-bottom": "0px"
- }
- },
- "button": {
- "background-color": "#8a05be",
- "padding-left": "29px",
- "padding-right": "29px",
- ":hover": {
- "background-color": "#eb09ff"
- },
- ":focus": {
- "background-color": "#eb09ff"
- },
- "font-weight": "bold"
- },
- "variantTitle": {
- "font-family": "Avant Garde, sans-serif",
- "font-weight": "normal"
- },
- "description": {
- "font-family": "Avant Garde, sans-serif",
- "font-weight": "normal"
- },
- "price": {
- "font-family": "Avant Garde, sans-serif",
- "font-weight": "normal"
- },
- "compareAt": {
- "font-family": "Avant Garde, sans-serif",
- "font-weight": "normal"
- }
- }
- },
- "toggle": {
- "styles": {
- "toggle": {
- "background-color": "#8a05be",
- ":hover": {
- "background-color": "#eb09ff"
- },
- ":focus": {
- "background-color": "#eb09ff"
- },
- "font-weight": "bold"
- }
- }
- },
- "option": {
- "styles": {
- "label": {
- "font-family": "Avant Garde, sans-serif"
- },
- "select": {
- "font-family": "Avant Garde, sans-serif"
- }
- }
- },
- "productSet": {
- "styles": {
- "products": {
- "@media (min-width: 601px)": {
- "margin-left": "-20px"
- }
- }
- }
- }
- }
- });
- });
- }
- })();
- // ]]></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement