Colección: Lo más vendido

<div id='collection-component-1655328532872'></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: 'zonabienestar.myshopify.com',
storefrontAccessToken: '34f98843ebd3163572b832b5ded83118',
});
ShopifyBuy.UI.onReady(client).then(function (ui) {
ui.createComponent('collection', {
id: '158020993110',
node: document.getElementById('collection-component-1655328532872'),
moneyFormat: '%24%20%7B%7Bamount%7D%7D',
options: {
"product": {
"styles": {
"product": {
"@media (min-width: 601px)": {
"max-width": "calc(25% - 20px)",
"margin-left": "20px",
"margin-bottom": "50px",
"width": "calc(25% - 20px)"
}
},
"title": {
"font-weight": "normal",
"font-size": "14px",
"color": "#000000"
},
"button": {
":hover": {
"background-color": "#5b712d"
},
"background-color": "#657e32",
":focus": {
"background-color": "#5b712d"
},
"border-radius": "4px",
"padding-left": "15px",
"padding-right": "15px"
},
"price": {
"color": "#000000"
},
"compareAt": {
"color": "#000000"
},
"unitPrice": {
"color": "#000000"
}
},
"text": {
"button": "Comprar"
}
},
"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": {
":hover": {
"background-color": "#5b712d"
},
"background-color": "#657e32",
":focus": {
"background-color": "#5b712d"
},
"border-radius": "4px",
"padding-left": "15px",
"padding-right": "15px"
},
"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"
}
},
"text": {
"button": "Add to cart"
}
},
"option": {},
"cart": {
"styles": {
"button": {
":hover": {
"background-color": "#5b712d"
},
"background-color": "#657e32",
":focus": {
"background-color": "#5b712d"
},
"border-radius": "4px"
}
},
"text": {
"title": "Carrito",
"total": "Subtotal",
"empty": "Tu carrito esta vacío.",
"notice": "El costo de envío y los códigos de descuento se agregan en el checkout.",
"button": "Checkout"
},
"popup": false
},
"toggle": {
"styles": {
"toggle": {
"background-color": "#657e32",
":hover": {
"background-color": "#5b712d"
},
":focus": {
"background-color": "#5b712d"
}
}
}
}
},
});
});
}
})();
/*]]>*/
</script>