${(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) ? `Save
` : '' }` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `from
` : `
` }
+${data.remainInvisibleThumbCount}
Add to cart
Add to cart
Choose an option
${variant.title}/
Sold out
` })()}
❤️Free Shipping Over $69 ❤️Global Shipping📦Supports PayPal & Credit Card🔒
❤️Free Shipping Over $69 ❤️Global Shipping📦Supports PayPal & Credit Card🔒
Airpears
Airpears
Log in
Create an account
${data.data && data.data.count}
New In
🌸Japanese Art
🦈Amazing Ocean
🐟Fish art
👗Dress
Vintage dress
Maxi & Midi Dress
Floral dress
Floral dress-2
Cherry Blossom Japanese Lino Art Linen Blend Maxi Dress
$28.99
Add to cart
Choose an option
Blue-S/
$28.99
Blue-M/
$28.99
Blue-L/
$28.99
Blue-XL/
$28.99
Blue-2XL/
$28.99
Blue-3XL/
$28.99
Blue-4XL/
$28.99
Blue-5XL/
$28.99
Black-S/
$28.99
Black-M/
$28.99
Black-L/
$28.99
Black-XL/
$28.99
Black-2XL/
$28.99
Black-3XL/
$28.99
Black-4XL/
$28.99
Black-5XL/
$28.99
Red-S/
$28.99
Red-M/
$28.99
Red-L/
$28.99
Red-XL/
$28.99
Red-2XL/
$28.99
Red-3XL/
$28.99
Red-4XL/
$28.99
Red-5XL/
$28.99
Farm
Washed T-Shirt
Pet prints
Cat
Dog
Jumpsuit
Ocean Jumpsuits
Farm jumpsuit
Bottoms-2
Christmas jumpsuit
Flying Bees Embroidered Linen Blend Jumpsuit
from
$17.99
+4
Add to cart
Choose an option
Green-S/
$31.99
Green-M/
$31.99
Green-L/
$31.99
Green-XL/
$31.99
Green-2XL/
$31.99
Green-3XL/
$31.99
Green-4XL/
$31.99
Green-5XL/
$31.99
Yellow-S/
$31.99
Yellow-M/
$31.99
Yellow-L/
$31.99
Yellow-XL/
$31.99
Yellow-2XL/
$31.99
Yellow-3XL/
$31.99
Yellow-4XL/
$31.99
Yellow-5XL/
$31.99
Blue-S/
$31.99
Blue-M/
$31.99
Blue-L/
$31.99
Blue-XL/
$31.99
Blue-2XL/
$31.99
Blue-3XL/
$31.99
Blue-4XL/
$31.99
Blue-5XL/
$31.99
top-1-S/
$31.99
top-1-M/
$31.99
top-1-L/
$31.99
top-1-XL/
$31.99
top-1-2XL/
$31.99
top-1-3XL/
$31.99
top-1-4XL/
$31.99
top-1-5XL/
$31.99
top-2-S/
$26.98
top-2-M/
$26.98
top-2-L/
$26.98
top-2-XL/
$26.98
top-2-2XL/
$26.98
top-2-3XL/
$26.98
top-2-4XL/
$26.98
top-2-5XL/
$26.98
top-3-S/
$17.99
top-3-M/
$17.99
top-3-L/
$17.99
top-3-XL/
$17.99
top-3-2XL/
$17.99
top-3-3XL/
$17.99
top-3-4XL/
$17.99
top-3-5XL/
$17.99
dress-S/
$34.99
dress-M/
$34.99
dress-L/
$34.99
dress-XL/
$34.99
dress-2XL/
$34.99
dress-3XL/
$34.99
dress-4XL/
$34.99
dress-5XL/
$34.99
🍁Autumn
Autumn
Fall & Winter
Vintage Art
Accessories
Tops
Hoodie
Sweater
Hat
💜Pansy
Bottom
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: 75127239, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127241, title: "\ud83c\udf38Japanese Art", url: "\/collections\/japanese-art", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127243, title: "\ud83e\udd88Amazing Ocean", url: "\/collections\/amazing-ocean", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127245, title: "\ud83d\udc1fFish art", url: "\/collections\/fish-art", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127247, title: "\ud83d\udc57Dress", url: "\/collections\/maxi-dress", target: "", levels: 1, product0: { id: ("430d2756-98d3-4d72-84fd-6b91dae96ec0") }, children: [ { title: "Vintage dress", url: "\/collections\/vintage-art-2", target: "", levels: 0, children: [ ] }, { title: "Maxi & Midi Dress", url: "\/collections\/maxi-dress", target: "", levels: 0, children: [ ] }, { title: "Floral dress", url: "\/collections\/floral-dress", target: "", levels: 0, children: [ ] }, { title: "Floral dress-2", url: "\/collections\/best-seller", target: "", levels: 0, children: [ ] }, ] }, { id: 75127257, title: "Farm", url: "\/collections\/farm", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127259, title: "Washed T-Shirt", url: "\/collections\/washed-t-shirt", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127261, title: "Pet prints", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Cat", url: "\/collections\/cat-prints", target: "", levels: 0, children: [ ] }, { title: "Dog", url: "\/collections\/muddy-paws", target: "", levels: 0, children: [ ] }, ] }, { id: 75127267, title: "Jumpsuit", url: "\/collections\/bottoms-2", target: "", levels: 1, product0: { id: ("da1f9590-4c89-4e6e-b1aa-d7cc7900c236") }, children: [ { title: " Ocean Jumpsuits", url: "\/collections\/ocean-jumpsuits", target: "", levels: 0, children: [ ] }, { title: "Farm jumpsuit", url: "\/collections\/farm", target: "", levels: 0, children: [ ] }, { title: "Bottoms-2", url: "\/collections\/bottoms-2", target: "", levels: 0, children: [ ] }, { title: "Christmas jumpsuit", url: "\/collections\/christmas-jumpsuit", target: "", levels: 0, children: [ ] }, ] }, { id: 75127277, title: "\ud83c\udf41Autumn", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Autumn", url: "\/collections\/autumn", target: "", levels: 0, children: [ ] }, { title: "Fall & Winter", url: "\/collections\/fall-winter", target: "", levels: 0, children: [ ] }, ] }, { id: 75127283, title: "Vintage Art", url: "\/collections\/vintage-art-2", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127285, title: "Accessories", url: "\/collections\/acc", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127287, title: " Tops", url: "\/collections\/tops", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127289, title: "Hoodie", url: "\/collections\/japanese-art-hoodie", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127291, title: "Sweater", url: "\/collections\/floral-art", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127293, title: "Hat", url: "\/collections\/hat", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127295, title: "\ud83d\udc9cPansy", url: "\/collections\/pansy", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127297, title: "Bottom", url: "\/collections\/bottom", 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}
` })()}
New In
🌸Japanese Art
🦈Amazing Ocean
🐟Fish art
👗Dress
Vintage dress
Maxi & Midi Dress
Floral dress
Floral dress-2
Cherry Blossom Japanese Lino Art Linen Blend Maxi Dress
$28.99
Add to cart
Choose an option
Blue-S/
$28.99
Blue-M/
$28.99
Blue-L/
$28.99
Blue-XL/
$28.99
Blue-2XL/
$28.99
Blue-3XL/
$28.99
Blue-4XL/
$28.99
Blue-5XL/
$28.99
Black-S/
$28.99
Black-M/
$28.99
Black-L/
$28.99
Black-XL/
$28.99
Black-2XL/
$28.99
Black-3XL/
$28.99
Black-4XL/
$28.99
Black-5XL/
$28.99
Red-S/
$28.99
Red-M/
$28.99
Red-L/
$28.99
Red-XL/
$28.99
Red-2XL/
$28.99
Red-3XL/
$28.99
Red-4XL/
$28.99
Red-5XL/
$28.99
Farm
Washed T-Shirt
Pet prints
Cat
Dog
Jumpsuit
Ocean Jumpsuits
Farm jumpsuit
Bottoms-2
Christmas jumpsuit
Flying Bees Embroidered Linen Blend Jumpsuit
from
$17.99
+4
Add to cart
Choose an option
Green-S/
$31.99
Green-M/
$31.99
Green-L/
$31.99
Green-XL/
$31.99
Green-2XL/
$31.99
Green-3XL/
$31.99
Green-4XL/
$31.99
Green-5XL/
$31.99
Yellow-S/
$31.99
Yellow-M/
$31.99
Yellow-L/
$31.99
Yellow-XL/
$31.99
Yellow-2XL/
$31.99
Yellow-3XL/
$31.99
Yellow-4XL/
$31.99
Yellow-5XL/
$31.99
Blue-S/
$31.99
Blue-M/
$31.99
Blue-L/
$31.99
Blue-XL/
$31.99
Blue-2XL/
$31.99
Blue-3XL/
$31.99
Blue-4XL/
$31.99
Blue-5XL/
$31.99
top-1-S/
$31.99
top-1-M/
$31.99
top-1-L/
$31.99
top-1-XL/
$31.99
top-1-2XL/
$31.99
top-1-3XL/
$31.99
top-1-4XL/
$31.99
top-1-5XL/
$31.99
top-2-S/
$26.98
top-2-M/
$26.98
top-2-L/
$26.98
top-2-XL/
$26.98
top-2-2XL/
$26.98
top-2-3XL/
$26.98
top-2-4XL/
$26.98
top-2-5XL/
$26.98
top-3-S/
$17.99
top-3-M/
$17.99
top-3-L/
$17.99
top-3-XL/
$17.99
top-3-2XL/
$17.99
top-3-3XL/
$17.99
top-3-4XL/
$17.99
top-3-5XL/
$17.99
dress-S/
$34.99
dress-M/
$34.99
dress-L/
$34.99
dress-XL/
$34.99
dress-2XL/
$34.99
dress-3XL/
$34.99
dress-4XL/
$34.99
dress-5XL/
$34.99
🍁Autumn
Autumn
Fall & Winter
Vintage Art
Accessories
Tops
Hoodie
Sweater
Hat
💜Pansy
Bottom
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: 75127239, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127241, title: "\ud83c\udf38Japanese Art", url: "\/collections\/japanese-art", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127243, title: "\ud83e\udd88Amazing Ocean", url: "\/collections\/amazing-ocean", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127245, title: "\ud83d\udc1fFish art", url: "\/collections\/fish-art", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127247, title: "\ud83d\udc57Dress", url: "\/collections\/maxi-dress", target: "", levels: 1, product0: { id: ("430d2756-98d3-4d72-84fd-6b91dae96ec0") }, children: [ { title: "Vintage dress", url: "\/collections\/vintage-art-2", target: "", levels: 0, children: [ ] }, { title: "Maxi & Midi Dress", url: "\/collections\/maxi-dress", target: "", levels: 0, children: [ ] }, { title: "Floral dress", url: "\/collections\/floral-dress", target: "", levels: 0, children: [ ] }, { title: "Floral dress-2", url: "\/collections\/best-seller", target: "", levels: 0, children: [ ] }, ] }, { id: 75127257, title: "Farm", url: "\/collections\/farm", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127259, title: "Washed T-Shirt", url: "\/collections\/washed-t-shirt", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127261, title: "Pet prints", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Cat", url: "\/collections\/cat-prints", target: "", levels: 0, children: [ ] }, { title: "Dog", url: "\/collections\/muddy-paws", target: "", levels: 0, children: [ ] }, ] }, { id: 75127267, title: "Jumpsuit", url: "\/collections\/bottoms-2", target: "", levels: 1, product0: { id: ("da1f9590-4c89-4e6e-b1aa-d7cc7900c236") }, children: [ { title: " Ocean Jumpsuits", url: "\/collections\/ocean-jumpsuits", target: "", levels: 0, children: [ ] }, { title: "Farm jumpsuit", url: "\/collections\/farm", target: "", levels: 0, children: [ ] }, { title: "Bottoms-2", url: "\/collections\/bottoms-2", target: "", levels: 0, children: [ ] }, { title: "Christmas jumpsuit", url: "\/collections\/christmas-jumpsuit", target: "", levels: 0, children: [ ] }, ] }, { id: 75127277, title: "\ud83c\udf41Autumn", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Autumn", url: "\/collections\/autumn", target: "", levels: 0, children: [ ] }, { title: "Fall & Winter", url: "\/collections\/fall-winter", target: "", levels: 0, children: [ ] }, ] }, { id: 75127283, title: "Vintage Art", url: "\/collections\/vintage-art-2", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127285, title: "Accessories", url: "\/collections\/acc", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127287, title: " Tops", url: "\/collections\/tops", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127289, title: "Hoodie", url: "\/collections\/japanese-art-hoodie", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127291, title: "Sweater", url: "\/collections\/floral-art", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127293, title: "Hat", url: "\/collections\/hat", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127295, title: "\ud83d\udc9cPansy", url: "\/collections\/pansy", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 75127297, title: "Bottom", url: "\/collections\/bottom", 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}
` })()}
Airpears
Airpears
Log in
Create an account
${data.data && data.data.count}
${(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.
` })()}
New In
🌸Japanese Art
🦈Amazing Ocean
🐟Fish art
👗Dress
👗Dress
Vintage dress
Maxi & Midi Dress
Floral dress
Floral dress-2
Farm
Washed T-Shirt
Pet prints
Pet prints
Cat
Dog
Jumpsuit
Jumpsuit
Ocean Jumpsuits
Farm jumpsuit
Bottoms-2
Christmas jumpsuit
🍁Autumn
🍁Autumn
Autumn
Fall & Winter
Vintage Art
Accessories
Tops
Hoodie
Sweater
Hat
💜Pansy
Bottom
Log in
(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(); })();
Intellectual Property Rights
Cart
Your shopping bag is empty
Continue shopping
${item.product_title}
${item.options.map(option => option.value).join('/')}
${propertie.name}/${propertie.isImage ? `
View image
` : propertie.value}
Free gift
Mixed Lot
*${item.quantity}
${item.item_text}
${discount_item.title}
(-
)
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
${data.invalid_msg}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
Check out
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
Subtotal:
${discount_application.title}:
-
Total:
Check out
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
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) { 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)) ? "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 { 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}