${(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.url : data.url; 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(); return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Save
` : '' }` : "Sold out" }
${data.title}
${ data.price_min != data.price_max ? `From
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
✈️ FREE SHIPPING FOR ORDERS OVER 2 ITEMS
✈️ FREE SHIPPING FOR ORDERS OVER 2 ITEMS
FAVORLENS
FAVORLENS
Log in
Create an account
${data.data && data.data.count}
💥Pre-Halloween Sale
Shop All
By Diameter
14.0mm
14.2mm
14.5mm
By Limbal
With Limbal Ring
Without Limbal Ring
By Replacement Cycle
1-Day
1-Month
1-Year
6-Month
By Animal
By Color Tone
1-Tone Color
2-Tone Color
3-Tone Color
By Style
🎃Halloween
Daily Wear
Party
Enlarge
Small Pupil
God Fables Contact Lenses(6 months wear)
$24.99
Colors
Green
Brown
Black
Grey
Blue
Choco
Violet
Pink
Red
New In
Cosplay Contact Lenses
More links
${(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: 66967781, title: "\ud83d\udca5Pre-Halloween Sale", url: "\/collections\/\ud83d\udca5pre-halloween-sale", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 66967783, title: "Shop All", url: "\/collections\/favorlens-colored-contacts", target: "", levels: 2, product0: {"id":"8de03aa9-1451-4993-ae10-c43249657009","title":"God Fables Contact Lenses(6 months wear) ","brief":"","vendor":"CMN","vendor_url":"","has_only_default_variant":true,"requires_shipping":true,"taxable":true,"published":true,"handle":"god-fables-contact-lenses6-months-wear","spu":"","need_variant_image":false,"updated_at":"2024-09-04T03:51:16Z","created_at":"2024-09-04T03:45:59Z","mixed_wholesale":false,"min_price_variant":{"id":"a6a12005-155d-42b3-aa8b-31ce7c7e3e1e","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"240904608-TB-SYY-","barcode":"","position":1,"option1":"","option2":"","option3":"","image":null,"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/god-fables-contact-lenses6-months-wear?variant=a6a12005-155d-42b3-aa8b-31ce7c7e3e1e","available_quantity":1000,"options":[],"off_ratio":0},"tags":"Color,\u795e\u5bd3\u8a00","available":true,"price_min":"24.99","price":"24.99","price_max":"24.99","compare_at_price_min":"0","compare_at_price":"0","compare_at_price_max":"0","retail_price_min":"0","retail_price_max":"0","url":"\/products\/god-fables-contact-lenses6-months-wear","published_at":"2024-09-04T03:45:59Z","image":{"src":"\/\/img.staticdj.com\/67460bc5d0f7a7c1ac0f34ddb604c385.png","path":"67460bc5d0f7a7c1ac0f34ddb604c385.png","width":800,"height":800,"alt":"","aspect_ratio":1},"options":[],"variants":[{"id":"a6a12005-155d-42b3-aa8b-31ce7c7e3e1e","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"240904608-TB-SYY-","barcode":"","position":1,"option1":"","option2":"","option3":"","image":null,"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/god-fables-contact-lenses6-months-wear?variant=a6a12005-155d-42b3-aa8b-31ce7c7e3e1e","available_quantity":1000,"options":[],"off_ratio":0,"flashsale_info":[],"sales":null}],"images":[{"src":"\/\/img.staticdj.com\/67460bc5d0f7a7c1ac0f34ddb604c385.png","path":"67460bc5d0f7a7c1ac0f34ddb604c385.png","width":800,"height":800,"alt":"","aspect_ratio":1}],"retail_price":"0","off_ratio":0,"price_varies":true} || {}, children: [ { title: "By Diameter", url: "", target: "", levels: 1, children: [ { title: "14.0mm", url: "\/collections\/diameter-14-0mm", target: "", levels: 0, }, { title: "14.2mm", url: "\/collections\/diameter-14-2mm", target: "", levels: 0, }, { title: "14.5mm", url: "\/collections\/diameter-14-5mm", target: "", levels: 0, }, ] }, { title: "By Limbal", url: "", target: "", levels: 1, children: [ { title: "With Limbal Ring", url: "\/collections\/with-limbal-ring", target: "", levels: 0, }, { title: "Without Limbal Ring", url: "\/collections\/without-limbal-ring", target: "", levels: 0, }, ] }, { title: "By Replacement Cycle", url: "", target: "", levels: 1, children: [ { title: "1-Day", url: "\/collections\/1-day", target: "", levels: 0, }, { title: "1-Month", url: "\/collections\/monthly-lenses", target: "", levels: 0, }, { title: "1-Year", url: "\/collections\/1-year", target: "", levels: 0, }, { title: "6-Month", url: "\/collections\/6-month", target: "", levels: 0, }, ] }, { title: "By Animal", url: "\/collections\/by-animal", target: "", levels: 0, children: [ ] }, { title: "By Color Tone", url: "", target: "", levels: 1, children: [ { title: "1-Tone Color", url: "\/collections\/1-tone-color-fhcb", target: "", levels: 0, }, { title: "2-Tone Color", url: "\/collections\/2-tone-color", target: "", levels: 0, }, { title: "3-Tone Color", url: "\/collections\/3-tone-color", target: "", levels: 0, }, ] }, { title: "By Style", url: "", target: "", levels: 1, children: [ { title: "\ud83c\udf83Halloween", url: "\/collections\/halloween", target: "", levels: 0, }, { title: "Daily Wear", url: "\/collections\/daily-wear", target: "", levels: 0, }, { title: "Party", url: "\/collections\/party", target: "", levels: 0, }, { title: "Enlarge", url: "\/collections\/enlarge", target: "", levels: 0, }, { title: "Small Pupil", url: "\/collections\/small-pupil", target: "", levels: 0, }, ] }, ] }, { id: 66967831, title: "Colors", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Green", url: "\/collections\/green-contact-lenses", target: "", levels: 0, children: [ ] }, { title: "Brown", url: "\/collections\/brown-contact-lenses", target: "", levels: 0, children: [ ] }, { title: "Black", url: "\/collections\/black-contact-lenses", target: "", levels: 0, children: [ ] }, { title: "Grey", url: "\/collections\/grey-contact-lenses", target: "", levels: 0, children: [ ] }, { title: "Blue", url: "\/collections\/blue-contact-lenses", target: "", levels: 0, children: [ ] }, { title: "Choco", url: "\/collections\/choco-contact-lenses", target: "", levels: 0, children: [ ] }, { title: "Violet", url: "\/collections\/violet-contact-lenses", target: "", levels: 0, children: [ ] }, { title: "Pink", url: "\/collections\/pink-contact-lenses", target: "", levels: 0, children: [ ] }, { title: "Red", url: "\/collections\/red-contact-lenses", target: "", levels: 0, children: [ ] }, ] }, { id: 66967853, title: "New In", url: "\/collections\/new-arrival", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 66967855, title: "Cosplay Contact Lenses", url: "\/collections\/cosplay-contact-lenses", target: "", levels: 0, product0: 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}
` })()}
FAVORLENS
FAVORLENS
Log in
Create an account
${data.data && data.data.count}
💥Pre-Halloween Sale
Shop All
By Diameter
By Limbal
By Replacement Cycle
By Animal
By Color Tone
By Style
Colors
Green
Brown
Black
Grey
Blue
Choco
Violet
Pink
Red
New In
Cosplay Contact Lenses
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return '
'; const keyword = encodeURIComponent(data); return `
View more
Your search for '${data}' did not yield any results.
` })()}
(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`); document.body.style.setProperty('--header-scroll-hide-height-md', `${headerEle.querySelector('.header__mobile .header__scroll_hide').clientHeight}px`); document.body.style.setProperty('--header-scroll-hide-height-pc', `${headerEle.querySelector('.header__desktop .header__scroll_hide').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(); })();
Login
Please enter your e-mail and password:
${data.errors && data.errors[0]}
Email
Email is required
Please enter a valid email.
Password
Password is required.
Password must be between 6-16 characters long.
Forgot password?
Sign in
${ Object.keys((data && data.login_setting) || {}) .map(type => `
`) .join("") }
Login for more discounts
View Cart
${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) { product_change_event = product_change_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${opt.name}Mouseover="quick-shop-selected-variant-${opt.name}.rerender(data=event);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Sold out" : "Add to cart"; 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 `
Retail
` }()}
${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 { return `
` } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; 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}
View Cart
${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) { product_change_event = product_change_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${opt.name}Mouseover="quick-shop-selected-variant-${opt.name}.rerender(data=event);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Sold out" : "Add to cart"; 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 `
Retail
` }()}
${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 { return `
` } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; 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}