Más vendido
VLINE (Copy)
VLINE (Copy)
VLINE (Copy)
VLINE (Copy)
VLINE (Copy)
VLINE (Copy)
V·LINE Argentina

VLINE (Copy)

★★★★★ +2.400 mujeres satisfechas
$12.500,00 ARS
3 cuotas sin interés de $4.166,66
Stock disponible
Cantidad
Transpirable
Reafirmante
Amigable para la piel
Cinta adhesiva fuerte
Ranuras para las orejas
Envío gratis
Resultados desde el día 1
Compra 100% segura
Garantía de satisfacción
Envío gratis a todo el país
/* ——— SLIDER ——— */ window.vlGoSlide = function(n) { document.getElementById('vl-s' + cur).classList.remove('active'); document.getElementById('vl-d' + cur).classList.remove('active'); var t = document.getElementById('vl-t' + cur); if (t) t.classList.remove('active'); cur = n; document.getElementById('vl-s' + cur).classList.add('active'); document.getElementById('vl-d' + cur).classList.add('active'); var t2 = document.getElementById('vl-t' + cur); if (t2) t2.classList.add('active'); }; window.vlSlide = function(d) { vlGoSlide((cur + d + total) % total); }; /* ——— CANTIDAD ——— */ window.vlQty = function(d) { qty = Math.max(1, qty + d); document.getElementById('vl-qty-display').value = qty; }; /* ——— AGREGAR AL CARRITO ——— */ window.vlAddToCart = function() { var btn = document.getElementById('vl-add-btn'); btn.textContent = 'Agregando...'; btn.disabled = true; fetch(window.Shopify && window.Shopify.routes ? window.Shopify.routes.root + 'cart/add.js' : '/cart/add.js', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json' }, body: JSON.stringify({ id: variantId, quantity: qty, sections: 'cart-icon-bubble' }) }) .then(function(res) { return res.json(); }) .then(function(data) { if (data.status && data.status !== 200) { btn.textContent = 'Error: ' + (data.description || 'intentá de nuevo'); btn.disabled = false; } else { btn.textContent = '¡Agregado! ✓'; /* — Actualizar contador del carrito — */ fetch('/cart.js') .then(function(r) { return r.json(); }) .then(function(cart) { /* Fabric y la mayoría de temas modernos usan estos selectores */ var selectors = [ '.cart-count', '.cart__count', '[data-cart-count]', '[data-cart-item-count]', '#cart-icon-bubble', '.header__cart-count', 'cart-icon-bubble' ]; selectors.forEach(function(sel) { document.querySelectorAll(sel).forEach(function(el) { el.textContent = cart.item_count; el.setAttribute('data-cart-count', cart.item_count); }); }); /* Disparar eventos que Fabric escucha */ document.dispatchEvent(new CustomEvent('cart:refresh', { bubbles: true })); document.dispatchEvent(new CustomEvent('cart:updated', { bubbles: true, detail: { cart: cart } })); }); /* — Abrir drawer del carrito (Fabric lo escucha así) — */ setTimeout(function() { /* Intentar abrir el mini-cart/drawer de Fabric */ var drawerSelectors = [ 'cart-notification', 'cart-drawer', '#CartDrawer', '#MiniCart', '.cart-drawer', '[data-cart-drawer]' ]; var opened = false; drawerSelectors.forEach(function(sel) { if (!opened) { var el = document.querySelector(sel); if (el) { if (typeof el.open === 'function') { el.open(); opened = true; } else if (typeof el.show === 'function') { el.show(); opened = true; } else { el.classList.add('is-open', 'active'); opened = true; } } } }); /* Si no hay drawer, ir al carrito */ if (!opened) { window.location.href = '/cart'; } btn.textContent = 'Agregar al carrito'; btn.disabled = false; }, 800); } }) .catch(function(err) { console.error('Cart error:', err); /* Fallback: usar formulario nativo */ var form = document.createElement('form'); form.method = 'POST'; form.action = '/cart/add'; var idInput = document.createElement('input'); idInput.type = 'hidden'; idInput.name = 'id'; idInput.value = variantId; var qtyInput = document.createElement('input'); qtyInput.type = 'hidden'; qtyInput.name = 'quantity'; qtyInput.value = qty; var returnInput = document.createElement('input'); returnInput.type = 'hidden'; returnInput.name = 'return_to'; returnInput.value = '/cart'; form.appendChild(idInput); form.appendChild(qtyInput); form.appendChild(returnInput); document.body.appendChild(form); form.submit(); }); }; /* ——— COMPRAR AHORA ——— */ window.vlBuyNow = function() { fetch('/cart/add.js', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json' }, body: JSON.stringify({ id: variantId, quantity: qty }) }) .then(function() { window.location.href = '/checkout'; }) .catch(function() { window.location.href = '/cart'; }); }; })();

Suscribite a nosotros

No te pierdas de promos y próximos productos :)