${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "133.33%"; const product_image = data.image; const secondary_image = data.secondImage; const image_width = product_image.width; let image_height = product_image.height; if(setting_product_image_display == '100%'){ image_height = image_width }else if(setting_product_image_display == '133.33%'){ image_height = image_width * 1.3333; }; const product_image_hover_on = true && !!secondary_image.src; const has_save_label = true && ((+data.compare_at_price) > (+data.price)); const is_single_variant = data.variants.length == 1; const min_price_variant_href = (data.min_price_variant && data.min_price_variant.available) ? data.min_price_variant.withinUrl : data.withinUrl; const retail_price_max = data.retail_price_max || data.compare_at_price_max; const THUMBNAILS_MAX_SIZE = 3; const thumbnails = data.thumbVariants.slice(0, THUMBNAILS_MAX_SIZE); const image_wrap_id = 'image_wrap_' + get_random_six_digits(); const image_carousel_id = 'image_carousel_' + get_random_six_digits(); const thumbnails_selector_id = 'thumbnails_selector_' + get_random_six_digits(); const form_id = 'form_' + get_random_six_digits(); const mixed_wholesale = data.mixed_wholesale; return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Guardar ${ data.off_ratio }% ` : '' }` : "Vendido" }
Lote mixto
${data.title}
${ data.price_min != data.price_max ? `de
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
Iniciar sesión
Crea una cuenta
${data.data && data.data.count}
INICIO
RECIÉN LLEGADO
VESTIDO DE VERDE ESMERALDA
ELEGANTE
PEGADO
CASUAL
JUVENIL
CARATERÍSTICA
OCASIÓN
15 AÑOS
GRADUACIÓN
NOCHE
FIESTA
LONGITUD
LARGO
CORTO
ACCESORIO
Más enlaces
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 63701807, title: "INICIO", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 63701809, title: "RECI\u00c9N LLEGADO", url: "\/collections\/recien-llegados", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 63701811, title: "VESTIDO DE VERDE ESMERALDA", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "ELEGANTE", url: "\/collections\/vestido-verde-esmeralda-elegante", target: "", levels: 0, children: [ ] }, { title: "PEGADO", url: "\/collections\/vestido-verde-esmeralda-pegado", target: "", levels: 0, children: [ ] }, { title: "CASUAL", url: "\/collections\/vestido-casual-verde-esmeralda", target: "", levels: 0, children: [ ] }, { title: "JUVENIL", url: "\/collections\/vestidos-verde-esmeralda-juveniles", target: "", levels: 0, children: [ ] }, ] }, { id: 63701821, title: "CARATER\u00cdSTICA", url: "", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "OCASI\u00d3N", url: "", target: "", levels: 1, children: [ { title: "15 A\u00d1OS", url: "\/collections\/vestidos-de-xv-verde-esmeralda", target: "", levels: 0, }, { title: "GRADUACI\u00d3N", url: "\/collections\/graduacion-vestidos-verde-esmeralda", target: "", levels: 0, }, { title: "NOCHE", url: "\/collections\/vestidos-de-noche-verde-esmeralda", target: "", levels: 0, }, { title: "FIESTA", url: "\/collections\/vestidos-de-fiesta-verde-esmeralda", target: "", levels: 0, }, ] }, { title: "LONGITUD", url: "", target: "", levels: 1, children: [ { title: "LARGO", url: "\/collections\/vestidos-verde-esmeralda-largos", target: "", levels: 0, }, { title: "CORTO", url: "\/collections\/vestido-verde-esmeralda-corto", target: "", levels: 0, }, ] }, ] }, { id: 63701839, title: "ACCESORIO", url: "\/collections\/accesorios-para-vestido-verde-esmeralda", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
INICIO
RECIÉN LLEGADO
VESTIDO DE VERDE ESMERALDA
ELEGANTE
PEGADO
CASUAL
JUVENIL
CARATERÍSTICA
OCASIÓN
15 AÑOS
GRADUACIÓN
NOCHE
FIESTA
LONGITUD
LARGO
CORTO
ACCESORIO
Más enlaces
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 63701807, title: "INICIO", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 63701809, title: "RECI\u00c9N LLEGADO", url: "\/collections\/recien-llegados", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 63701811, title: "VESTIDO DE VERDE ESMERALDA", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "ELEGANTE", url: "\/collections\/vestido-verde-esmeralda-elegante", target: "", levels: 0, children: [ ] }, { title: "PEGADO", url: "\/collections\/vestido-verde-esmeralda-pegado", target: "", levels: 0, children: [ ] }, { title: "CASUAL", url: "\/collections\/vestido-casual-verde-esmeralda", target: "", levels: 0, children: [ ] }, { title: "JUVENIL", url: "\/collections\/vestidos-verde-esmeralda-juveniles", target: "", levels: 0, children: [ ] }, ] }, { id: 63701821, title: "CARATER\u00cdSTICA", url: "", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "OCASI\u00d3N", url: "", target: "", levels: 1, children: [ { title: "15 A\u00d1OS", url: "\/collections\/vestidos-de-xv-verde-esmeralda", target: "", levels: 0, }, { title: "GRADUACI\u00d3N", url: "\/collections\/graduacion-vestidos-verde-esmeralda", target: "", levels: 0, }, { title: "NOCHE", url: "\/collections\/vestidos-de-noche-verde-esmeralda", target: "", levels: 0, }, { title: "FIESTA", url: "\/collections\/vestidos-de-fiesta-verde-esmeralda", target: "", levels: 0, }, ] }, { title: "LONGITUD", url: "", target: "", levels: 1, children: [ { title: "LARGO", url: "\/collections\/vestidos-verde-esmeralda-largos", target: "", levels: 0, }, { title: "CORTO", url: "\/collections\/vestido-verde-esmeralda-corto", target: "", levels: 0, }, ] }, ] }, { id: 63701839, title: "ACCESORIO", url: "\/collections\/accesorios-para-vestido-verde-esmeralda", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Iniciar sesión
Crea una cuenta
${data.data && data.data.count}
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return '
'; const keyword = encodeURIComponent(data); return `
Ver más
Su búsqueda de '${data}' no arrojó ningún resultado.
` })()}
INICIO
RECIÉN LLEGADO
VESTIDO DE VERDE ESMERALDA
VESTIDO DE VERDE ESMERALDA
ELEGANTE
PEGADO
CASUAL
JUVENIL
CARATERÍSTICA
CARATERÍSTICA
OCASIÓN
OCASIÓN
15 AÑOS
GRADUACIÓN
NOCHE
FIESTA
LONGITUD
LONGITUD
LARGO
CORTO
ACCESORIO
Iniciar sesión
Crea una cuenta
(function(){ let w = window.innerWidth; function setHeaderCssVar() { const headerEle = document.getElementById('shoplaza-section-header'); if(!headerEle){ return }; document.body.style.setProperty('--window-height', `${window.innerHeight}px`); document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`); const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide'); if (mdScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`); } const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide'); if (pcScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`); } } function handlResize() { if(w == window.innerWidth){return}; w = window.innerWidth; setHeaderCssVar(); }; function init(){ setHeaderCssVar(); window.removeEventListener('resize', window._theme_header_listener) window._theme_header_listener = handlResize; window.addEventListener('resize', window._theme_header_listener); } init(); })();
Acceso
Por favor, introduzca su correo electrónico y contraseña:
${data.errors && data.errors[0]}
Correo electrónico
correo electronico es requerido
Por favor introduzca una dirección de correo electrónico válida.
Contraseña
Se requiere contraseña.
La contraseña debe tener entre 6 y 16 caracteres.
¿Se te olvidó tu contraseña?
¿Se te olvidó tu contraseña?
Registrarse
${ Object.keys((data && data.login_setting) || {}) .map(type => `
`) .join("") }
Ver carrito
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { const nameEscape = opt.name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, '') product_change_event = product_change_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${nameEscape}Mouseover="quick-shop-selected-variant-${opt.id}.rerender(data=event);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Vendido" : "A\u00f1adir a la cesta"; return `
${statusLan}
` }()}
${function(){ const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const variantData = currentSelectVariant || defaultVariant || data; const retail_price = variantData.retail_price || 0; return `
Venta minorista
` }()}
${function(){ const wholesale_enabled = false; const qty = data.quantity || 1; const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const productVariant = null; const variantData = currentSelectVariant || defaultVariant || productVariant; const wholesale_price = variantData.wholesale_price || []; if(wholesale_enabled && wholesale_price.length > 0) { let wholesaleIndex = wholesale_price.findIndex(item => { return item.min_quantity > qty; }); if(wholesaleIndex < 0){ wholesaleIndex = wholesale_price.length - 1; }else if(wholesaleIndex > 0){ wholesaleIndex = wholesaleIndex - 1; } const wholesalePrice = wholesale_price[wholesaleIndex] || ''; return `
` }else { const price = variantData && variantData.price; return price != undefined ? `
` : '
'; } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; const optionId = option.id || ''; const position = `option${index + 1}`; let isThumbImage = false; if (currentProduct.need_variant_image && !variantImageShowed) { const variantNames = ["color"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; variantImageShowed = true; } } } const variantType = "button"; const thumbStyle = "image_with_text"; return `
${optionName}:
${option.values.map((value, idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = currentProduct.variants; for (let i = 0, len = variants.length; i < len; i++) { const variant = variants[i]; if (variant[position] == value && thumbImage == null) { thumbImage = variant.image; break; } } } return `
${value}
` }).join('')}
${optionName}
${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
` }).join('')}
` }).join(''); }()}
${data.originData && data.originData.value || data.value}