www.greenglass.cl
Open in
urlscan Pro
23.227.38.74
Public Scan
URL:
https://www.greenglass.cl/products/vasos-de-museo-6-pack-500ml
Submission: On December 10 via api from SE — Scanned from CA
Submission: On December 10 via api from SE — Scanned from CA
Form analysis
11 forms found in the DOMPOST /checkout
<form action="/checkout" method="post" data-total-discount="0" data-money-format="${{ amount_no_decimals_with_comma_separator }}" data-shop-currency="CLP" data-shop-name="Green Glass" class="hidden" data-cart-form="mini-cart">
<ul class="cart_items js-cart_items clearfix"></ul>
<ul class="extras">
<li class="cart_discounts js-cart_discounts sale"></li>
<li class="cart_subtotal js-cart_subtotal"> <span class="right"> <span class="money">$0</span></span> <span>Subtotal</span></li>
<li class="cart_savings sale js-cart_savings"></li>
<li> <!-- -->
<style>
.mystyle {
display: contents !important;
}
.mystyle1 {
display: block !important;
}
</style>
<div id="textQuestion"><b>¿Regalas tu Green Glass?.</b> <br> <span onclick="myFunction()" style="font-size:13px" class="note1"> Añade una Nota</span> <span onmouseout="mouseOut()" onmouseover="mouseOver()" class="logo5 express2"></span></div>
<div id="abre_header" class="abre_header" style="display: none">
<p class="cart-attribute__field"> <label id="notetext" for="de">De</label> <input id="de" type="text" name="attributes[De]" value=""></p>
<p class="cart-attribute__field"> <label id="notetext" for="para">Para</label> <input id="para" type="text" name="attributes[Para]" value=""></p>
<p class="cart-attribute__field"> <label id="notetext" for="mensaje">Mensaje</label> <textarea maxlength="200" id="mensaje" name="attributes[Mensaje]"></textarea></p> <span class="remainingC" id="remainingC"></span>
</div>
<div style="width: 270px;" class="box5 modales2"> <img src="https://cdn.shopify.com/s/files/1/1310/8733/files/etiqueta_BOLD_1.jpg?v=1591648854" style="width:100%; margin:0 auto"></div>
<script>
$('#de, #para, #mensaje').on('change', function() {
sessionStorage.setItem($(this).attr('name'), $(this).val());
});
$(document).ready(function() {
$('#de, #para, #mensaje').each(function() {
$(this).val(sessionStorage.getItem($(this).attr('name')));
});
});
$(document).ready(function() {
var de = sessionStorage.getItem($("#de").attr('name'));
var para = sessionStorage.getItem($("#para").attr('name'));
var mensaje = sessionStorage.getItem($("#mensaje").attr('name'));
if (de != " " || para != " " || mensaje != " ") {
console.log(de);
jQuery.post('/cart/update.js', {
attributes: {
'De': de,
'Para': para,
'Mensaje': mensaje
}
});
}
});
$('#changecolor').on('click', function() {
console.log("hii");
var de = sessionStorage.getItem($("#de").attr('name'));
var para = sessionStorage.getItem($("#para").attr('name'));
var mensaje = sessionStorage.getItem($("#mensaje").attr('name'));
if (de != " " || para != " " || mensaje != " ") {
console.log(de);
jQuery.post('/cart/update.js', {
attributes: {
'De': de,
'Para': para,
'Mensaje': mensaje
}
});
}
});
$("#mensaje").each(function() {
var len = 0;
var maxchar = 200;
$(this).keyup(function() {
var de = $("#de");
var para = $("#para");
var mensaje = $("#mensaje");
localStorage.setItem('DE', JSON.stringify(de.val()));
localStorage.setItem('Para', JSON.stringify(para));
localStorage.setItem('Mensaje', JSON.stringify(mensaje));
console.log("holis");
len = this.value.length
if (len > maxchar) {
return false;
} else if (len > 0) {
var x, i;
x = document.querySelectorAll(".remainingC");
for (i = 0; i < x.length; i++) {
x[i].innerHTML = "Caracteres Restantes: " + (maxchar - len);
}
} else {
var x, i;
x = document.querySelectorAll(".remainingC");
for (i = 0; i < x.length; i++) {
x[i].innerHTML = "Caracteres Restantes: " + (maxchar);
}
}
})
});
$(document).ready(function() {
$("#logo4").hover(function() {
$('#box4').show();
}, function() {
$('#box4').hide();
});
});
function myFunction() {
var x = document.querySelectorAll(".abre_header");
console.log("soy la nota" + x.length);
var i;
for (i = 0; i < x.length; i++) {
console.log(x[i]);
x[i].classList.toggle("mystyle");
}
}
/*$('[data-cart-form="mini-cart"] .note1scroll').click(() => {
console.log("entre aquibvnvn");
$('.abreheaderscroll').toggle();
});
$('[data-cart-form="mini-cart"] .note1').on('click', function(e){
$('.abre_header').toggle();
console.log("entre aquibvnvn");
})*/
/* $(window).on("scroll", function(){
var navbar = document.getElementById("header");
var sticky = navbar.offsetTop;
if (window.pageYOffset >= 100) {
$(".note1").addClass("note1scroll");
$('.abre_header').addClass("abreheaderscroll");
}
else
{
$(".note1").removeClass("note1scroll");
$('.abre_header').removeClass("abreheaderscroll");
}
});*/
/* $(".logo5").hover(function(){
$('.box5').show();
},
function(){
$('.box5').hide();
});*/
function mouseOver() {
var box = document.querySelectorAll(".box5");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut() {
var box = document.querySelectorAll(".box5");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script>
<div class="donaciones"> <!-- DO NOT REMOVE THE FOLLOWING COMMENT -->
<!-- (c) Copyright 2014 Caroline Hill. All Rights Reserved. Contact Mlle Caroline Schnapp at mllegeorgesand@gmail.com -->
<!-- DO NOT REMOVE THE ABOVE COMMENT -->
<div id="is-a-gift" style="clear: left; margin: 8px 0" class="clearfix rte">
<p> <input type="hidden" name="attributes[donacion]" value=""> <input class="donacion" id="donacion" type="checkbox" name="attributes[donacion]" value="yes" style="float: none"> <label id="donacion" for="donacion"
style="font-size:10px;display:inline; padding-left: 5px; float: none;"> Donar $5.000 a la Fundación Vivir + Feliz</label> <span onmouseout="mouseOut2()" onmouseover="mouseOver2()" class="logo1 express"></span> <br>
<a class="logo-fun" href="https://www.vivirmasfeliz.cl" target="_blank" style="font-size: 10.8px !important;"></a></p>
</div>
<script>
Shopify.Cart = Shopify.Cart || {};
Shopify.Cart.GiftWrap = {};
Shopify.Cart.GiftWrap.set = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31990353854529: 1
},
attributes: {
'donacion': true
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
Shopify.Cart.GiftWrap.remove = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31990353854529: 0
},
attributes: {
'donacion': ''
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
function refreshCart(cart) {
$(".cart_count").empty();
$cartBtn = $(".cart_count");
var value = $cartBtn.text() || '0';
var cart_items_html = "";
var cart_discounts_html = "";
var cart_action_html = "";
var cart_savings_html = "";
var $cart_form = $('[data-cart-form]');
var productHasSale = false;
var productCompareAtPrice = 0;
var productFinalPrice = 0;
$cart_form.data('total-discount', cart.total_discount);
$cartBtn.text(value.replace(/[0-9]+/, cart.item_count));
if (cart.item_count == 0) {
$('.js-empty-cart__message').removeClass('hidden');
$cart_form.addClass('hidden');
} else {
$('.js-empty-cart__message').addClass('hidden');
$cart_form.removeClass('hidden');
var total_saving = 0; // adding counter variables for total cart savings
var saving = 0;
$.each(cart.items, function(index, item) {
var itemDiscounts = item.discounts;
var discountMessage = "";
for (i = 0; i < itemDiscounts.length; i++) {
var amount = Shopify.formatMoney(itemDiscounts[i].amount, $('body').data('money-format'));
var title = itemDiscounts[i].title;
discountMessage = '<p class="notification-discount meta">' + title + '</p>';
}
var line_id = index + 1;
cart_items_html += '<li class="mini-cart__item clearfix" data-cart-item data-line-id="' + line_id + '" data-variant-id="' + item.id + '">' + '<a href="' + item.url + '">';
if (item.image) {
cart_items_html += '<div class="cart_image">' + '<img src="' + item.image.replace(/(\.[^.]*)$/, "_compact$1").replace('http:', '') + '" alt="' + htmlEncode(item.title) + '" />' + '</div></a>';
}
cart_items_html += '<div class="mini-cart__item--content"><div class="mini-cart__item__title"><div class="item_title"><a href="' + item.url + '">' + item.title + '</a></div>';
if (item.properties) {
$.each(item.properties, function(title, value) {
if (value) {
cart_items_html += '<div class="line-item">' + title + ': ' + value + '</div>';
}
});
}
cart_items_html += '<strong class="right price">';
$.ajax({
dataType: "json",
async: false,
cache: false,
url: "/products/" + item.handle + ".js",
success: function(data) {
// If item has more than one variant, need to make sure we are pulling data from the correct variant
if (data.variants) {
var itemVariants = data.variants;
if (itemVariants.length > 1) {
for (v = 0; v < itemVariants.length; v++) {
if (itemVariants[v].id == item.id) {
var data = itemVariants[v];
}
}
}
}
// If compare at price exists then item is on sale
if (data.compare_at_price) {
if (data.compare_at_price > data.price) {
productHasSale = true;
productCompareAtPrice = data.compare_at_price;
productFinalPrice = data.price;
}
} else {
// Check required for non-sale items
productHasSale = false;
}
}
});
if (productHasSale == true) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(productFinalPrice, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(productCompareAtPrice, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
// Total savings
saving = (productCompareAtPrice - productFinalPrice) * item.quantity;
total_saving = saving + total_saving;
} else {
if (item.price > item.final_price) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(item.final_price, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(item.price, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
} else {
var itemPrice = Shopify.formatMoney(item.price, $('body').data('money-format'));
cart_items_html += '<span class="money">' + itemPrice + '</span></strong>';
}
}
if (item.price > item.final_price) {
cart_items_html += discountMessage;
}
cart_items_html += '<div class="left product-quantity-box">';
cart_items_html += '<span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span>';
cart_items_html += '<input type="number" min="0" class="quantity" name="updates[]" id="updates_' + item.id + '" value="' + item.quantity + '" data-cart-quantity-input="mini-cart" />';
cart_items_html += '<span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span>';
cart_items_html += '</div></div></div>';
cart_items_html += '<a href="/cart/change?line=' + line_id + '&quantity=0" class="js-cart-remove-btn cart__remove-btn" data-line-id="' + line_id + '" data-remove-item="mini-cart"><span class="remove-icon"></span></a>';
});
var cartDiscounts = cart.cart_level_discount_applications;
var cartDiscountMessage = "";
for (i = 0; i < cartDiscounts.length; i++) {
var amount = Shopify.formatMoney(cartDiscounts[i].total_allocated_amount, $('body').data('money-format'));
var title = cartDiscounts[i].title;
cart_discounts_html += '<span class="cart_discounts--title">' + title + '</span>';
cart_discounts_html += '<span class="cart_discounts--price">';
cart_discounts_html += '-<span class="money">' + amount + '</span></span>';
}
cart_action_html += '<span class="right"><span class="money">' + Shopify.formatMoney(cart.total_price, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_subtotal_text + '</span>';
total_saving = total_saving + cart.total_discount;
if (Shopify.theme_settings.display_savings && total_saving > 0) {
cart_savings_html = '<span class="right"><span class="money">' + Shopify.formatMoney(total_saving, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_savings_text + '</span>';
} else {
cart_savings_html = "";
}
}
$('.js-cart_items').html(cart_items_html);
$('.js-cart_discounts').html(cart_discounts_html);
$('.js-cart_subtotal').html(cart_action_html);
$('.js-cart_savings').html(cart_savings_html);
if (Shopify.theme_settings.show_multiple_currencies) {
convertCurrencies();
}
}
/* If we have nothing but gift-wrap items in the cart.
*/
// When the donacion checkbox is checked or unchecked.
jQuery(function() {
jQuery('[name="attributes\[donacion\]"]').change(function() {
if (jQuery(this).is(':checked')) {
Shopify.Cart.GiftWrap.set();
} else {
Shopify.Cart.GiftWrap.remove();
}
});
});
</script>
<div class="box1 modales1">
<p><strong>¿Quieres Mejorar Tu Pedido?</strong></p>
<p> Aporta $5.000 a la fundación Vivir Más Feliz para Realizar una terapia a un niño con cáncer. Harás que un clown profesional haga reír a un niño y su familia al mejor estilo de Patch Adams</p>
<p style="font-size:10px">El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones</p>
</div>
<script>
/*$(document).ready(function(){
$(".logo1").hover(function(){
$('.box1').show();
},
function(){
$('.box1').hide();
});
}); */
function mouseOver2() {
var box = document.querySelectorAll(".box1");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut2() {
var box = document.querySelectorAll(".box1");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script> <!-- DO NOT REMOVE THE FOLLOWING COMMENT -->
<!-- (c) Copyright 2014 Caroline Hill. All Rights Reserved. Contact Mlle Caroline Schnapp at mllegeorgesand@gmail.com -->
<!-- DO NOT REMOVE THE ABOVE COMMENT -->
<div id="is-a-gift" style="clear: left; margin: 8px 0;" class="clearfix rte">
<p>
<input type="hidden" name="attributes[arbol]" value="">
<input class="arbol" id="arbol" type="checkbox" name="attributes[arbol]" value="yes" style="float: none;">
<label id="donacion" for="arbol" style="font-size:10px;display: inline; padding-left: 5px; float: none;"> Donar un árbol por $4.000 </label> <span onmouseout="mouseOut1()" onmouseover="mouseOver1()" style="font-size: 13px; color: black;"
class="logo2 express"></span>
<br>
<a class="logo-arbol" href="https://www.reforestemos.cl/" target="_blank" style="font-size: 10.8px !important;"></a>
</p>
</div>
<script>
Shopify.Cart = Shopify.Cart || {};
Shopify.Cart.GiftWrapArbol = {};
Shopify.Cart.GiftWrapArbol.set = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31497925525569: 1
},
attributes: {
'arbol': true
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
Shopify.Cart.GiftWrapArbol.remove = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31497925525569: 0
},
attributes: {
'arbol': ''
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
function refreshCart(cart) {
$(".cart_count").empty();
$cartBtn = $(".cart_count");
var value = $cartBtn.text() || '0';
var cart_items_html = "";
var cart_discounts_html = "";
var cart_action_html = "";
var cart_savings_html = "";
var $cart_form = $('[data-cart-form]');
var productHasSale = false;
var productCompareAtPrice = 0;
var productFinalPrice = 0;
$cart_form.data('total-discount', cart.total_discount);
$cartBtn.text(value.replace(/[0-9]+/, cart.item_count));
if (cart.item_count == 0) {
$('.js-empty-cart__message').removeClass('hidden');
$cart_form.addClass('hidden');
} else {
$('.js-empty-cart__message').addClass('hidden');
$cart_form.removeClass('hidden');
var total_saving = 0; // adding counter variables for total cart savings
var saving = 0;
$.each(cart.items, function(index, item) {
var itemDiscounts = item.discounts;
var discountMessage = "";
for (i = 0; i < itemDiscounts.length; i++) {
var amount = Shopify.formatMoney(itemDiscounts[i].amount, $('body').data('money-format'));
var title = itemDiscounts[i].title;
discountMessage = '<p class="notification-discount meta">' + title + '</p>';
}
var line_id = index + 1;
cart_items_html += '<li class="mini-cart__item clearfix" data-cart-item data-line-id="' + line_id + '" data-variant-id="' + item.id + '">' + '<a href="' + item.url + '">';
if (item.image) {
cart_items_html += '<div class="cart_image">' + '<img src="' + item.image.replace(/(\.[^.]*)$/, "_compact$1").replace('http:', '') + '" alt="' + htmlEncode(item.title) + '" />' + '</div></a>';
}
cart_items_html += '<div class="mini-cart__item--content"><div class="mini-cart__item__title"><div class="item_title"><a href="' + item.url + '">' + item.title + '</a></div>';
if (item.properties) {
$.each(item.properties, function(title, value) {
if (value) {
cart_items_html += '<div class="line-item">' + title + ': ' + value + '</div>';
}
});
}
cart_items_html += '<strong class="right price">';
$.ajax({
dataType: "json",
async: false,
cache: false,
url: "/products/" + item.handle + ".js",
success: function(data) {
// If item has more than one variant, need to make sure we are pulling data from the correct variant
if (data.variants) {
var itemVariants = data.variants;
if (itemVariants.length > 1) {
for (v = 0; v < itemVariants.length; v++) {
if (itemVariants[v].id == item.id) {
var data = itemVariants[v];
}
}
}
}
// If compare at price exists then item is on sale
if (data.compare_at_price) {
if (data.compare_at_price > data.price) {
productHasSale = true;
productCompareAtPrice = data.compare_at_price;
productFinalPrice = data.price;
}
} else {
// Check required for non-sale items
productHasSale = false;
}
}
});
if (productHasSale == true) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(productFinalPrice, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(productCompareAtPrice, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
// Total savings
saving = (productCompareAtPrice - productFinalPrice) * item.quantity;
total_saving = saving + total_saving;
} else {
if (item.price > item.final_price) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(item.final_price, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(item.price, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
} else {
var itemPrice = Shopify.formatMoney(item.price, $('body').data('money-format'));
cart_items_html += '<span class="money">' + itemPrice + '</span></strong>';
}
}
if (item.price > item.final_price) {
cart_items_html += discountMessage;
}
cart_items_html += '<div class="left product-quantity-box">';
cart_items_html += '<span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span>';
cart_items_html += '<input type="number" min="0" class="quantity" name="updates[]" id="updates_' + item.id + '" value="' + item.quantity + '" data-cart-quantity-input="mini-cart" />';
cart_items_html += '<span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span>';
cart_items_html += '</div></div></div>';
cart_items_html += '<a href="/cart/change?line=' + line_id + '&quantity=0" class="js-cart-remove-btn cart__remove-btn" data-line-id="' + line_id + '" data-remove-item="mini-cart"><span class="arbol remove-icon"></span></a>';
});
var cartDiscounts = cart.cart_level_discount_applications;
var cartDiscountMessage = "";
for (i = 0; i < cartDiscounts.length; i++) {
var amount = Shopify.formatMoney(cartDiscounts[i].total_allocated_amount, $('body').data('money-format'));
var title = cartDiscounts[i].title;
cart_discounts_html += '<span class="cart_discounts--title">' + title + '</span>';
cart_discounts_html += '<span class="cart_discounts--price">';
cart_discounts_html += '-<span class="money">' + amount + '</span></span>';
}
cart_action_html += '<span class="right"><span class="money">' + Shopify.formatMoney(cart.total_price, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_subtotal_text + '</span>';
total_saving = total_saving + cart.total_discount;
if (Shopify.theme_settings.display_savings && total_saving > 0) {
cart_savings_html = '<span class="right"><span class="money">' + Shopify.formatMoney(total_saving, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_savings_text + '</span>';
} else {
cart_savings_html = "";
}
}
$('.js-cart_items').html(cart_items_html);
$('.js-cart_discounts').html(cart_discounts_html);
$('.js-cart_subtotal').html(cart_action_html);
$('.js-cart_savings').html(cart_savings_html);
if (Shopify.theme_settings.show_multiple_currencies) {
convertCurrencies();
}
}
/* // If we have nothing but gift-wrap items in the cart.
*/
// When the donacion checkbox is checked or unchecked.
// When the donacion checkbox is checked or unchecked.
jQuery(function() {
jQuery('.arbol').change(function() {
if (jQuery(this).is(':checked')) {
Shopify.Cart.GiftWrapArbol.set();
} else {
Shopify.Cart.GiftWrapArbol.remove();
}
});
});
</script>
<div class="box2 modales1">
<p><strong>¿Quieres Mejorar Tu Pedido?</strong></p>
<p> Tu aporte irá directo a Fundación Reforestemos para plantar árboles nativos en zonas deforestadas </p>
<p style="font-size: 10px;"> El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones </p>
</div>
<script>
/*$(document).ready(function () {
$('.logo2').hover(
function () {
$('.box2').show();
},
function () {
$('.box2').hide();
}
);
});*/
function mouseOver1() {
var box = document.querySelectorAll(".box2");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut1() {
var box = document.querySelectorAll(".box2");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script> <!-- DO NOT REMOVE THE FOLLOWING COMMENT -->
<!-- (c) Copyright 2014 Caroline Hill. All Rights Reserved. Contact Mlle Caroline Schnapp at mllegeorgesand@gmail.com -->
<!-- DO NOT REMOVE THE ABOVE COMMENT -->
<div id="is-a-gift" style="clear: left; margin: 8px 0" class="clearfix rte">
<p> <input type="hidden" name="attributes[perrito]" value=""> <input class="perrito" id="perrito" type="checkbox" name="attributes[perrito]" value="Yes" style="float: none"> <label for="perrito"
style="font-size:10px;display:inline; padding-left: 5px; float: none;"> Esteriliza a un Perrito o Gatito por $15.000</label> <span onmouseout="mouseOut3()" onmouseover="mouseOver3()" style="font-size: 13px;color: black;"
class="logo3 express"></span> <br> <a class="logo-arbol" href="https://www.reforestemos.cl/" target="_blank" style="font-size: 10.8px !important;"></a></p>
</div>
<script>
const checkBoxes = document.getElementsByClassName('myCheck');
for (const check of checkBoxes) {
check.addEventListener('click', (event) => {
for (const aux of checkBoxes) {
if (event.srcElement.checked) {
aux.checked = true;
} else {
aux.checked = false;
}
}
});
}
function uncheck() {
for (const checkBox of checkBoxes) {
checkBox.checked = false;
}
}
Shopify.Cart = Shopify.Cart || {};
Shopify.Cart.GiftWrapPerrito = {};
Shopify.Cart.GiftWrapPerrito.set = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31775362252865: 1
},
attributes: {
'perrito': true
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
Shopify.Cart.GiftWrapPerrito.remove = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31775362252865: 0
},
attributes: {
'perrito': ''
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
function refreshCart(cart) {
$(".cart_count").empty();
$cartBtn = $(".cart_count");
var value = $cartBtn.text() || '0';
var cart_items_html = "";
var cart_discounts_html = "";
var cart_action_html = "";
var cart_savings_html = "";
var $cart_form = $('[data-cart-form]');
var productHasSale = false;
var productCompareAtPrice = 0;
var productFinalPrice = 0;
$cart_form.data('total-discount', cart.total_discount);
$cartBtn.text(value.replace(/[0-9]+/, cart.item_count));
if (cart.item_count == 0) {
$('.js-empty-cart__message').removeClass('hidden');
$cart_form.addClass('hidden');
} else {
$('.js-empty-cart__message').addClass('hidden');
$cart_form.removeClass('hidden');
var total_saving = 0; // adding counter variables for total cart savings
var saving = 0;
$.each(cart.items, function(index, item) {
var itemDiscounts = item.discounts;
var discountMessage = "";
for (i = 0; i < itemDiscounts.length; i++) {
var amount = Shopify.formatMoney(itemDiscounts[i].amount, $('body').data('money-format'));
var title = itemDiscounts[i].title;
discountMessage = '<p class="notification-discount meta">' + title + '</p>';
}
var line_id = index + 1;
cart_items_html += '<li class="mini-cart__item clearfix" data-cart-item data-line-id="' + line_id + '" data-variant-id="' + item.id + '">' + '<a href="' + item.url + '">';
if (item.image) {
cart_items_html += '<div class="cart_image">' + '<img src="' + item.image.replace(/(\.[^.]*)$/, "_compact$1").replace('http:', '') + '" alt="' + htmlEncode(item.title) + '" />' + '</div></a>';
}
cart_items_html += '<div class="mini-cart__item--content"><div class="mini-cart__item__title"><div class="item_title"><a href="' + item.url + '">' + item.title + '</a></div>';
if (item.properties) {
$.each(item.properties, function(title, value) {
if (value) {
cart_items_html += '<div class="line-item">' + title + ': ' + value + '</div>';
}
});
}
cart_items_html += '<strong class="right price">';
$.ajax({
dataType: "json",
async: false,
cache: false,
url: "/products/" + item.handle + ".js",
success: function(data) {
// If item has more than one variant, need to make sure we are pulling data from the correct variant
if (data.variants) {
var itemVariants = data.variants;
if (itemVariants.length > 1) {
for (v = 0; v < itemVariants.length; v++) {
if (itemVariants[v].id == item.id) {
var data = itemVariants[v];
}
}
}
}
// If compare at price exists then item is on sale
if (data.compare_at_price) {
if (data.compare_at_price > data.price) {
productHasSale = true;
productCompareAtPrice = data.compare_at_price;
productFinalPrice = data.price;
}
} else {
// Check required for non-sale items
productHasSale = false;
}
}
});
if (productHasSale == true) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(productFinalPrice, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(productCompareAtPrice, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
// Total savings
saving = (productCompareAtPrice - productFinalPrice) * item.quantity;
total_saving = saving + total_saving;
} else {
if (item.price > item.final_price) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(item.final_price, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(item.price, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
} else {
var itemPrice = Shopify.formatMoney(item.price, $('body').data('money-format'));
cart_items_html += '<span class="money">' + itemPrice + '</span></strong>';
}
}
if (item.price > item.final_price) {
cart_items_html += discountMessage;
}
cart_items_html += '<div class="left product-quantity-box">';
cart_items_html += '<span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span>';
cart_items_html += '<input type="number" min="0" class="quantity" name="updates[]" id="updates_' + item.id + '" value="' + item.quantity + '" data-cart-quantity-input="mini-cart" />';
cart_items_html += '<span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span>';
cart_items_html += '</div></div></div>';
cart_items_html += '<a href="/cart/change?line=' + line_id + '&quantity=0" class="js-cart-remove-btn cart__remove-btn" data-line-id="' + line_id + '" data-remove-item="mini-cart"><span class="remove-icon"></span></a>';
});
var cartDiscounts = cart.cart_level_discount_applications;
var cartDiscountMessage = "";
for (i = 0; i < cartDiscounts.length; i++) {
var amount = Shopify.formatMoney(cartDiscounts[i].total_allocated_amount, $('body').data('money-format'));
var title = cartDiscounts[i].title;
cart_discounts_html += '<span class="cart_discounts--title">' + title + '</span>';
cart_discounts_html += '<span class="cart_discounts--price">';
cart_discounts_html += '-<span class="money">' + amount + '</span></span>';
}
cart_action_html += '<span class="right"><span class="money">' + Shopify.formatMoney(cart.total_price, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_subtotal_text + '</span>';
total_saving = total_saving + cart.total_discount;
if (Shopify.theme_settings.display_savings && total_saving > 0) {
cart_savings_html = '<span class="right"><span class="money">' + Shopify.formatMoney(total_saving, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_savings_text + '</span>';
} else {
cart_savings_html = "";
}
}
$('.js-cart_items').html(cart_items_html);
$('.js-cart_discounts').html(cart_discounts_html);
$('.js-cart_subtotal').html(cart_action_html);
$('.js-cart_savings').html(cart_savings_html);
if (Shopify.theme_settings.show_multiple_currencies) {
convertCurrencies();
}
}
// If we have nothing but gift-wrap items in the cart.
/**/
// When the donacion checkbox is checked or unchecked.
jQuery(function() {
jQuery('[name="attributes\[perrito\]"]').change(function() {
if (jQuery(this).is(':checked')) {
Shopify.Cart.GiftWrapPerrito.set();
} else {
Shopify.Cart.GiftWrapPerrito.remove();
}
});
});
/* function addPerrito() {
var x = document.querySelectorAll(".perrito");
var i;
for (i = 0; i <x.length; i++) {
console.log(x[i]);
if(x[i].checked) {
Shopify.Cart.GiftWrapPerrito.set();
console.log("entre aqui");
}
}
}*/
</script>
<div class="box3 modales1">
<p><strong>¿Quieres Mejorar Tu Pedido?</strong></p>
<p> Tu aporte irá directo a Fundación Quiltro para esterilizar animales en zonas vulnerables</p>
<p style="font-size:10px">El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones</p>
</div>
<script>
/*$(document).ready(function(){
$(".logo3").hover(function(){
$('.box3').show();
},
function(){
$('.box3').hide();
});
}); */
function mouseOver3() {
var box = document.querySelectorAll(".box3");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut3() {
var box = document.querySelectorAll(".box3");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script>
</div> <a class="cart_content__continue-shopping secondary_button">
Seguir comprando →</a> <button type="submit" class="changecolor action_button"><span class="icon-lock"></span>Terminar pedido</button>
</li>
</ul>
</form>
/pages/search-results-page
<form action="/pages/search-results-page" class="search_form"> <input type="hidden" name="type" value="product"> <span class="icon-search search-submit" style="display: block;"></span> <input type="text" name="q" placeholder="Buscar" value=""
autocapitalize="off" autocomplete="off" autocorrect="off" class="snize-input-style">
<div class="search__results-wrapper">
<ul class="search__results"></ul>
</div>
</form>
/pages/search-results-page
<form action="/pages/search-results-page" class="header_search_form"> <input type="hidden" name="type" value="product"> <span class="icon-search search-submit" style="display: block;"></span> <input type="text" name="q" placeholder="Buscar"
autocapitalize="off" autocomplete="off" autocorrect="off" class="search-terms snize-input-style">
<div class="search__results-wrapper">
<ul class="search__results"></ul>
</div>
</form>
<form class="needsclick klaviyo-form klaviyo-form-version-cid_1 kl-private-reset-css-Xuajs1" data-testid="klaviyo-form-SFrv5N" novalidate="" tabindex="-1"
style="display: flex; flex-direction: row; box-sizing: border-box; width: 100%; overflow: visible; max-width: 600px; margin: 0px auto; border-radius: 0px; border-style: none; border-width: 0px; border-color: rgb(255, 255, 255); background-color: rgba(255, 255, 255, 0); background-repeat: no-repeat; background-position-y: 50%; padding: 20px 10px;">
<div class="needsclick kl-private-reset-css-Xuajs1" style="display: flex; flex-direction: column; width: 100%; margin: 0px; padding: 0px; justify-content: center;">
<div data-testid="form-row" class="needsclick kl-private-reset-css-Xuajs1" style="display: flex; flex-direction: row; align-items: stretch; position: relative;">
<div component="[object Object]" data-testid="form-component" class="needsclick kl-private-reset-css-Xuajs1" style="display: flex; justify-content: flex-start; padding: 0px 6px 10px; position: relative; flex: 1 0 0px;">
<div class="kl-private-reset-css-Xuajs1 kl-private-quill-wrapper-Lkqws1" style="width: 100%;">
<div class="ql-snow ql-container ql-disabled">
<div class="ql-editor" data-gramm="false" contenteditable="false">
<p style="text-align: center;"><strong class="ql-font-arial" style="font-size: 20px;">Los mejores emails del mundo?</strong></p>
<p style="text-align: center;"><span class="ql-font-arial" style="font-size: 16px;">Nos hicimos conocidos por ellos 🥳</span></p>
</div>
<div class="ql-clipboard" contenteditable="true" tabindex="-1"></div>
</div>
</div>
</div>
</div>
<div data-testid="form-row" class="needsclick kl-private-reset-css-Xuajs1" style="display: flex; flex-direction: row; align-items: stretch; position: relative;">
<div component="[object Object]" data-testid="form-component" class="needsclick kl-private-reset-css-Xuajs1" style="display: flex; justify-content: flex-start; padding: 10px 6px; position: relative; flex: 1 0 0px;">
<div class="needsclick kl-private-reset-css-Xuajs1" style="display: flex; flex-grow: 1; flex-direction: column; align-self: flex-end;"><input class="needsclick go1889483518 kl-private-reset-css-Xuajs1" type="text" tabindex="0"
placeholder="Como te dicen?" aria-label="Como te dicen?" aria-invalid="false" options="[object Object]"
style="box-sizing: border-box; border-radius: 2px; padding: 0px 0px 0px 16px; height: 38px; text-align: left; color: rgb(0, 0, 0); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: 0px; background-color: rgb(255, 255, 255); border: 1px solid rgb(180, 187, 195);">
<div class="needsclick kl-private-reset-css-Xuajs1" style="width: 100%; position: relative;"></div>
</div>
</div>
<div component="[object Object]" data-testid="form-component" class="needsclick kl-private-reset-css-Xuajs1" style="display: flex; justify-content: flex-start; padding: 10px 0px 10px 6px; position: relative; flex: 1 0 0px;">
<div class="needsclick kl-private-reset-css-Xuajs1" style="display: flex; flex-grow: 1; flex-direction: column; align-self: flex-end;"><input class="needsclick go1889483518 kl-private-reset-css-Xuajs1" type="email" name="email" tabindex="0"
placeholder="Tu email" aria-label="Tu email" aria-invalid="false" options="[object Object]"
style="box-sizing: border-box; border-radius: 2px; padding: 0px 0px 0px 16px; height: 38px; text-align: left; color: rgb(0, 0, 0); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: 0px; background-color: rgb(255, 255, 255); border: 1px solid rgb(180, 187, 195);">
<div class="needsclick kl-private-reset-css-Xuajs1" style="width: 100%; position: relative;"></div>
</div>
</div>
<div component="[object Object]" data-testid="form-component" class="needsclick kl-private-reset-css-Xuajs1" style="display: flex; justify-content: flex-start; padding: 10px 6px 10px 0px; position: relative; flex: 0 1 auto;"><button
class="needsclick go332817621 kl-private-reset-css-Xuajs1" type="button" tabindex="0"
style="background: rgb(162, 60, 219); border-radius: 0px; border-style: none; border-color: rgb(0, 0, 0); border-width: 0px; color: rgb(255, 255, 255); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0px; line-height: 1; white-space: normal; padding: 11px 10px; text-align: center; word-break: break-word; align-self: flex-end; cursor: pointer;">DALE!</button>
</div>
</div>
</div><input type="submit" tabindex="-1" value="Submit" style="display: none;">
</form>
POST /checkout
<form action="/checkout" method="post" data-total-discount="0" data-money-format="${{ amount_no_decimals_with_comma_separator }}" data-shop-currency="CLP" data-shop-name="Green Glass" class="hidden" data-cart-form="mini-cart">
<ul class="cart_items js-cart_items clearfix"></ul>
<ul class="extras">
<li class="cart_discounts js-cart_discounts sale"></li>
<li class="cart_subtotal js-cart_subtotal"> <span class="right"> <span class="money">$0</span></span> <span>Subtotal</span></li>
<li class="cart_savings sale js-cart_savings"></li>
<li> <!-- -->
<style>
.mystyle {
display: contents !important;
}
.mystyle1 {
display: block !important;
}
</style>
<div id="textQuestion"><b>¿Regalas tu Green Glass?.</b> <br> <span onclick="myFunction()" style="font-size:13px" class="note1"> Añade una Nota</span> <span onmouseout="mouseOut()" onmouseover="mouseOver()" class="logo5 express2"></span></div>
<div id="abre_header" class="abre_header" style="display: none">
<p class="cart-attribute__field"> <label id="notetext" for="de">De</label> <input id="de" type="text" name="attributes[De]" value=""></p>
<p class="cart-attribute__field"> <label id="notetext" for="para">Para</label> <input id="para" type="text" name="attributes[Para]" value=""></p>
<p class="cart-attribute__field"> <label id="notetext" for="mensaje">Mensaje</label> <textarea maxlength="200" id="mensaje" name="attributes[Mensaje]"></textarea></p> <span class="remainingC" id="remainingC"></span>
</div>
<div style="width: 270px;" class="box5 modales2"> <img src="https://cdn.shopify.com/s/files/1/1310/8733/files/etiqueta_BOLD_1.jpg?v=1591648854" style="width:100%; margin:0 auto"></div>
<script>
$('#de, #para, #mensaje').on('change', function() {
sessionStorage.setItem($(this).attr('name'), $(this).val());
});
$(document).ready(function() {
$('#de, #para, #mensaje').each(function() {
$(this).val(sessionStorage.getItem($(this).attr('name')));
});
});
$(document).ready(function() {
var de = sessionStorage.getItem($("#de").attr('name'));
var para = sessionStorage.getItem($("#para").attr('name'));
var mensaje = sessionStorage.getItem($("#mensaje").attr('name'));
if (de != " " || para != " " || mensaje != " ") {
console.log(de);
jQuery.post('/cart/update.js', {
attributes: {
'De': de,
'Para': para,
'Mensaje': mensaje
}
});
}
});
$('#changecolor').on('click', function() {
console.log("hii");
var de = sessionStorage.getItem($("#de").attr('name'));
var para = sessionStorage.getItem($("#para").attr('name'));
var mensaje = sessionStorage.getItem($("#mensaje").attr('name'));
if (de != " " || para != " " || mensaje != " ") {
console.log(de);
jQuery.post('/cart/update.js', {
attributes: {
'De': de,
'Para': para,
'Mensaje': mensaje
}
});
}
});
$("#mensaje").each(function() {
var len = 0;
var maxchar = 200;
$(this).keyup(function() {
var de = $("#de");
var para = $("#para");
var mensaje = $("#mensaje");
localStorage.setItem('DE', JSON.stringify(de.val()));
localStorage.setItem('Para', JSON.stringify(para));
localStorage.setItem('Mensaje', JSON.stringify(mensaje));
console.log("holis");
len = this.value.length
if (len > maxchar) {
return false;
} else if (len > 0) {
var x, i;
x = document.querySelectorAll(".remainingC");
for (i = 0; i < x.length; i++) {
x[i].innerHTML = "Caracteres Restantes: " + (maxchar - len);
}
} else {
var x, i;
x = document.querySelectorAll(".remainingC");
for (i = 0; i < x.length; i++) {
x[i].innerHTML = "Caracteres Restantes: " + (maxchar);
}
}
})
});
$(document).ready(function() {
$("#logo4").hover(function() {
$('#box4').show();
}, function() {
$('#box4').hide();
});
});
function myFunction() {
var x = document.querySelectorAll(".abre_header");
console.log("soy la nota" + x.length);
var i;
for (i = 0; i < x.length; i++) {
console.log(x[i]);
x[i].classList.toggle("mystyle");
}
}
/*$('[data-cart-form="mini-cart"] .note1scroll').click(() => {
console.log("entre aquibvnvn");
$('.abreheaderscroll').toggle();
});
$('[data-cart-form="mini-cart"] .note1').on('click', function(e){
$('.abre_header').toggle();
console.log("entre aquibvnvn");
})*/
/* $(window).on("scroll", function(){
var navbar = document.getElementById("header");
var sticky = navbar.offsetTop;
if (window.pageYOffset >= 100) {
$(".note1").addClass("note1scroll");
$('.abre_header').addClass("abreheaderscroll");
}
else
{
$(".note1").removeClass("note1scroll");
$('.abre_header').removeClass("abreheaderscroll");
}
});*/
/* $(".logo5").hover(function(){
$('.box5').show();
},
function(){
$('.box5').hide();
});*/
function mouseOver() {
var box = document.querySelectorAll(".box5");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut() {
var box = document.querySelectorAll(".box5");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script>
<div class="donaciones"> <!-- DO NOT REMOVE THE FOLLOWING COMMENT -->
<!-- (c) Copyright 2014 Caroline Hill. All Rights Reserved. Contact Mlle Caroline Schnapp at mllegeorgesand@gmail.com -->
<!-- DO NOT REMOVE THE ABOVE COMMENT -->
<div id="is-a-gift" style="clear: left; margin: 8px 0" class="clearfix rte">
<p> <input type="hidden" name="attributes[donacion]" value=""> <input class="donacion" id="donacion" type="checkbox" name="attributes[donacion]" value="yes" style="float: none"> <label id="donacion" for="donacion"
style="font-size:10px;display:inline; padding-left: 5px; float: none;"> Donar $5.000 a la Fundación Vivir + Feliz</label> <span onmouseout="mouseOut2()" onmouseover="mouseOver2()" class="logo1 express"></span> <br>
<a class="logo-fun" href="https://www.vivirmasfeliz.cl" target="_blank" style="font-size: 10.8px !important;"></a></p>
</div>
<script>
Shopify.Cart = Shopify.Cart || {};
Shopify.Cart.GiftWrap = {};
Shopify.Cart.GiftWrap.set = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31990353854529: 1
},
attributes: {
'donacion': true
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
Shopify.Cart.GiftWrap.remove = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31990353854529: 0
},
attributes: {
'donacion': ''
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
function refreshCart(cart) {
$(".cart_count").empty();
$cartBtn = $(".cart_count");
var value = $cartBtn.text() || '0';
var cart_items_html = "";
var cart_discounts_html = "";
var cart_action_html = "";
var cart_savings_html = "";
var $cart_form = $('[data-cart-form]');
var productHasSale = false;
var productCompareAtPrice = 0;
var productFinalPrice = 0;
$cart_form.data('total-discount', cart.total_discount);
$cartBtn.text(value.replace(/[0-9]+/, cart.item_count));
if (cart.item_count == 0) {
$('.js-empty-cart__message').removeClass('hidden');
$cart_form.addClass('hidden');
} else {
$('.js-empty-cart__message').addClass('hidden');
$cart_form.removeClass('hidden');
var total_saving = 0; // adding counter variables for total cart savings
var saving = 0;
$.each(cart.items, function(index, item) {
var itemDiscounts = item.discounts;
var discountMessage = "";
for (i = 0; i < itemDiscounts.length; i++) {
var amount = Shopify.formatMoney(itemDiscounts[i].amount, $('body').data('money-format'));
var title = itemDiscounts[i].title;
discountMessage = '<p class="notification-discount meta">' + title + '</p>';
}
var line_id = index + 1;
cart_items_html += '<li class="mini-cart__item clearfix" data-cart-item data-line-id="' + line_id + '" data-variant-id="' + item.id + '">' + '<a href="' + item.url + '">';
if (item.image) {
cart_items_html += '<div class="cart_image">' + '<img src="' + item.image.replace(/(\.[^.]*)$/, "_compact$1").replace('http:', '') + '" alt="' + htmlEncode(item.title) + '" />' + '</div></a>';
}
cart_items_html += '<div class="mini-cart__item--content"><div class="mini-cart__item__title"><div class="item_title"><a href="' + item.url + '">' + item.title + '</a></div>';
if (item.properties) {
$.each(item.properties, function(title, value) {
if (value) {
cart_items_html += '<div class="line-item">' + title + ': ' + value + '</div>';
}
});
}
cart_items_html += '<strong class="right price">';
$.ajax({
dataType: "json",
async: false,
cache: false,
url: "/products/" + item.handle + ".js",
success: function(data) {
// If item has more than one variant, need to make sure we are pulling data from the correct variant
if (data.variants) {
var itemVariants = data.variants;
if (itemVariants.length > 1) {
for (v = 0; v < itemVariants.length; v++) {
if (itemVariants[v].id == item.id) {
var data = itemVariants[v];
}
}
}
}
// If compare at price exists then item is on sale
if (data.compare_at_price) {
if (data.compare_at_price > data.price) {
productHasSale = true;
productCompareAtPrice = data.compare_at_price;
productFinalPrice = data.price;
}
} else {
// Check required for non-sale items
productHasSale = false;
}
}
});
if (productHasSale == true) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(productFinalPrice, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(productCompareAtPrice, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
// Total savings
saving = (productCompareAtPrice - productFinalPrice) * item.quantity;
total_saving = saving + total_saving;
} else {
if (item.price > item.final_price) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(item.final_price, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(item.price, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
} else {
var itemPrice = Shopify.formatMoney(item.price, $('body').data('money-format'));
cart_items_html += '<span class="money">' + itemPrice + '</span></strong>';
}
}
if (item.price > item.final_price) {
cart_items_html += discountMessage;
}
cart_items_html += '<div class="left product-quantity-box">';
cart_items_html += '<span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span>';
cart_items_html += '<input type="number" min="0" class="quantity" name="updates[]" id="updates_' + item.id + '" value="' + item.quantity + '" data-cart-quantity-input="mini-cart" />';
cart_items_html += '<span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span>';
cart_items_html += '</div></div></div>';
cart_items_html += '<a href="/cart/change?line=' + line_id + '&quantity=0" class="js-cart-remove-btn cart__remove-btn" data-line-id="' + line_id + '" data-remove-item="mini-cart"><span class="remove-icon"></span></a>';
});
var cartDiscounts = cart.cart_level_discount_applications;
var cartDiscountMessage = "";
for (i = 0; i < cartDiscounts.length; i++) {
var amount = Shopify.formatMoney(cartDiscounts[i].total_allocated_amount, $('body').data('money-format'));
var title = cartDiscounts[i].title;
cart_discounts_html += '<span class="cart_discounts--title">' + title + '</span>';
cart_discounts_html += '<span class="cart_discounts--price">';
cart_discounts_html += '-<span class="money">' + amount + '</span></span>';
}
cart_action_html += '<span class="right"><span class="money">' + Shopify.formatMoney(cart.total_price, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_subtotal_text + '</span>';
total_saving = total_saving + cart.total_discount;
if (Shopify.theme_settings.display_savings && total_saving > 0) {
cart_savings_html = '<span class="right"><span class="money">' + Shopify.formatMoney(total_saving, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_savings_text + '</span>';
} else {
cart_savings_html = "";
}
}
$('.js-cart_items').html(cart_items_html);
$('.js-cart_discounts').html(cart_discounts_html);
$('.js-cart_subtotal').html(cart_action_html);
$('.js-cart_savings').html(cart_savings_html);
if (Shopify.theme_settings.show_multiple_currencies) {
convertCurrencies();
}
}
/* If we have nothing but gift-wrap items in the cart.
*/
// When the donacion checkbox is checked or unchecked.
jQuery(function() {
jQuery('[name="attributes\[donacion\]"]').change(function() {
if (jQuery(this).is(':checked')) {
Shopify.Cart.GiftWrap.set();
} else {
Shopify.Cart.GiftWrap.remove();
}
});
});
</script>
<div class="box1 modales1">
<p><strong>¿Quieres Mejorar Tu Pedido?</strong></p>
<p> Aporta $5.000 a la fundación Vivir Más Feliz para Realizar una terapia a un niño con cáncer. Harás que un clown profesional haga reír a un niño y su familia al mejor estilo de Patch Adams</p>
<p style="font-size:10px">El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones</p>
</div>
<script>
/*$(document).ready(function(){
$(".logo1").hover(function(){
$('.box1').show();
},
function(){
$('.box1').hide();
});
}); */
function mouseOver2() {
var box = document.querySelectorAll(".box1");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut2() {
var box = document.querySelectorAll(".box1");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script> <!-- DO NOT REMOVE THE FOLLOWING COMMENT -->
<!-- (c) Copyright 2014 Caroline Hill. All Rights Reserved. Contact Mlle Caroline Schnapp at mllegeorgesand@gmail.com -->
<!-- DO NOT REMOVE THE ABOVE COMMENT -->
<div id="is-a-gift" style="clear: left; margin: 8px 0;" class="clearfix rte">
<p>
<input type="hidden" name="attributes[arbol]" value="">
<input class="arbol" id="arbol" type="checkbox" name="attributes[arbol]" value="yes" style="float: none;">
<label id="donacion" for="arbol" style="font-size:10px;display: inline; padding-left: 5px; float: none;"> Donar un árbol por $4.000 </label> <span onmouseout="mouseOut1()" onmouseover="mouseOver1()" style="font-size: 13px; color: black;"
class="logo2 express"></span>
<br>
<a class="logo-arbol" href="https://www.reforestemos.cl/" target="_blank" style="font-size: 10.8px !important;"></a>
</p>
</div>
<script>
Shopify.Cart = Shopify.Cart || {};
Shopify.Cart.GiftWrapArbol = {};
Shopify.Cart.GiftWrapArbol.set = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31497925525569: 1
},
attributes: {
'arbol': true
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
Shopify.Cart.GiftWrapArbol.remove = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31497925525569: 0
},
attributes: {
'arbol': ''
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
function refreshCart(cart) {
$(".cart_count").empty();
$cartBtn = $(".cart_count");
var value = $cartBtn.text() || '0';
var cart_items_html = "";
var cart_discounts_html = "";
var cart_action_html = "";
var cart_savings_html = "";
var $cart_form = $('[data-cart-form]');
var productHasSale = false;
var productCompareAtPrice = 0;
var productFinalPrice = 0;
$cart_form.data('total-discount', cart.total_discount);
$cartBtn.text(value.replace(/[0-9]+/, cart.item_count));
if (cart.item_count == 0) {
$('.js-empty-cart__message').removeClass('hidden');
$cart_form.addClass('hidden');
} else {
$('.js-empty-cart__message').addClass('hidden');
$cart_form.removeClass('hidden');
var total_saving = 0; // adding counter variables for total cart savings
var saving = 0;
$.each(cart.items, function(index, item) {
var itemDiscounts = item.discounts;
var discountMessage = "";
for (i = 0; i < itemDiscounts.length; i++) {
var amount = Shopify.formatMoney(itemDiscounts[i].amount, $('body').data('money-format'));
var title = itemDiscounts[i].title;
discountMessage = '<p class="notification-discount meta">' + title + '</p>';
}
var line_id = index + 1;
cart_items_html += '<li class="mini-cart__item clearfix" data-cart-item data-line-id="' + line_id + '" data-variant-id="' + item.id + '">' + '<a href="' + item.url + '">';
if (item.image) {
cart_items_html += '<div class="cart_image">' + '<img src="' + item.image.replace(/(\.[^.]*)$/, "_compact$1").replace('http:', '') + '" alt="' + htmlEncode(item.title) + '" />' + '</div></a>';
}
cart_items_html += '<div class="mini-cart__item--content"><div class="mini-cart__item__title"><div class="item_title"><a href="' + item.url + '">' + item.title + '</a></div>';
if (item.properties) {
$.each(item.properties, function(title, value) {
if (value) {
cart_items_html += '<div class="line-item">' + title + ': ' + value + '</div>';
}
});
}
cart_items_html += '<strong class="right price">';
$.ajax({
dataType: "json",
async: false,
cache: false,
url: "/products/" + item.handle + ".js",
success: function(data) {
// If item has more than one variant, need to make sure we are pulling data from the correct variant
if (data.variants) {
var itemVariants = data.variants;
if (itemVariants.length > 1) {
for (v = 0; v < itemVariants.length; v++) {
if (itemVariants[v].id == item.id) {
var data = itemVariants[v];
}
}
}
}
// If compare at price exists then item is on sale
if (data.compare_at_price) {
if (data.compare_at_price > data.price) {
productHasSale = true;
productCompareAtPrice = data.compare_at_price;
productFinalPrice = data.price;
}
} else {
// Check required for non-sale items
productHasSale = false;
}
}
});
if (productHasSale == true) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(productFinalPrice, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(productCompareAtPrice, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
// Total savings
saving = (productCompareAtPrice - productFinalPrice) * item.quantity;
total_saving = saving + total_saving;
} else {
if (item.price > item.final_price) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(item.final_price, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(item.price, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
} else {
var itemPrice = Shopify.formatMoney(item.price, $('body').data('money-format'));
cart_items_html += '<span class="money">' + itemPrice + '</span></strong>';
}
}
if (item.price > item.final_price) {
cart_items_html += discountMessage;
}
cart_items_html += '<div class="left product-quantity-box">';
cart_items_html += '<span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span>';
cart_items_html += '<input type="number" min="0" class="quantity" name="updates[]" id="updates_' + item.id + '" value="' + item.quantity + '" data-cart-quantity-input="mini-cart" />';
cart_items_html += '<span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span>';
cart_items_html += '</div></div></div>';
cart_items_html += '<a href="/cart/change?line=' + line_id + '&quantity=0" class="js-cart-remove-btn cart__remove-btn" data-line-id="' + line_id + '" data-remove-item="mini-cart"><span class="arbol remove-icon"></span></a>';
});
var cartDiscounts = cart.cart_level_discount_applications;
var cartDiscountMessage = "";
for (i = 0; i < cartDiscounts.length; i++) {
var amount = Shopify.formatMoney(cartDiscounts[i].total_allocated_amount, $('body').data('money-format'));
var title = cartDiscounts[i].title;
cart_discounts_html += '<span class="cart_discounts--title">' + title + '</span>';
cart_discounts_html += '<span class="cart_discounts--price">';
cart_discounts_html += '-<span class="money">' + amount + '</span></span>';
}
cart_action_html += '<span class="right"><span class="money">' + Shopify.formatMoney(cart.total_price, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_subtotal_text + '</span>';
total_saving = total_saving + cart.total_discount;
if (Shopify.theme_settings.display_savings && total_saving > 0) {
cart_savings_html = '<span class="right"><span class="money">' + Shopify.formatMoney(total_saving, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_savings_text + '</span>';
} else {
cart_savings_html = "";
}
}
$('.js-cart_items').html(cart_items_html);
$('.js-cart_discounts').html(cart_discounts_html);
$('.js-cart_subtotal').html(cart_action_html);
$('.js-cart_savings').html(cart_savings_html);
if (Shopify.theme_settings.show_multiple_currencies) {
convertCurrencies();
}
}
/* // If we have nothing but gift-wrap items in the cart.
*/
// When the donacion checkbox is checked or unchecked.
// When the donacion checkbox is checked or unchecked.
jQuery(function() {
jQuery('.arbol').change(function() {
if (jQuery(this).is(':checked')) {
Shopify.Cart.GiftWrapArbol.set();
} else {
Shopify.Cart.GiftWrapArbol.remove();
}
});
});
</script>
<div class="box2 modales1">
<p><strong>¿Quieres Mejorar Tu Pedido?</strong></p>
<p> Tu aporte irá directo a Fundación Reforestemos para plantar árboles nativos en zonas deforestadas </p>
<p style="font-size: 10px;"> El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones </p>
</div>
<script>
/*$(document).ready(function () {
$('.logo2').hover(
function () {
$('.box2').show();
},
function () {
$('.box2').hide();
}
);
});*/
function mouseOver1() {
var box = document.querySelectorAll(".box2");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut1() {
var box = document.querySelectorAll(".box2");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script> <!-- DO NOT REMOVE THE FOLLOWING COMMENT -->
<!-- (c) Copyright 2014 Caroline Hill. All Rights Reserved. Contact Mlle Caroline Schnapp at mllegeorgesand@gmail.com -->
<!-- DO NOT REMOVE THE ABOVE COMMENT -->
<div id="is-a-gift" style="clear: left; margin: 8px 0" class="clearfix rte">
<p> <input type="hidden" name="attributes[perrito]" value=""> <input class="perrito" id="perrito" type="checkbox" name="attributes[perrito]" value="Yes" style="float: none"> <label for="perrito"
style="font-size:10px;display:inline; padding-left: 5px; float: none;"> Esteriliza a un Perrito o Gatito por $15.000</label> <span onmouseout="mouseOut3()" onmouseover="mouseOver3()" style="font-size: 13px;color: black;"
class="logo3 express"></span> <br> <a class="logo-arbol" href="https://www.reforestemos.cl/" target="_blank" style="font-size: 10.8px !important;"></a></p>
</div>
<script>
const checkBoxes = document.getElementsByClassName('myCheck');
for (const check of checkBoxes) {
check.addEventListener('click', (event) => {
for (const aux of checkBoxes) {
if (event.srcElement.checked) {
aux.checked = true;
} else {
aux.checked = false;
}
}
});
}
function uncheck() {
for (const checkBox of checkBoxes) {
checkBox.checked = false;
}
}
Shopify.Cart = Shopify.Cart || {};
Shopify.Cart.GiftWrapPerrito = {};
Shopify.Cart.GiftWrapPerrito.set = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31775362252865: 1
},
attributes: {
'perrito': true
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
Shopify.Cart.GiftWrapPerrito.remove = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31775362252865: 0
},
attributes: {
'perrito': ''
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
function refreshCart(cart) {
$(".cart_count").empty();
$cartBtn = $(".cart_count");
var value = $cartBtn.text() || '0';
var cart_items_html = "";
var cart_discounts_html = "";
var cart_action_html = "";
var cart_savings_html = "";
var $cart_form = $('[data-cart-form]');
var productHasSale = false;
var productCompareAtPrice = 0;
var productFinalPrice = 0;
$cart_form.data('total-discount', cart.total_discount);
$cartBtn.text(value.replace(/[0-9]+/, cart.item_count));
if (cart.item_count == 0) {
$('.js-empty-cart__message').removeClass('hidden');
$cart_form.addClass('hidden');
} else {
$('.js-empty-cart__message').addClass('hidden');
$cart_form.removeClass('hidden');
var total_saving = 0; // adding counter variables for total cart savings
var saving = 0;
$.each(cart.items, function(index, item) {
var itemDiscounts = item.discounts;
var discountMessage = "";
for (i = 0; i < itemDiscounts.length; i++) {
var amount = Shopify.formatMoney(itemDiscounts[i].amount, $('body').data('money-format'));
var title = itemDiscounts[i].title;
discountMessage = '<p class="notification-discount meta">' + title + '</p>';
}
var line_id = index + 1;
cart_items_html += '<li class="mini-cart__item clearfix" data-cart-item data-line-id="' + line_id + '" data-variant-id="' + item.id + '">' + '<a href="' + item.url + '">';
if (item.image) {
cart_items_html += '<div class="cart_image">' + '<img src="' + item.image.replace(/(\.[^.]*)$/, "_compact$1").replace('http:', '') + '" alt="' + htmlEncode(item.title) + '" />' + '</div></a>';
}
cart_items_html += '<div class="mini-cart__item--content"><div class="mini-cart__item__title"><div class="item_title"><a href="' + item.url + '">' + item.title + '</a></div>';
if (item.properties) {
$.each(item.properties, function(title, value) {
if (value) {
cart_items_html += '<div class="line-item">' + title + ': ' + value + '</div>';
}
});
}
cart_items_html += '<strong class="right price">';
$.ajax({
dataType: "json",
async: false,
cache: false,
url: "/products/" + item.handle + ".js",
success: function(data) {
// If item has more than one variant, need to make sure we are pulling data from the correct variant
if (data.variants) {
var itemVariants = data.variants;
if (itemVariants.length > 1) {
for (v = 0; v < itemVariants.length; v++) {
if (itemVariants[v].id == item.id) {
var data = itemVariants[v];
}
}
}
}
// If compare at price exists then item is on sale
if (data.compare_at_price) {
if (data.compare_at_price > data.price) {
productHasSale = true;
productCompareAtPrice = data.compare_at_price;
productFinalPrice = data.price;
}
} else {
// Check required for non-sale items
productHasSale = false;
}
}
});
if (productHasSale == true) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(productFinalPrice, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(productCompareAtPrice, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
// Total savings
saving = (productCompareAtPrice - productFinalPrice) * item.quantity;
total_saving = saving + total_saving;
} else {
if (item.price > item.final_price) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(item.final_price, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(item.price, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
} else {
var itemPrice = Shopify.formatMoney(item.price, $('body').data('money-format'));
cart_items_html += '<span class="money">' + itemPrice + '</span></strong>';
}
}
if (item.price > item.final_price) {
cart_items_html += discountMessage;
}
cart_items_html += '<div class="left product-quantity-box">';
cart_items_html += '<span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span>';
cart_items_html += '<input type="number" min="0" class="quantity" name="updates[]" id="updates_' + item.id + '" value="' + item.quantity + '" data-cart-quantity-input="mini-cart" />';
cart_items_html += '<span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span>';
cart_items_html += '</div></div></div>';
cart_items_html += '<a href="/cart/change?line=' + line_id + '&quantity=0" class="js-cart-remove-btn cart__remove-btn" data-line-id="' + line_id + '" data-remove-item="mini-cart"><span class="remove-icon"></span></a>';
});
var cartDiscounts = cart.cart_level_discount_applications;
var cartDiscountMessage = "";
for (i = 0; i < cartDiscounts.length; i++) {
var amount = Shopify.formatMoney(cartDiscounts[i].total_allocated_amount, $('body').data('money-format'));
var title = cartDiscounts[i].title;
cart_discounts_html += '<span class="cart_discounts--title">' + title + '</span>';
cart_discounts_html += '<span class="cart_discounts--price">';
cart_discounts_html += '-<span class="money">' + amount + '</span></span>';
}
cart_action_html += '<span class="right"><span class="money">' + Shopify.formatMoney(cart.total_price, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_subtotal_text + '</span>';
total_saving = total_saving + cart.total_discount;
if (Shopify.theme_settings.display_savings && total_saving > 0) {
cart_savings_html = '<span class="right"><span class="money">' + Shopify.formatMoney(total_saving, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_savings_text + '</span>';
} else {
cart_savings_html = "";
}
}
$('.js-cart_items').html(cart_items_html);
$('.js-cart_discounts').html(cart_discounts_html);
$('.js-cart_subtotal').html(cart_action_html);
$('.js-cart_savings').html(cart_savings_html);
if (Shopify.theme_settings.show_multiple_currencies) {
convertCurrencies();
}
}
// If we have nothing but gift-wrap items in the cart.
/**/
// When the donacion checkbox is checked or unchecked.
jQuery(function() {
jQuery('[name="attributes\[perrito\]"]').change(function() {
if (jQuery(this).is(':checked')) {
Shopify.Cart.GiftWrapPerrito.set();
} else {
Shopify.Cart.GiftWrapPerrito.remove();
}
});
});
/* function addPerrito() {
var x = document.querySelectorAll(".perrito");
var i;
for (i = 0; i <x.length; i++) {
console.log(x[i]);
if(x[i].checked) {
Shopify.Cart.GiftWrapPerrito.set();
console.log("entre aqui");
}
}
}*/
</script>
<div class="box3 modales1">
<p><strong>¿Quieres Mejorar Tu Pedido?</strong></p>
<p> Tu aporte irá directo a Fundación Quiltro para esterilizar animales en zonas vulnerables</p>
<p style="font-size:10px">El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones</p>
</div>
<script>
/*$(document).ready(function(){
$(".logo3").hover(function(){
$('.box3').show();
},
function(){
$('.box3').hide();
});
}); */
function mouseOver3() {
var box = document.querySelectorAll(".box3");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut3() {
var box = document.querySelectorAll(".box3");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script>
</div> <a class="cart_content__continue-shopping secondary_button">
Seguir comprando →</a> <button type="submit" class="changecolor action_button"><span class="icon-lock"></span>Terminar pedido</button>
</li>
</ul>
</form>
/pages/search-results-page
<form action="/pages/search-results-page" class="header_search_form"> <input type="hidden" name="type" value="product"> <span class="icon-search search-submit"></span> <input type="text" name="q" placeholder="Buscar" autocapitalize="off"
autocomplete="off" autocorrect="off" class="search-terms snize-input-style">
<div class="search__results-wrapper">
<ul class="search__results"></ul>
</div>
</form>
POST /checkout
<form action="/checkout" method="post" data-total-discount="0" data-money-format="${{ amount_no_decimals_with_comma_separator }}" data-shop-currency="CLP" data-shop-name="Green Glass" class="hidden" data-cart-form="mini-cart">
<ul class="cart_items js-cart_items clearfix"></ul>
<ul class="extras">
<li class="cart_discounts js-cart_discounts sale"></li>
<li class="cart_subtotal js-cart_subtotal"> <span class="right"> <span class="money">$0</span></span> <span>Subtotal</span></li>
<li class="cart_savings sale js-cart_savings"></li>
<li> <!-- -->
<style>
.mystyle {
display: contents !important;
}
.mystyle1 {
display: block !important;
}
</style>
<div id="textQuestion"><b>¿Regalas tu Green Glass?.</b> <br> <span onclick="myFunction()" style="font-size:13px" class="note1"> Añade una Nota</span> <span onmouseout="mouseOut()" onmouseover="mouseOver()" class="logo5 express2"></span></div>
<div id="abre_header" class="abre_header" style="display: none">
<p class="cart-attribute__field"> <label id="notetext" for="de">De</label> <input id="de" type="text" name="attributes[De]" value=""></p>
<p class="cart-attribute__field"> <label id="notetext" for="para">Para</label> <input id="para" type="text" name="attributes[Para]" value=""></p>
<p class="cart-attribute__field"> <label id="notetext" for="mensaje">Mensaje</label> <textarea maxlength="200" id="mensaje" name="attributes[Mensaje]"></textarea></p> <span class="remainingC" id="remainingC"></span>
</div>
<div style="width: 270px;" class="box5 modales2"> <img src="https://cdn.shopify.com/s/files/1/1310/8733/files/etiqueta_BOLD_1.jpg?v=1591648854" style="width:100%; margin:0 auto"></div>
<script>
$('#de, #para, #mensaje').on('change', function() {
sessionStorage.setItem($(this).attr('name'), $(this).val());
});
$(document).ready(function() {
$('#de, #para, #mensaje').each(function() {
$(this).val(sessionStorage.getItem($(this).attr('name')));
});
});
$(document).ready(function() {
var de = sessionStorage.getItem($("#de").attr('name'));
var para = sessionStorage.getItem($("#para").attr('name'));
var mensaje = sessionStorage.getItem($("#mensaje").attr('name'));
if (de != " " || para != " " || mensaje != " ") {
console.log(de);
jQuery.post('/cart/update.js', {
attributes: {
'De': de,
'Para': para,
'Mensaje': mensaje
}
});
}
});
$('#changecolor').on('click', function() {
console.log("hii");
var de = sessionStorage.getItem($("#de").attr('name'));
var para = sessionStorage.getItem($("#para").attr('name'));
var mensaje = sessionStorage.getItem($("#mensaje").attr('name'));
if (de != " " || para != " " || mensaje != " ") {
console.log(de);
jQuery.post('/cart/update.js', {
attributes: {
'De': de,
'Para': para,
'Mensaje': mensaje
}
});
}
});
$("#mensaje").each(function() {
var len = 0;
var maxchar = 200;
$(this).keyup(function() {
var de = $("#de");
var para = $("#para");
var mensaje = $("#mensaje");
localStorage.setItem('DE', JSON.stringify(de.val()));
localStorage.setItem('Para', JSON.stringify(para));
localStorage.setItem('Mensaje', JSON.stringify(mensaje));
console.log("holis");
len = this.value.length
if (len > maxchar) {
return false;
} else if (len > 0) {
var x, i;
x = document.querySelectorAll(".remainingC");
for (i = 0; i < x.length; i++) {
x[i].innerHTML = "Caracteres Restantes: " + (maxchar - len);
}
} else {
var x, i;
x = document.querySelectorAll(".remainingC");
for (i = 0; i < x.length; i++) {
x[i].innerHTML = "Caracteres Restantes: " + (maxchar);
}
}
})
});
$(document).ready(function() {
$("#logo4").hover(function() {
$('#box4').show();
}, function() {
$('#box4').hide();
});
});
function myFunction() {
var x = document.querySelectorAll(".abre_header");
console.log("soy la nota" + x.length);
var i;
for (i = 0; i < x.length; i++) {
console.log(x[i]);
x[i].classList.toggle("mystyle");
}
}
/*$('[data-cart-form="mini-cart"] .note1scroll').click(() => {
console.log("entre aquibvnvn");
$('.abreheaderscroll').toggle();
});
$('[data-cart-form="mini-cart"] .note1').on('click', function(e){
$('.abre_header').toggle();
console.log("entre aquibvnvn");
})*/
/* $(window).on("scroll", function(){
var navbar = document.getElementById("header");
var sticky = navbar.offsetTop;
if (window.pageYOffset >= 100) {
$(".note1").addClass("note1scroll");
$('.abre_header').addClass("abreheaderscroll");
}
else
{
$(".note1").removeClass("note1scroll");
$('.abre_header').removeClass("abreheaderscroll");
}
});*/
/* $(".logo5").hover(function(){
$('.box5').show();
},
function(){
$('.box5').hide();
});*/
function mouseOver() {
var box = document.querySelectorAll(".box5");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut() {
var box = document.querySelectorAll(".box5");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script>
<div class="donaciones"> <!-- DO NOT REMOVE THE FOLLOWING COMMENT -->
<!-- (c) Copyright 2014 Caroline Hill. All Rights Reserved. Contact Mlle Caroline Schnapp at mllegeorgesand@gmail.com -->
<!-- DO NOT REMOVE THE ABOVE COMMENT -->
<div id="is-a-gift" style="clear: left; margin: 8px 0" class="clearfix rte">
<p> <input type="hidden" name="attributes[donacion]" value=""> <input class="donacion" id="donacion" type="checkbox" name="attributes[donacion]" value="yes" style="float: none"> <label id="donacion" for="donacion"
style="font-size:10px;display:inline; padding-left: 5px; float: none;"> Donar $5.000 a la Fundación Vivir + Feliz</label> <span onmouseout="mouseOut2()" onmouseover="mouseOver2()" class="logo1 express"></span> <br>
<a class="logo-fun" href="https://www.vivirmasfeliz.cl" target="_blank" style="font-size: 10.8px !important;"></a></p>
</div>
<script>
Shopify.Cart = Shopify.Cart || {};
Shopify.Cart.GiftWrap = {};
Shopify.Cart.GiftWrap.set = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31990353854529: 1
},
attributes: {
'donacion': true
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
Shopify.Cart.GiftWrap.remove = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31990353854529: 0
},
attributes: {
'donacion': ''
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
function refreshCart(cart) {
$(".cart_count").empty();
$cartBtn = $(".cart_count");
var value = $cartBtn.text() || '0';
var cart_items_html = "";
var cart_discounts_html = "";
var cart_action_html = "";
var cart_savings_html = "";
var $cart_form = $('[data-cart-form]');
var productHasSale = false;
var productCompareAtPrice = 0;
var productFinalPrice = 0;
$cart_form.data('total-discount', cart.total_discount);
$cartBtn.text(value.replace(/[0-9]+/, cart.item_count));
if (cart.item_count == 0) {
$('.js-empty-cart__message').removeClass('hidden');
$cart_form.addClass('hidden');
} else {
$('.js-empty-cart__message').addClass('hidden');
$cart_form.removeClass('hidden');
var total_saving = 0; // adding counter variables for total cart savings
var saving = 0;
$.each(cart.items, function(index, item) {
var itemDiscounts = item.discounts;
var discountMessage = "";
for (i = 0; i < itemDiscounts.length; i++) {
var amount = Shopify.formatMoney(itemDiscounts[i].amount, $('body').data('money-format'));
var title = itemDiscounts[i].title;
discountMessage = '<p class="notification-discount meta">' + title + '</p>';
}
var line_id = index + 1;
cart_items_html += '<li class="mini-cart__item clearfix" data-cart-item data-line-id="' + line_id + '" data-variant-id="' + item.id + '">' + '<a href="' + item.url + '">';
if (item.image) {
cart_items_html += '<div class="cart_image">' + '<img src="' + item.image.replace(/(\.[^.]*)$/, "_compact$1").replace('http:', '') + '" alt="' + htmlEncode(item.title) + '" />' + '</div></a>';
}
cart_items_html += '<div class="mini-cart__item--content"><div class="mini-cart__item__title"><div class="item_title"><a href="' + item.url + '">' + item.title + '</a></div>';
if (item.properties) {
$.each(item.properties, function(title, value) {
if (value) {
cart_items_html += '<div class="line-item">' + title + ': ' + value + '</div>';
}
});
}
cart_items_html += '<strong class="right price">';
$.ajax({
dataType: "json",
async: false,
cache: false,
url: "/products/" + item.handle + ".js",
success: function(data) {
// If item has more than one variant, need to make sure we are pulling data from the correct variant
if (data.variants) {
var itemVariants = data.variants;
if (itemVariants.length > 1) {
for (v = 0; v < itemVariants.length; v++) {
if (itemVariants[v].id == item.id) {
var data = itemVariants[v];
}
}
}
}
// If compare at price exists then item is on sale
if (data.compare_at_price) {
if (data.compare_at_price > data.price) {
productHasSale = true;
productCompareAtPrice = data.compare_at_price;
productFinalPrice = data.price;
}
} else {
// Check required for non-sale items
productHasSale = false;
}
}
});
if (productHasSale == true) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(productFinalPrice, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(productCompareAtPrice, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
// Total savings
saving = (productCompareAtPrice - productFinalPrice) * item.quantity;
total_saving = saving + total_saving;
} else {
if (item.price > item.final_price) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(item.final_price, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(item.price, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
} else {
var itemPrice = Shopify.formatMoney(item.price, $('body').data('money-format'));
cart_items_html += '<span class="money">' + itemPrice + '</span></strong>';
}
}
if (item.price > item.final_price) {
cart_items_html += discountMessage;
}
cart_items_html += '<div class="left product-quantity-box">';
cart_items_html += '<span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span>';
cart_items_html += '<input type="number" min="0" class="quantity" name="updates[]" id="updates_' + item.id + '" value="' + item.quantity + '" data-cart-quantity-input="mini-cart" />';
cart_items_html += '<span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span>';
cart_items_html += '</div></div></div>';
cart_items_html += '<a href="/cart/change?line=' + line_id + '&quantity=0" class="js-cart-remove-btn cart__remove-btn" data-line-id="' + line_id + '" data-remove-item="mini-cart"><span class="remove-icon"></span></a>';
});
var cartDiscounts = cart.cart_level_discount_applications;
var cartDiscountMessage = "";
for (i = 0; i < cartDiscounts.length; i++) {
var amount = Shopify.formatMoney(cartDiscounts[i].total_allocated_amount, $('body').data('money-format'));
var title = cartDiscounts[i].title;
cart_discounts_html += '<span class="cart_discounts--title">' + title + '</span>';
cart_discounts_html += '<span class="cart_discounts--price">';
cart_discounts_html += '-<span class="money">' + amount + '</span></span>';
}
cart_action_html += '<span class="right"><span class="money">' + Shopify.formatMoney(cart.total_price, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_subtotal_text + '</span>';
total_saving = total_saving + cart.total_discount;
if (Shopify.theme_settings.display_savings && total_saving > 0) {
cart_savings_html = '<span class="right"><span class="money">' + Shopify.formatMoney(total_saving, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_savings_text + '</span>';
} else {
cart_savings_html = "";
}
}
$('.js-cart_items').html(cart_items_html);
$('.js-cart_discounts').html(cart_discounts_html);
$('.js-cart_subtotal').html(cart_action_html);
$('.js-cart_savings').html(cart_savings_html);
if (Shopify.theme_settings.show_multiple_currencies) {
convertCurrencies();
}
}
/* If we have nothing but gift-wrap items in the cart.
*/
// When the donacion checkbox is checked or unchecked.
jQuery(function() {
jQuery('[name="attributes\[donacion\]"]').change(function() {
if (jQuery(this).is(':checked')) {
Shopify.Cart.GiftWrap.set();
} else {
Shopify.Cart.GiftWrap.remove();
}
});
});
</script>
<div class="box1 modales1">
<p><strong>¿Quieres Mejorar Tu Pedido?</strong></p>
<p> Aporta $5.000 a la fundación Vivir Más Feliz para Realizar una terapia a un niño con cáncer. Harás que un clown profesional haga reír a un niño y su familia al mejor estilo de Patch Adams</p>
<p style="font-size:10px">El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones</p>
</div>
<script>
/*$(document).ready(function(){
$(".logo1").hover(function(){
$('.box1').show();
},
function(){
$('.box1').hide();
});
}); */
function mouseOver2() {
var box = document.querySelectorAll(".box1");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut2() {
var box = document.querySelectorAll(".box1");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script> <!-- DO NOT REMOVE THE FOLLOWING COMMENT -->
<!-- (c) Copyright 2014 Caroline Hill. All Rights Reserved. Contact Mlle Caroline Schnapp at mllegeorgesand@gmail.com -->
<!-- DO NOT REMOVE THE ABOVE COMMENT -->
<div id="is-a-gift" style="clear: left; margin: 8px 0;" class="clearfix rte">
<p>
<input type="hidden" name="attributes[arbol]" value="">
<input class="arbol" id="arbol" type="checkbox" name="attributes[arbol]" value="yes" style="float: none;">
<label id="donacion" for="arbol" style="font-size:10px;display: inline; padding-left: 5px; float: none;"> Donar un árbol por $4.000 </label> <span onmouseout="mouseOut1()" onmouseover="mouseOver1()" style="font-size: 13px; color: black;"
class="logo2 express"></span>
<br>
<a class="logo-arbol" href="https://www.reforestemos.cl/" target="_blank" style="font-size: 10.8px !important;"></a>
</p>
</div>
<script>
Shopify.Cart = Shopify.Cart || {};
Shopify.Cart.GiftWrapArbol = {};
Shopify.Cart.GiftWrapArbol.set = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31497925525569: 1
},
attributes: {
'arbol': true
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
Shopify.Cart.GiftWrapArbol.remove = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31497925525569: 0
},
attributes: {
'arbol': ''
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
function refreshCart(cart) {
$(".cart_count").empty();
$cartBtn = $(".cart_count");
var value = $cartBtn.text() || '0';
var cart_items_html = "";
var cart_discounts_html = "";
var cart_action_html = "";
var cart_savings_html = "";
var $cart_form = $('[data-cart-form]');
var productHasSale = false;
var productCompareAtPrice = 0;
var productFinalPrice = 0;
$cart_form.data('total-discount', cart.total_discount);
$cartBtn.text(value.replace(/[0-9]+/, cart.item_count));
if (cart.item_count == 0) {
$('.js-empty-cart__message').removeClass('hidden');
$cart_form.addClass('hidden');
} else {
$('.js-empty-cart__message').addClass('hidden');
$cart_form.removeClass('hidden');
var total_saving = 0; // adding counter variables for total cart savings
var saving = 0;
$.each(cart.items, function(index, item) {
var itemDiscounts = item.discounts;
var discountMessage = "";
for (i = 0; i < itemDiscounts.length; i++) {
var amount = Shopify.formatMoney(itemDiscounts[i].amount, $('body').data('money-format'));
var title = itemDiscounts[i].title;
discountMessage = '<p class="notification-discount meta">' + title + '</p>';
}
var line_id = index + 1;
cart_items_html += '<li class="mini-cart__item clearfix" data-cart-item data-line-id="' + line_id + '" data-variant-id="' + item.id + '">' + '<a href="' + item.url + '">';
if (item.image) {
cart_items_html += '<div class="cart_image">' + '<img src="' + item.image.replace(/(\.[^.]*)$/, "_compact$1").replace('http:', '') + '" alt="' + htmlEncode(item.title) + '" />' + '</div></a>';
}
cart_items_html += '<div class="mini-cart__item--content"><div class="mini-cart__item__title"><div class="item_title"><a href="' + item.url + '">' + item.title + '</a></div>';
if (item.properties) {
$.each(item.properties, function(title, value) {
if (value) {
cart_items_html += '<div class="line-item">' + title + ': ' + value + '</div>';
}
});
}
cart_items_html += '<strong class="right price">';
$.ajax({
dataType: "json",
async: false,
cache: false,
url: "/products/" + item.handle + ".js",
success: function(data) {
// If item has more than one variant, need to make sure we are pulling data from the correct variant
if (data.variants) {
var itemVariants = data.variants;
if (itemVariants.length > 1) {
for (v = 0; v < itemVariants.length; v++) {
if (itemVariants[v].id == item.id) {
var data = itemVariants[v];
}
}
}
}
// If compare at price exists then item is on sale
if (data.compare_at_price) {
if (data.compare_at_price > data.price) {
productHasSale = true;
productCompareAtPrice = data.compare_at_price;
productFinalPrice = data.price;
}
} else {
// Check required for non-sale items
productHasSale = false;
}
}
});
if (productHasSale == true) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(productFinalPrice, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(productCompareAtPrice, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
// Total savings
saving = (productCompareAtPrice - productFinalPrice) * item.quantity;
total_saving = saving + total_saving;
} else {
if (item.price > item.final_price) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(item.final_price, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(item.price, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
} else {
var itemPrice = Shopify.formatMoney(item.price, $('body').data('money-format'));
cart_items_html += '<span class="money">' + itemPrice + '</span></strong>';
}
}
if (item.price > item.final_price) {
cart_items_html += discountMessage;
}
cart_items_html += '<div class="left product-quantity-box">';
cart_items_html += '<span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span>';
cart_items_html += '<input type="number" min="0" class="quantity" name="updates[]" id="updates_' + item.id + '" value="' + item.quantity + '" data-cart-quantity-input="mini-cart" />';
cart_items_html += '<span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span>';
cart_items_html += '</div></div></div>';
cart_items_html += '<a href="/cart/change?line=' + line_id + '&quantity=0" class="js-cart-remove-btn cart__remove-btn" data-line-id="' + line_id + '" data-remove-item="mini-cart"><span class="arbol remove-icon"></span></a>';
});
var cartDiscounts = cart.cart_level_discount_applications;
var cartDiscountMessage = "";
for (i = 0; i < cartDiscounts.length; i++) {
var amount = Shopify.formatMoney(cartDiscounts[i].total_allocated_amount, $('body').data('money-format'));
var title = cartDiscounts[i].title;
cart_discounts_html += '<span class="cart_discounts--title">' + title + '</span>';
cart_discounts_html += '<span class="cart_discounts--price">';
cart_discounts_html += '-<span class="money">' + amount + '</span></span>';
}
cart_action_html += '<span class="right"><span class="money">' + Shopify.formatMoney(cart.total_price, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_subtotal_text + '</span>';
total_saving = total_saving + cart.total_discount;
if (Shopify.theme_settings.display_savings && total_saving > 0) {
cart_savings_html = '<span class="right"><span class="money">' + Shopify.formatMoney(total_saving, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_savings_text + '</span>';
} else {
cart_savings_html = "";
}
}
$('.js-cart_items').html(cart_items_html);
$('.js-cart_discounts').html(cart_discounts_html);
$('.js-cart_subtotal').html(cart_action_html);
$('.js-cart_savings').html(cart_savings_html);
if (Shopify.theme_settings.show_multiple_currencies) {
convertCurrencies();
}
}
/* // If we have nothing but gift-wrap items in the cart.
*/
// When the donacion checkbox is checked or unchecked.
// When the donacion checkbox is checked or unchecked.
jQuery(function() {
jQuery('.arbol').change(function() {
if (jQuery(this).is(':checked')) {
Shopify.Cart.GiftWrapArbol.set();
} else {
Shopify.Cart.GiftWrapArbol.remove();
}
});
});
</script>
<div class="box2 modales1">
<p><strong>¿Quieres Mejorar Tu Pedido?</strong></p>
<p> Tu aporte irá directo a Fundación Reforestemos para plantar árboles nativos en zonas deforestadas </p>
<p style="font-size: 10px;"> El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones </p>
</div>
<script>
/*$(document).ready(function () {
$('.logo2').hover(
function () {
$('.box2').show();
},
function () {
$('.box2').hide();
}
);
});*/
function mouseOver1() {
var box = document.querySelectorAll(".box2");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut1() {
var box = document.querySelectorAll(".box2");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script> <!-- DO NOT REMOVE THE FOLLOWING COMMENT -->
<!-- (c) Copyright 2014 Caroline Hill. All Rights Reserved. Contact Mlle Caroline Schnapp at mllegeorgesand@gmail.com -->
<!-- DO NOT REMOVE THE ABOVE COMMENT -->
<div id="is-a-gift" style="clear: left; margin: 8px 0" class="clearfix rte">
<p> <input type="hidden" name="attributes[perrito]" value=""> <input class="perrito" id="perrito" type="checkbox" name="attributes[perrito]" value="Yes" style="float: none"> <label for="perrito"
style="font-size:10px;display:inline; padding-left: 5px; float: none;"> Esteriliza a un Perrito o Gatito por $15.000</label> <span onmouseout="mouseOut3()" onmouseover="mouseOver3()" style="font-size: 13px;color: black;"
class="logo3 express"></span> <br> <a class="logo-arbol" href="https://www.reforestemos.cl/" target="_blank" style="font-size: 10.8px !important;"></a></p>
</div>
<script>
const checkBoxes = document.getElementsByClassName('myCheck');
for (const check of checkBoxes) {
check.addEventListener('click', (event) => {
for (const aux of checkBoxes) {
if (event.srcElement.checked) {
aux.checked = true;
} else {
aux.checked = false;
}
}
});
}
function uncheck() {
for (const checkBox of checkBoxes) {
checkBox.checked = false;
}
}
Shopify.Cart = Shopify.Cart || {};
Shopify.Cart.GiftWrapPerrito = {};
Shopify.Cart.GiftWrapPerrito.set = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31775362252865: 1
},
attributes: {
'perrito': true
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
Shopify.Cart.GiftWrapPerrito.remove = function() {
jQuery.ajax({
type: 'POST',
url: '/cart/update.js',
data: {
updates: {
31775362252865: 0
},
attributes: {
'perrito': ''
}
},
dataType: 'json',
success: function(data) {
refreshCart(data);
if ($("body").hasClass("cart")) {
window.location.href = "/cart";
}
}
});
}
function refreshCart(cart) {
$(".cart_count").empty();
$cartBtn = $(".cart_count");
var value = $cartBtn.text() || '0';
var cart_items_html = "";
var cart_discounts_html = "";
var cart_action_html = "";
var cart_savings_html = "";
var $cart_form = $('[data-cart-form]');
var productHasSale = false;
var productCompareAtPrice = 0;
var productFinalPrice = 0;
$cart_form.data('total-discount', cart.total_discount);
$cartBtn.text(value.replace(/[0-9]+/, cart.item_count));
if (cart.item_count == 0) {
$('.js-empty-cart__message').removeClass('hidden');
$cart_form.addClass('hidden');
} else {
$('.js-empty-cart__message').addClass('hidden');
$cart_form.removeClass('hidden');
var total_saving = 0; // adding counter variables for total cart savings
var saving = 0;
$.each(cart.items, function(index, item) {
var itemDiscounts = item.discounts;
var discountMessage = "";
for (i = 0; i < itemDiscounts.length; i++) {
var amount = Shopify.formatMoney(itemDiscounts[i].amount, $('body').data('money-format'));
var title = itemDiscounts[i].title;
discountMessage = '<p class="notification-discount meta">' + title + '</p>';
}
var line_id = index + 1;
cart_items_html += '<li class="mini-cart__item clearfix" data-cart-item data-line-id="' + line_id + '" data-variant-id="' + item.id + '">' + '<a href="' + item.url + '">';
if (item.image) {
cart_items_html += '<div class="cart_image">' + '<img src="' + item.image.replace(/(\.[^.]*)$/, "_compact$1").replace('http:', '') + '" alt="' + htmlEncode(item.title) + '" />' + '</div></a>';
}
cart_items_html += '<div class="mini-cart__item--content"><div class="mini-cart__item__title"><div class="item_title"><a href="' + item.url + '">' + item.title + '</a></div>';
if (item.properties) {
$.each(item.properties, function(title, value) {
if (value) {
cart_items_html += '<div class="line-item">' + title + ': ' + value + '</div>';
}
});
}
cart_items_html += '<strong class="right price">';
$.ajax({
dataType: "json",
async: false,
cache: false,
url: "/products/" + item.handle + ".js",
success: function(data) {
// If item has more than one variant, need to make sure we are pulling data from the correct variant
if (data.variants) {
var itemVariants = data.variants;
if (itemVariants.length > 1) {
for (v = 0; v < itemVariants.length; v++) {
if (itemVariants[v].id == item.id) {
var data = itemVariants[v];
}
}
}
}
// If compare at price exists then item is on sale
if (data.compare_at_price) {
if (data.compare_at_price > data.price) {
productHasSale = true;
productCompareAtPrice = data.compare_at_price;
productFinalPrice = data.price;
}
} else {
// Check required for non-sale items
productHasSale = false;
}
}
});
if (productHasSale == true) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(productFinalPrice, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(productCompareAtPrice, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
// Total savings
saving = (productCompareAtPrice - productFinalPrice) * item.quantity;
total_saving = saving + total_saving;
} else {
if (item.price > item.final_price) {
//puts the slash through the old item price
var itemPrice = Shopify.formatMoney(item.final_price, $('body').data('money-format')) + '</span><span class="money was_price">' + Shopify.formatMoney(item.price, $('body').data('money-format')) + '</span>';
cart_items_html += '<span class="money sale">' + itemPrice + '</strong>';
} else {
var itemPrice = Shopify.formatMoney(item.price, $('body').data('money-format'));
cart_items_html += '<span class="money">' + itemPrice + '</span></strong>';
}
}
if (item.price > item.final_price) {
cart_items_html += discountMessage;
}
cart_items_html += '<div class="left product-quantity-box">';
cart_items_html += '<span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span>';
cart_items_html += '<input type="number" min="0" class="quantity" name="updates[]" id="updates_' + item.id + '" value="' + item.quantity + '" data-cart-quantity-input="mini-cart" />';
cart_items_html += '<span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span>';
cart_items_html += '</div></div></div>';
cart_items_html += '<a href="/cart/change?line=' + line_id + '&quantity=0" class="js-cart-remove-btn cart__remove-btn" data-line-id="' + line_id + '" data-remove-item="mini-cart"><span class="remove-icon"></span></a>';
});
var cartDiscounts = cart.cart_level_discount_applications;
var cartDiscountMessage = "";
for (i = 0; i < cartDiscounts.length; i++) {
var amount = Shopify.formatMoney(cartDiscounts[i].total_allocated_amount, $('body').data('money-format'));
var title = cartDiscounts[i].title;
cart_discounts_html += '<span class="cart_discounts--title">' + title + '</span>';
cart_discounts_html += '<span class="cart_discounts--price">';
cart_discounts_html += '-<span class="money">' + amount + '</span></span>';
}
cart_action_html += '<span class="right"><span class="money">' + Shopify.formatMoney(cart.total_price, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_subtotal_text + '</span>';
total_saving = total_saving + cart.total_discount;
if (Shopify.theme_settings.display_savings && total_saving > 0) {
cart_savings_html = '<span class="right"><span class="money">' + Shopify.formatMoney(total_saving, $('body').data('money-format')) + '</span></span>' + '<span>' + Shopify.translation.cart_savings_text + '</span>';
} else {
cart_savings_html = "";
}
}
$('.js-cart_items').html(cart_items_html);
$('.js-cart_discounts').html(cart_discounts_html);
$('.js-cart_subtotal').html(cart_action_html);
$('.js-cart_savings').html(cart_savings_html);
if (Shopify.theme_settings.show_multiple_currencies) {
convertCurrencies();
}
}
// If we have nothing but gift-wrap items in the cart.
/**/
// When the donacion checkbox is checked or unchecked.
jQuery(function() {
jQuery('[name="attributes\[perrito\]"]').change(function() {
if (jQuery(this).is(':checked')) {
Shopify.Cart.GiftWrapPerrito.set();
} else {
Shopify.Cart.GiftWrapPerrito.remove();
}
});
});
/* function addPerrito() {
var x = document.querySelectorAll(".perrito");
var i;
for (i = 0; i <x.length; i++) {
console.log(x[i]);
if(x[i].checked) {
Shopify.Cart.GiftWrapPerrito.set();
console.log("entre aqui");
}
}
}*/
</script>
<div class="box3 modales1">
<p><strong>¿Quieres Mejorar Tu Pedido?</strong></p>
<p> Tu aporte irá directo a Fundación Quiltro para esterilizar animales en zonas vulnerables</p>
<p style="font-size:10px">El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones</p>
</div>
<script>
/*$(document).ready(function(){
$(".logo3").hover(function(){
$('.box3').show();
},
function(){
$('.box3').hide();
});
}); */
function mouseOver3() {
var box = document.querySelectorAll(".box3");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "block";;
}
};
function mouseOut3() {
var box = document.querySelectorAll(".box3");
var i;
for (i = 0; i < box.length; i++) {
console.log(box[i]);
box[i].style.display = "none";;
}
};
</script>
</div> <a class="cart_content__continue-shopping secondary_button">
Seguir comprando →</a> <button type="submit" class="changecolor action_button"><span class="icon-lock"></span>Terminar pedido</button>
</li>
</ul>
</form>
/pages/search-results-page
<form action="/pages/search-results-page" class="search_form"> <input type="hidden" name="type" value="product"> <span class="icon-search search-submit"></span> <input type="text" name="q" placeholder="Buscar" value="" autocapitalize="off"
autocomplete="off" autocorrect="off" class="snize-input-style">
<div class="search__results-wrapper">
<ul class="search__results"></ul>
</div>
</form>
/pages/search-results-page
<form action="/pages/search-results-page" class="header_search_form"> <input type="hidden" name="type" value="product"> <span class="icon-search search-submit"></span> <input type="text" name="q" placeholder="Buscar" autocapitalize="off"
autocomplete="off" autocorrect="off" class="search-terms snize-input-style">
<div class="search__results-wrapper">
<ul class="search__results"></ul>
</div>
</form>
POST /cart/add
<form method="post" action="/cart/add" id="product_form_4525106364481" accept-charset="UTF-8" class="shopify-product-form" enctype="multipart/form-data"><input type="hidden" name="form_type" value="product"><input type="hidden" name="utf8" value="✓">
<input type="hidden" name="id" value="32048846766145">
<div class="purchase-details" style="padding-bottom: 10px">
<div class="purchase-details__quantity product-quantity-box"> <label for="quantity">Cantidad</label> <span class="ss-icon product-minus js-change-quantity" data-func="minus"><span class="icon-minus"></span></span> <input readonly="" type="number"
min="1" size="2" class="quantity" name="quantity" id="quantity" value="1"> <span class="ss-icon product-plus js-change-quantity" data-func="plus"><span class="icon-plus"></span></span></div>
</div>
<div class="purchase-details__buttons purchase-details__spb--false "> <button id="AToCart" type="button" name="add" class="stop raise ajax-submit action_button add_to_cart " data-label="Añadir Al Carrito"> <span class="text"> Añadir Al Carrito
<div class="changePrice">
<div class="price__container price__container--display-price-true has-margin-right"> <span content="19.990" class=""> <span class="current_price"> <span class="valorFinal1" value="1"></span><!--maybis--> <span
class="change1 money">$19.990</span></span></span> <span class="was_price"></span></div>
</div></span> <svg x="0px" y="0px" width="32px" height="32px" viewBox="0 0 32 32" class="checkmark">
<path fill="none" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" d="M9,17l3.9,3.9c0.1,0.1,0.2,0.1,0.3,0L23,11"></path>
</svg></button></div>
<div id="bb-frequentlyMobile"></div>
<div id="stickyaddtocart" class="sticky-info sticky-hidden purchase-details__buttons purchase-details__spb--false "> <button type="button" id="addToCart" name="add" class="raise ajax-submit action_button add_to_cart "
data-label="Añadir Al Carrito"> <span class="text"> Añadir Al Carrito <div class="changePrice">
<div class="price__container price__container--display-price-true has-margin-right"> <span content="19.990" class=""> <span class="current_price"> <span class="valorFinal1" value="1"></span><!--maybis--> <span
class="change1 money">$19.990</span></span></span> <span class="was_price"></span></div>
</div></span> <svg x="0px" y="0px" width="32px" height="32px" viewBox="0 0 32 32" class="checkmark">
<path fill="none" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" d="M9,17l3.9,3.9c0.1,0.1,0.2,0.1,0.3,0L23,11"></path>
</svg></button></div>
<div id="barradesktop" class=" purchase-details__spb--false "> <a class="product-info__caption " href="/products/vasos-de-museo-6-pack-500ml"> <div style="position:absolute;bottom: -60px;"> <img src="//cdn.shopify.com/s/files/1/1310/8733/products/DE-MUSEO_1_small.jpg?v=1611073608"></div> <div class="product-details"> <span class="title" itemprop="name">Vasos De Museo 6 Pack 500ml</span>
<div class="loox-rating" data-id="4525106364481" data-rating="4.9" data-raters="158" title="4.9 rating (158 votes)" aria-label="4.9 rating (158 votes)" data-rating-upgraded="1"><i class="loox-icon loox-star"></i><i class="loox-icon loox-star"></i><i class="loox-icon loox-star"></i><i class="loox-icon loox-star"></i><i class="loox-icon loox-star"></i> <span>(158)</span></div> <span class="price "> <span class="current_price"> <span class="money">$19.990</span></span> <span class="was_price"></span> <!--<div class="sold-out"></div>--></span>
<style>
/*.inline-quickshop {
display:none;
}*/
.collection .inline-quickshop {
opacity:0;
transition:visibility 0.2s linear,opacity 0.3s linear !important;
}
.index .inline-quickshop {
opacity:0;
transition:visibility 0.2s linear,opacity 0.3s linear !important;
}
.cart .inline-quickshop {
display:none;
}
.raise a span{
color:white !important;
}
.collection #hide{
display:none;
}
</style>
<script>
$(document).ready(function() {
if (window.matchMedia("(max-width: 700px)").matches) {
$(".collection .inline-quickshop").css("opacity","1");
$(".index .inline-quickshop").css("opacity","1");
}
});
$(".one-third1").hover(function(){
if (window.matchMedia("(min-width: 700px)").matches) {
var id=$(this).attr("data-product");
console.log(".now-"+id);
$(".now-"+id).css("opacity","1");
}
}
, function(){
var id=$(this).attr("data-product");
$(".now-"+id).css("opacity","0");
//$(".action_button").css("transition","background 0.3s;");
});
</script>
</div></a> <button type="button" name="add" class="w3-display-topright ajax-submit action_button add_to_cart " data-label="Añadir Al Carrito"> <span class=" text"> Añadir Al Carrito</span> <svg x="0px" y="0px" width="32px" height="32px"
viewBox="0 0 32 32" class="checkmark">
<path fill="none" stroke-width="2" stroke-linecap="square" stroke-miterlimit="10" d="M9,17l3.9,3.9c0.1,0.1,0.2,0.1,0.3,0L23,11"></path>
</svg></button>
<div id="error1" style="display:none;color:red;text-align:right">Por favor seleccione una talla y/u color primero</div>
</div>
</form>
POST /contact#contact_form
<form method="post" action="/contact#contact_form" id="contact_form" accept-charset="UTF-8" class="contact-form"><input type="hidden" name="form_type" value="customer"><input type="hidden" name="utf8" value="✓"> <input type="hidden"
name="contact[tags]" value="prospect,newsletter">
<div class="input-row"></div>
<div class="input-row"> <input type="hidden" name="challenge" value="false"> <input type="email" class="contact_email" name="contact[email]" required="" placeholder="Introduce tu dirección de correo electrónico..."> <input type="submit"
class="action_button sign_up" value="Registrarse"></div>
</form>
Text Content
0 ¡ Regalo sorpresa sólo por $30.000 más ! Tu carrito está vacío Nuevos Los Más vendidos Colaboraciones Causas * * $0 Subtotal * * ¿Regalas tu Green Glass?. Añade una Nota De Para Mensaje Donar $5.000 a la Fundación Vivir + Feliz ¿Quieres Mejorar Tu Pedido? Aporta $5.000 a la fundación Vivir Más Feliz para Realizar una terapia a un niño con cáncer. Harás que un clown profesional haga reír a un niño y su familia al mejor estilo de Patch Adams El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones Donar un árbol por $4.000 ¿Quieres Mejorar Tu Pedido? Tu aporte irá directo a Fundación Reforestemos para plantar árboles nativos en zonas deforestadas El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones Esteriliza a un Perrito o Gatito por $15.000 ¿Quieres Mejorar Tu Pedido? Tu aporte irá directo a Fundación Quiltro para esterilizar animales en zonas vulnerables El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones Seguir comprando → Terminar pedido Inicio Navidad 🎁 🛒 Tienda La Historia * La Historia * El Documental Para Netflix * El Proceso * El Aporte Real * Prensa * Videos Causas Reportes * Reporte de Donaciones * Reporte Financiero * Reporte de Sustenabilidad Regalos Empresas * Regalos Corporativos * Charlas Motivacionales Blog SUSCRÍBETE * * * Regalos * Menos de $10.000 * De $10.000 a 15.000 * De $15.000 a $20.000 * De más de $20.000 * Cool Stuff * La Historia * El Documental Para Netflix * La Magia del Proceso (Proceso) * El Aporte * Prensa * Tienda * Los Más Vendidos * Nuevos * En ofertas * Ver Todos * Reportes * Reporte de Donaciones * Reporte Financiero * Reporte Sustenabilidad * Empresas * Regalos Corporativos * Charlas Motivacionales Cerrar STOCK EN TIENDAS Tienda Cantidad Drugstore3 unidades Preguntar Parque Arauco9 unidades Preguntar Cerrar VER COSTO DE ENVÍO Selecciona una regiónAntofagastaArica y ParinacotaAtacamaAysén del General Carlos Ibáñez del CampoBiobíoCoquimboLa AraucaníaLibertador General Bernardo O'HigginsLos LagosLos RíosMagallanes y de la Antártica ChilenaMauleMetropolitana de SantiagoÑubleTarapacáValparaíso Selecciona una región Las tarifas calculadas corresponden al envío de una unidad de este producto. Los mejores emails del mundo? Nos hicimos conocidos por ellos 🥳 DALE! Menú 0 ¡ Regalo sorpresa sólo por $30.000 más ! Tu carrito está vacío Nuevos Los Más vendidos Colaboraciones Causas * * $0 Subtotal * * ¿Regalas tu Green Glass?. Añade una Nota De Para Mensaje Donar $5.000 a la Fundación Vivir + Feliz ¿Quieres Mejorar Tu Pedido? Aporta $5.000 a la fundación Vivir Más Feliz para Realizar una terapia a un niño con cáncer. Harás que un clown profesional haga reír a un niño y su familia al mejor estilo de Patch Adams El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones Donar un árbol por $4.000 ¿Quieres Mejorar Tu Pedido? Tu aporte irá directo a Fundación Reforestemos para plantar árboles nativos en zonas deforestadas El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones Esteriliza a un Perrito o Gatito por $15.000 ¿Quieres Mejorar Tu Pedido? Tu aporte irá directo a Fundación Quiltro para esterilizar animales en zonas vulnerables El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones Seguir comprando → Terminar pedido * Inicio * Navidad 🎁 * 🛒 Tienda * La Historia * La Historia * El Documental Para Netflix * El Proceso * El Aporte Real * Prensa * Videos * Causas * Reportes * Reporte de Donaciones * Reporte Financiero * Reporte de Sustenabilidad * Regalos Regalos * Menos de $10.000 * De $10.000 a 15.000 * De $15.000 a $20.000 * De más de $20.000 * Empresas * Regalos Corporativos * Charlas Motivacionales * Blog * SUSCRÍBETE * +56934264489 * CONTACTO * GUÍA DE RECICLAJE * Entrar * * * * * +56934264489 * CONTACTO * GUÍA DE RECICLAJE 0 ¡ Regalo sorpresa sólo por $30.000 más ! Tu carrito está vacío Nuevos Los Más vendidos Colaboraciones Causas * * $0 Subtotal * * ¿Regalas tu Green Glass?. Añade una Nota De Para Mensaje Donar $5.000 a la Fundación Vivir + Feliz ¿Quieres Mejorar Tu Pedido? Aporta $5.000 a la fundación Vivir Más Feliz para Realizar una terapia a un niño con cáncer. Harás que un clown profesional haga reír a un niño y su familia al mejor estilo de Patch Adams El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones Donar un árbol por $4.000 ¿Quieres Mejorar Tu Pedido? Tu aporte irá directo a Fundación Reforestemos para plantar árboles nativos en zonas deforestadas El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones Esteriliza a un Perrito o Gatito por $15.000 ¿Quieres Mejorar Tu Pedido? Tu aporte irá directo a Fundación Quiltro para esterilizar animales en zonas vulnerables El 100% de las donaciones son transparentadas todos los meses en nuestro reporte de donaciones Seguir comprando → Terminar pedido * Suscríbete * Entrar Inicio Navidad 🎁 🛒 Tienda La Historia * La Historia * El Documental Para Netflix * El Proceso * El Aporte Real * Prensa * Videos Causas Reportes * Reporte de Donaciones * Reporte Financiero * Reporte de Sustenabilidad Regalos Empresas * Regalos Corporativos * Charlas Motivacionales Blog SUSCRÍBETE * * * Regalos * Menos de $10.000 * De $10.000 a 15.000 * De $15.000 a $20.000 * De más de $20.000 * Cool Stuff * La Historia * El Documental Para Netflix * La Magia del Proceso (Proceso) * El Aporte * Prensa * Tienda * Los Más Vendidos * Nuevos * En ofertas * Ver Todos * Reportes * Reporte de Donaciones * Reporte Financiero * Reporte Sustenabilidad * Empresas * Regalos Corporativos * Charlas Motivacionales * Regalos * Menos de $10.000 * De $10.000 a 15.000 * De $15.000 a $20.000 * De más de $20.000 * Cool Stuff * La Historia * El Documental Para Netflix * La Magia del Proceso (Proceso) * El Aporte * Prensa Cool Stuff * La Historia * El Documental Para Netflix * La Magia del Proceso (Proceso) * El Aporte * Prensa * Tienda * Los Más Vendidos * Nuevos * En ofertas * Ver Todos Tienda * Los Más Vendidos * Nuevos * En ofertas * Ver Todos * Reportes * Reporte de Donaciones * Reporte Financiero * Reporte Sustenabilidad Reportes * Reporte de Donaciones * Reporte Financiero * Reporte Sustenabilidad * Empresas * Regalos Corporativos * Charlas Motivacionales Empresas * Regalos Corporativos * Charlas Motivacionales VASOS DE MUSEO 6 PACK 500ML (158) $19.990 * Descripción Que hubiese escrito Neruda? O hubiese pintado Picasso. Si no existieran Vasos Como Estos Muchachos! Junto a la encantadora "Cuni" quien seleccionó las obras para esta colección. Les traemos los Vasos de Museo. Para los amantes del Arte y para quienes quieran descubrirlo. Aquí tienes un poco de Avant Garde: * El beso Gustav Klimt (1908) * La noche estrellada Vincent van Gogh (1889) * La gran ola de Kangawa Katsushika Hokusai (c. 1830) * El grito Edvard Munch (1893) * Guernica Pablo Picasso (1937) * La persistencia de la memoria Salvador Dalí (1931) Capacidad: 500 ml. Dimensiones: 15x7,3 cm Peso: 302 grs Agranda Tu Pedido 😍 (suma más Green Glassers) Previous + $19,990 Arquitectura Lover Juego de 6 Vasos Default Title + $19,990 Cinéfilo Juego de 6 Vasos Default Title + $14,990 Brindemos por EllosJuego de 4 Vasos Default Title + $19,990 Latinoamérica - Juego 6 vasos Default Title + $19,990 Vasos Rockstar Juego de 6 Vasos Default Title + $14,990 Om Glass Juego de 4 Vasos Default Title + $16,990 Pack Karaoke 31 Minutos Juego de 6 Vasitos 200 Ml Default Title + $11,990 Mini Flora y Fauna Juego de 4 Vasos Default Title + $19,990 Piscoleros Juego de 6 Vasos Default Title Next Cantidad Añadir Al Carrito $19.990 Añadir Al Carrito $19.990 Vasos De Museo 6 Pack 500ml (158) $19.990 Añadir Al Carrito Por favor seleccione una talla y/u color primero Listo para despachar ¿Qué singifica despacho express? Que recibirás en aproximadamente el pedido en 24 horas hábiles o menos. 🙌🏼 Hay posibilidades que demoremos un poquito más dependiendo el flujo de pedidos.🙌🏼 Despacho Express aplica a la siguientes Comunas: Las Condes,Santiago Centro,Providencia,Vitacura,La Reina,Peñalolen,La Reina,Lo Barnechea,Ñuñoa ,Recoleta,San Joaquín,La Forida,Renca,Quinta Normal,Pedro Aguirre Cerda,Lo Prado ,Lo Espejo,La Cisterna,Estación Central,Cerro Navia,Cerrillos,San Ramón,San Miguel,San Joaquín,Recoleta, Providencia,Macul,La Granja,Independencia,Conchalí Ver costo de envío CONSULTAR STOCK EN TIENDAS ¿Preguntas? Estamos on fire para atenderte. Prueba nuestra hospitalidad aquí. +56 9 3426 4489 Chatea con nosotros COMPRADOS JUNTOS HABITUALMENTE Ahorre dinero comprando estos productos juntos * + * + * Precio total:$38.980 Añadir a la cesta * ESTE PRODUCTO: VASOS DE MUSEO 6 PACK 500ML $19.990 * DONACIÓN FUNDACIÓN REFORESTEMOS $4.000 * OM GLASS JUEGO DE 4 VASOS $14.990 -------------------------------------------------------------------------------- LOS MEJORES VASOS DEL MUNDO LOS MEJORES VASOS DEL MUNDO NUNCA MÁS TENDRÁS UN VASO NORMAL. Mira aquí abajo por qué chucha son tan bakanes. O puedes ver nuestro documental completo aquí -------------------------------------------------------------------------------- Abastecimiento Recolección La mayoría de las botellas Green Glass son recuperadas por recicladores de base desde las calles y vendidas a centro de reciclaje. Lavado Los centros de reciclaje clasifican las botellas y pasan a un proceso de lavado para remover polvo, etiquetas y residuos. Fabricación › Corte: Cada botella es marcada a mano para poder aplicar fuego y lograr que se corte. › Pulido: Para que los bordes no queden peligrosos pulimos con cuidado cada canto. › Fuego: Logramos la mayor suavidad y resistencia al fundir el borde de cada vaso. › Pintado: Cada vaso es decorado especialmente con los diseños pensados para una línea en específico › Horno: El último paso es llevar los Green Glass al horno para poder sellar la pintura y que nunca más se salga. Ahora podrás llevártelo y ser feliz. -------------------------------------------------------------------------------- TODO LO QUE INCLUYE Cada producto Green Glass viene con su propia caja y cada vaso va envuelto en papel de regalo ilustrado. Son despachados en bolsas compostables libres de plásticos. -------------------------------------------------------------------------------- Especificaciones Certificaciones Certificación Empresa B: Empresa que se compromete con altos estándares de impacto social y ambiental. Esto significa que trabajamos con pequeños proveedores, usamos material reciclado, reciclamos, comportamos, tenemos metas de ahorro energético y nos comprometemos a causar el mayor impacto positivo en el mundo. Certificación Comercio Justo: Otorgada por la WFTO (World International Fair Trade Organization) avala que usamos el comercio de manera positiva. Buscando cumplir con los 10 estándares del comercio justo en poder lograr mejores oportunidades para proveedores y trabajadores, En ser transparentes con nuestra información, cuidar nuestra cadena de valor, erradicar el empleo infantil, promover la equidad de género y todo tipo de prácticas sustentables y positivas. Medios de Pago - Paga con tarjeta de débito o crédito mediante webpay. - Transferencias bancarias manuales. - Transferencias por Khipu. - Pagos por Mach - Paga con Multicaja Garantía Garantía Feliz Total por 30 días. Vas a quedar feliz con tu compra o te devolvemos lo que pagaste. Pocas empresas pueden decir eso. Nos interesa genuinamente que seas feliz con tus Green Glass. Si tu producto falla, no hay problema, lo arreglamos. Si te faltó una vaso, lo reponemos. Si se te rompe, lo reponemos. Si no te gustó. Lee abajito los Cambios y Devoluciones Cambios y Devoluciones Cambios y devoluciones completamente GRATIS. Si no te gustó. Te devolvemos la plata. Sin preguntas ni caras de poto. Los quieres cambiar? No hay problema. Te mandamos otros que te gusten más. Nosotros pagaremos el costo de retirar los vasos. Puedes hacerlo efectivo en el mail ayuda@greenglass.cl -------------------------------------------------------------------------------- ¿POR QUÉ COMPRAR GREEN GLASS? PACKAGING ECOFRIENDLY -------------------------------------------------------------------------------- Libres de plástico con packaging es compostable. BOTELLAS RECUPERADAS -------------------------------------------------------------------------------- Salvadas de terminar en la basura por cartoneros. HECHOS A MANO -------------------------------------------------------------------------------- Tus Green Glass generan empleo para más de 20 personas. BOTELLAS RECUPERADAS -------------------------------------------------------------------------------- Más de 1 Millón de Botellas recuperadas. DONACIONES -------------------------------------------------------------------------------- Más de $30.000.000 recaudados para fundaciones. GARANTÍA FELIZ -------------------------------------------------------------------------------- Hasta 30 días para cambios y devoluciones sin costo. ¿Por qué comprar Green Glass? PACKAGING ECOFRIENDLY -------------------------------------------------------------------------------- Libres de plástico con packaging es compostable. BOTELLAS RECUPERADAS -------------------------------------------------------------------------------- Salvadas de terminar en la basura por cartoneros. HECHOS A MANO -------------------------------------------------------------------------------- Tus Green Glass generan empleo para más de 20 personas. BOTELLAS RECUPERADAS -------------------------------------------------------------------------------- Más de 1 Millón de Botellas recuperadas. DONACIONES -------------------------------------------------------------------------------- Más de $30.000.000 recaudados para fundaciones. GARANTÍA FELIZ -------------------------------------------------------------------------------- Hasta 30 días para cambios y devoluciones sin costo. -------------------------------------------------------------------------------- CUÁNTO CUESTA HACER UN GREEN GLASS Porque tienes derecho a saber cuánto cuesta producir lo que llevas. Y de pasada para taparle la boca a todos los que ignoran el valor real de las cosas. -------------------------------------------------------------------------------- LOS ANTI INFLUENCERS Puede que no tengan millones de seguidores Pero tienen algo mejor... Son de verdad. ¿Qué hacer para salir aquí? Nada más que llevar tus primeros Green Glass. TAMBIÉN TE PODRÍA INTERESAR... SUSCRÍBETE Regístrate gratis para conocer nuevos productos, descuentos y mucho más! CONTÁCTANOS * ❤️ Al Cliente +56 9 3426 4489 * Tu cuenta TIENDA * Puntos de Venta EMPRESA * Green Glass: El Documental * La Historia de Green Glass * Reporte de Donaciones * Reportes Financieros * Trabaja Con Nosotros * Síguenos en Insta :)? INFORMACIÓN * Tiempo y Costos de Envío * Cambios y Devoluciones * Políticas de Privacidad * Términos y Condiciones * Puntos de Venta * Franquicia © 2021 Green Glass. Todos los derechos reservados. Hecho con ❤️ Por Su Dueño y el Equipo de Haciendola.com Felipe M. Nos encantaron nuestros vasos!! Le dan el ... Vasos De Museo 6 Pack ...