${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "100%"; 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
catálogo
Salud y Belleza
Ropa y Accesorios
Herramientas y Gadgets
Electrónica y Accesorios
Accesorios Para el Coche
Artículos Para el Hogar y Cocina
Venta caliente
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: 73614767, title: "Inicio", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 73614769, title: "cat\u00e1logo", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Salud y Belleza", url: "\/collections\/salud-y-belleza", target: "", levels: 0, children: [ ] }, { title: "Ropa y Accesorios", url: "\/collections\/ropa-y-accesorios", target: "", levels: 0, children: [ ] }, { title: "Herramientas y Gadgets", url: "\/collections\/herramientas-y-gadgets", target: "", levels: 0, children: [ ] }, { title: "Electr\u00f3nica y Accesorios", url: "\/collections\/electronica-y-accesorios", target: "", levels: 0, children: [ ] }, { title: "Accesorios Para el Coche", url: "\/collections\/accesorios-para-el-coche", target: "", levels: 0, children: [ ] }, { title: "Art\u00edculos Para el Hogar y Cocina", url: "\/collections\/articulos-para-el-hogar-y-cocina", target: "", levels: 0, children: [ ] }, ] }, { id: 73614771, title: "Venta caliente", url: "", 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
catálogo
Salud y Belleza
Ropa y Accesorios
Herramientas y Gadgets
Electrónica y Accesorios
Accesorios Para el Coche
Artículos Para el Hogar y Cocina
Venta caliente
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: 73614767, title: "Inicio", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 73614769, title: "cat\u00e1logo", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Salud y Belleza", url: "\/collections\/salud-y-belleza", target: "", levels: 0, children: [ ] }, { title: "Ropa y Accesorios", url: "\/collections\/ropa-y-accesorios", target: "", levels: 0, children: [ ] }, { title: "Herramientas y Gadgets", url: "\/collections\/herramientas-y-gadgets", target: "", levels: 0, children: [ ] }, { title: "Electr\u00f3nica y Accesorios", url: "\/collections\/electronica-y-accesorios", target: "", levels: 0, children: [ ] }, { title: "Accesorios Para el Coche", url: "\/collections\/accesorios-para-el-coche", target: "", levels: 0, children: [ ] }, { title: "Art\u00edculos Para el Hogar y Cocina", url: "\/collections\/articulos-para-el-hogar-y-cocina", target: "", levels: 0, children: [ ] }, ] }, { id: 73614771, title: "Venta caliente", url: "", 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
catálogo
catálogo
Salud y Belleza
Ropa y Accesorios
Herramientas y Gadgets
Electrónica y Accesorios
Accesorios Para el Coche
Artículos Para el Hogar y Cocina
Venta caliente
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(); })();
1/8
${data.index + 1}/${data.total}
${Array(data.total).fill(0).map((num, index) => `
`).join('')}
Anti-Spy Screen Protector With Auto Alignment Kit For iPhone
$16.99
$33.98
-
50%
${function() { const variantData = data.variant || {"id":"04ec0ba5-c258-46d8-a606-1e0e0549e990","product_id":"e8813cf3-05be-4fa6-acc4-1a6289eada5e","title":"For iPhone 14","weight_unit":"kg","inventory_quantity":0,"sku":"WH2021111701-i14","barcode":"","position":1,"option1":"For iPhone 14","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.98","price":"16.99","retail_price":"33.98","available":true,"url":"\/products\/anti-spy?variant=04ec0ba5-c258-46d8-a606-1e0e0549e990","available_quantity":999999999,"options":[{"name":"Model","value":"For iPhone 14"}],"off_ratio":50,"flashsale_info":[],"sales":26262}; const saveType = "percentage"; const productLabelDiscountOn = true; return `
-
${saveType == 'percentage' ? `
-${variantData.off_ratio}%
` : `
-
` }
`; }()}
Model:
For iPhone 14
${function(){ const optName = "Model"; const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value; const optionValueText = optionValue ? (optionValue) : ''; return `
${optionValueText}
`; }()}
For iPhone 14
For iPhone 14 Plus
For iPhone 14 Pro
For iPhone 14 Pro Max
For iPhone 13
For iPhone 13 Pro
For iPhone 13 Pro Max
For iPhone 12
For iPhone 12 Pro
For iPhone 12 Pro Max
${function(){ const tipText = "Por favor seleccione un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data); return `
${tipText}
` }()}