Couple T-shirts

First product

// */
(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: ‘vutstore.myshopify.com’,
apiKey: ‘14685598dff516890d0c01ace2dbdd0e’,
appId: ‘6’,
});

ShopifyBuy.UI.onReady(client).then(function (ui) {
ui.createComponent(‘product’, {
id: [9448748932],
node: document.getElementById(‘product-component-bfaadb9c243’),
moneyFormat: ‘${{amount}}’,
options: {
“product”: {
“buttonDestination”: “cart”,
“layout”: “vertical”,
“variantId”: “all”,
“width”: “380px”,
“contents”: {
“img”: true,
“title”: true,
“variantTitle”: false,
“options”: true,
“price”: true,
“description”: false,
“buttonWithQuantity”: true,
“button”: false,
“quantity”: false
},
“text”: {
“button”: “ADD TO CART”
},
“styles”: {
“product”: {
“@media (min-width: 601px)”: {
“max-width”: “100%”,
“margin-left”: “0”,
“margin-bottom”: “50px”
}
},
“button”: {
“background-color”: “#78b657”,
“color”: “#ffffff”,
“font-family”: “Lato, sans-serif”,
“font-size”: “15px”,
“padding-top”: “16px”,
“padding-bottom”: “16px”,
“padding-left”: “26px”,
“padding-right”: “26px”,
“border”: “none”,
“:hover”: {
“background-color”: “#5f9d3e”,
“color”: “#ffffff”
},
“border-radius”: “3px”,
“font-weight”: “normal”
},
“variantTitle”: {
“font-family”: “Avant Garde, sans-serif”,
“font-size”: “14px”,
“color”: “#4c4c4c”,
“font-weight”: “normal”
},
“title”: {
“font-family”: “Gill Sans, sans-serif”,
“font-weight”: “normal”,
“font-size”: “18px”,
“color”: “#4c4c4c”
},
“description”: {
“color”: “#4c4c4c”,
“font-size”: “14px”,
“font-family”: “Avant Garde, sans-serif”,
“font-weight”: “normal”
},
“price”: {
“font-family”: “Avant Garde, sans-serif”,
“font-size”: “14px”,
“color”: “#4c4c4c”,
“font-weight”: “normal”
},
“quantityInput”: {
“font-size”: “16px”,
“padding-top”: “16px”,
“padding-bottom”: “16px”,
“color”: “#4c4c4c”
},
“compareAt”: {
“font-size”: “12px”,
“font-family”: “Avant Garde, sans-serif”,
“font-weight”: “normal”
}
},
“googleFonts”: [
“Lato”
]
},
“cart”: {
“contents”: {
“title”: true,
“lineItems”: true,
“footer”: true,
“button”: true
},
“text”: {
“title”: “Cart”,
“total”: “Total”,
“notice”: “Shipping and discount codes are added at checkout.”,
“button”: “CHECKOUT”,
“empty”: “Your cart is empty.”
},
“styles”: {
“button”: {
“background-color”: “#78b657”,
“color”: “#ffffff”,
“font-family”: “Lato, sans-serif”,
“font-size”: “16px”,
“padding-top”: “16px”,
“padding-bottom”: “16px”,
“padding-left”: “26px”,
“padding-right”: “26px”,
“border”: “none”,
“:hover”: {
“background-color”: “#5f9d3e”,
“color”: “#ffffff”
},
“border-radius”: “3px”,
“font-weight”: “normal”
},
“cart”: {
“background-color”: “#ffffff”
},
“footer”: {
“background-color”: “#ffffff”
},
“title”: {
“color”: “#4c4c4c”
},
“close”: {
“:hover”: {
}
}
},
“googleFonts”: [
“Lato”
]
},
“modalProduct”: {
“contents”: {
“img”: true,
“title”: true,
“variantTitle”: false,
“options”: true,
“price”: true,
“description”: true,
“buttonWithQuantity”: false,
“button”: true,
“quantity”: false
},
“text”: {
“button”: “ADD TO CART”
},
“styles”: {
“product”: {
“@media (min-width: 601px)”: {
“max-width”: “100%”,
“margin-left”: “0px”,
“margin-bottom”: “0px”
}
},
“button”: {
“background-color”: “#78b657”,
“color”: “#ffffff”,
“font-family”: “Lato, sans-serif”,
“font-size”: “15px”,
“padding-top”: “16px”,
“padding-bottom”: “16px”,
“padding-left”: “26px”,
“padding-right”: “26px”,
“border”: “none”,
“:hover”: {
“background-color”: “#5f9d3e”,
“color”: “#ffffff”
},
“border-radius”: “3px”,
“font-weight”: “normal”
},
“variantTitle”: {
“font-family”: “Avant Garde, sans-serif”,
“font-size”: “14px”,
“color”: “#4c4c4c”,
“font-weight”: “normal”
},
“title”: {
“font-family”: “Gill Sans, sans-serif”,
“font-weight”: “normal”,
“font-size”: “26px”,
“color”: “#4c4c4c”
},
“description”: {
“color”: “#4c4c4c”,
“font-size”: “14px”,
“font-family”: “Avant Garde, sans-serif”,
“font-weight”: “normal”
},
“price”: {
“font-family”: “Avant Garde, sans-serif”,
“font-size”: “18px”,
“color”: “#4c4c4c”,
“font-weight”: “normal”
},
“quantityInput”: {
“font-size”: “16px”,
“padding-top”: “16px”,
“padding-bottom”: “16px”,
“color”: “#4c4c4c”
},
“compareAt”: {
“font-size”: “15px”,
“font-family”: “Avant Garde, sans-serif”,
“font-weight”: “normal”
}
},
“googleFonts”: [
“Lato”
]
},
“productSet”: {
“styles”: {
“products”: {
“@media (min-width: 601px)”: {
“margin-left”: “-20px”
}
}
}
},
“toggle”: {
“styles”: {
“toggle”: {
“font-family”: “Lato, sans-serif”,
“background-color”: “#78b657”,
“:hover”: {
“background-color”: “#5f9d3e”
},
“font-weight”: “normal”
},
“count”: {
“color”: “#ffffff”,
“:hover”: {
“color”: “#ffffff”
}
},
“iconPath”: {
“fill”: “#ffffff”
}
},
“googleFonts”: [
“Lato”
]
},
“modal”: {
“styles”: {
“modal”: {
“background-color”: “#ffffff”
}
}
},
“option”: {
“styles”: {
“label”: {
“font-family”: “Avant Garde, sans-serif”,
“font-weight”: “normal”,
“color”: “#4c4c4c”
},
“select”: {
“font-family”: “Avant Garde, sans-serif”,
“font-weight”: “normal”,
“color”: “#4c4c4c”
}
}
}
}
});
});
}
})();
/* */
//]]>

Advertisements