${(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}
` })()}
Free shipping on order of $69+/10% off code:EL10
Free shipping on order of $69+/10% off code:EL10
Log in
Create an account
${data.data && data.data.count}
Home
Hot Sale
New Arrivals
Icelandic Sweater
Aran Sweater
Wool Dress
Men's
Vintage Fairman Island Knit Jacquard Crew Neck Sweater
$30.99
Cute Cats
Cool Cats
Japanese Art Black Cat Print Washed Hat
$12.99
+4
Scotland Travel
Merry Christmas
Natural Wildflower
Floral lovers
Flying Cranes
Violet Wildflower Embroidery Art Cozy Hooded Cardigan
$35.99
Lovely Dogs
Ocean
Japanese Art
Femkit
Horror Style
Beetlejuice
Horror Movie
Horror Movie Striped Print Crew Neck Sweatshirt
$23.99
Grizzly 399
Vintage Sweater
La Catrina Day
Linen Style
Tribal style
Happy Farm
Insects
Daisy Bee Embroidery Art Print Cozy Knit Hooded Cardigan
$35.99
Mental Health
Breast Cancer Prevention Awareness
Stranger Things
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: 72034609, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034611, title: "Hot Sale", url: "\/collections\/hot-sale", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034613, title: "New Arrivals", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034615, title: "Icelandic Sweater", url: "\/collections\/icelandic-sweater", target: "", levels: 1, product0: { id: ("df97372e-5523-4d72-b0c3-7d825a30cc44") }, children: [ { title: "Aran Sweater", url: "\/collections\/aran-sweater", target: "", levels: 0, children: [ ] }, { title: "Wool Dress", url: "\/collections\/wool-dress", target: "", levels: 0, children: [ ] }, { title: "Men's", url: "\/collections\/mens-p2c7", target: "", levels: 0, children: [ ] }, ] }, { id: 72034623, title: " Cute Cats", url: "\/collections\/cute-cats", target: "", levels: 1, product0: { id: ("36adc665-89cc-44f7-8c9e-af9bcb256ffd") }, children: [ { title: " Cool Cats", url: "\/collections\/cool-cats", target: "", levels: 0, children: [ ] }, ] }, { id: 72034627, title: "Scotland Travel", url: "\/collections\/scotland-travel", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034629, title: "Merry Christmas", url: "\/collections\/merry-christmas", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034631, title: "Natural Wildflower", url: "\/collections\/natural-wildflower", target: "", levels: 1, product0: { id: ("607eb4db-1b48-402a-9862-ffc2069bc229") }, children: [ { title: "Floral lovers", url: "\/collections\/floral-lovers", target: "", levels: 0, children: [ ] }, { title: "Flying Cranes", url: "\/collections\/flying-cranes", target: "", levels: 0, children: [ ] }, ] }, { id: 72034637, title: "Lovely Dogs", url: "\/collections\/lovely-dogs", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034639, title: " Ocean", url: "\/collections\/ocean", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034641, title: "Japanese Art", url: "\/collections\/japanese-art", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034643, title: "Femkit", url: "\/collections\/femkit", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034645, title: "Horror Style", url: "\/collections\/halloween", target: "", levels: 1, product0: { id: ("82dd782f-e363-477f-9d7e-4724ab046130") }, children: [ { title: "Beetlejuice", url: "\/collections\/beetlejuice", target: "", levels: 0, children: [ ] }, { title: "Horror Movie ", url: "\/collections\/horror-style", target: "", levels: 0, children: [ ] }, ] }, { id: 72034651, title: "Grizzly 399", url: "\/collections\/grizzly-399", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034653, title: "Vintage Sweater", url: "\/collections\/vintage-sweater", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034655, title: "La Catrina Day", url: "\/collections\/la-catrina-day", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034657, title: " Linen Style", url: "\/collections\/linen-style", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034659, title: "Tribal style", url: "\/collections\/elven-style", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034661, title: "Happy Farm", url: "\/collections\/happy-farm", target: "", levels: 1, product0: { id: ("e5b2f6ce-70e9-4e32-9c01-5f65ba5a61e0") }, children: [ { title: " Insects", url: "\/collections\/insects", target: "", levels: 0, children: [ ] }, ] }, { id: 72034665, title: "Mental Health", url: "\/collections\/mental-health", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034667, title: "Breast Cancer Prevention Awareness", url: "\/collections\/breast-cancer-prevention-awareness", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034669, title: "Stranger Things", url: "\/collections\/stranger-things", 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}
` })()}
Home
Hot Sale
New Arrivals
Icelandic Sweater
Aran Sweater
Wool Dress
Men's
Vintage Fairman Island Knit Jacquard Crew Neck Sweater
$30.99
Cute Cats
Cool Cats
Japanese Art Black Cat Print Washed Hat
$12.99
+4
Scotland Travel
Merry Christmas
Natural Wildflower
Floral lovers
Flying Cranes
Violet Wildflower Embroidery Art Cozy Hooded Cardigan
$35.99
Lovely Dogs
Ocean
Japanese Art
Femkit
Horror Style
Beetlejuice
Horror Movie
Horror Movie Striped Print Crew Neck Sweatshirt
$23.99
Grizzly 399
Vintage Sweater
La Catrina Day
Linen Style
Tribal style
Happy Farm
Insects
Daisy Bee Embroidery Art Print Cozy Knit Hooded Cardigan
$35.99
Mental Health
Breast Cancer Prevention Awareness
Stranger Things
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: 72034609, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034611, title: "Hot Sale", url: "\/collections\/hot-sale", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034613, title: "New Arrivals", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034615, title: "Icelandic Sweater", url: "\/collections\/icelandic-sweater", target: "", levels: 1, product0: { id: ("df97372e-5523-4d72-b0c3-7d825a30cc44") }, children: [ { title: "Aran Sweater", url: "\/collections\/aran-sweater", target: "", levels: 0, children: [ ] }, { title: "Wool Dress", url: "\/collections\/wool-dress", target: "", levels: 0, children: [ ] }, { title: "Men's", url: "\/collections\/mens-p2c7", target: "", levels: 0, children: [ ] }, ] }, { id: 72034623, title: " Cute Cats", url: "\/collections\/cute-cats", target: "", levels: 1, product0: { id: ("36adc665-89cc-44f7-8c9e-af9bcb256ffd") }, children: [ { title: " Cool Cats", url: "\/collections\/cool-cats", target: "", levels: 0, children: [ ] }, ] }, { id: 72034627, title: "Scotland Travel", url: "\/collections\/scotland-travel", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034629, title: "Merry Christmas", url: "\/collections\/merry-christmas", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034631, title: "Natural Wildflower", url: "\/collections\/natural-wildflower", target: "", levels: 1, product0: { id: ("607eb4db-1b48-402a-9862-ffc2069bc229") }, children: [ { title: "Floral lovers", url: "\/collections\/floral-lovers", target: "", levels: 0, children: [ ] }, { title: "Flying Cranes", url: "\/collections\/flying-cranes", target: "", levels: 0, children: [ ] }, ] }, { id: 72034637, title: "Lovely Dogs", url: "\/collections\/lovely-dogs", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034639, title: " Ocean", url: "\/collections\/ocean", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034641, title: "Japanese Art", url: "\/collections\/japanese-art", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034643, title: "Femkit", url: "\/collections\/femkit", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034645, title: "Horror Style", url: "\/collections\/halloween", target: "", levels: 1, product0: { id: ("82dd782f-e363-477f-9d7e-4724ab046130") }, children: [ { title: "Beetlejuice", url: "\/collections\/beetlejuice", target: "", levels: 0, children: [ ] }, { title: "Horror Movie ", url: "\/collections\/horror-style", target: "", levels: 0, children: [ ] }, ] }, { id: 72034651, title: "Grizzly 399", url: "\/collections\/grizzly-399", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034653, title: "Vintage Sweater", url: "\/collections\/vintage-sweater", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034655, title: "La Catrina Day", url: "\/collections\/la-catrina-day", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034657, title: " Linen Style", url: "\/collections\/linen-style", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034659, title: "Tribal style", url: "\/collections\/elven-style", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034661, title: "Happy Farm", url: "\/collections\/happy-farm", target: "", levels: 1, product0: { id: ("e5b2f6ce-70e9-4e32-9c01-5f65ba5a61e0") }, children: [ { title: " Insects", url: "\/collections\/insects", target: "", levels: 0, children: [ ] }, ] }, { id: 72034665, title: "Mental Health", url: "\/collections\/mental-health", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034667, title: "Breast Cancer Prevention Awareness", url: "\/collections\/breast-cancer-prevention-awareness", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 72034669, title: "Stranger Things", url: "\/collections\/stranger-things", 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}
` })()}
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.
` })()}
Home
Hot Sale
New Arrivals
Icelandic Sweater
Icelandic Sweater
Aran Sweater
Wool Dress
Men's
Cute Cats
Cute Cats
Cool Cats
Scotland Travel
Merry Christmas
Natural Wildflower
Natural Wildflower
Floral lovers
Flying Cranes
Lovely Dogs
Ocean
Japanese Art
Femkit
Horror Style
Horror Style
Beetlejuice
Horror Movie
Grizzly 399
Vintage Sweater
La Catrina Day
Linen Style
Tribal style
Happy Farm
Happy Farm
Insects
Mental Health
Breast Cancer Prevention Awareness
Stranger Things
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(); })();
Insects
588 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Vintage Dragonfly Printed Comfy Casual Shirt
$28.99
Women‘s Farm Dragonfly Cozy Linen Blend V Neck Tunic
$20.99
Women's Dragonfly Art Cozy Linen Maxi Dress
$32.99
Retro Simple Dragonfly Round Earrings
$5.99
Women's Vintage Dragonfly Cozy Linen Blend Tunic
$23.99
Women‘s Farm Dragonfly Cozy Linen Blend Pants
$26.99
Vintage Dragonfly Linen Blend Loose Casual Jumpsuit
$32.99
Vintage Two Tone Dragonfly Ring
$3.99
Golden Insects Embroidery Cozy Knit Sweater
$27.99
Flying Bees Embroidery Pattern Casual Jumpsuit
$33.99
Golden Bees Pattern Linen Blend Jumpsuit
$33.99
Daisy Bee Embroidery Art Print Casual Shirt
$32.99
Women‘s Bee And Floral Pocket Linen Blend Pants
$30.99
Women‘s Farm Dragonfly And Floral Linen Blend Maxi Dress
$34.99
Women‘s Farm Dragonfly And Bee Linen Blend Maxi Dress
$34.99
Flying Bees Embroidery Art Print Casual Midi Dress
$32.99
Men's Farm Dragonfly Art Button Down Cotton Linen Shirt
$34.99
Japanese Glam Dragonflies Art Linen Blend Casual Dress
$32.99
Japanese Dragonfly Sky Art Linen Blend Casual Dress
$32.99
Japanese Sashiko Dragonflies Art Linen Blend Casual Dress
$32.99
Japanese Rainbow Dragonfly Art Linen Blend Casual Dress
$32.99
Cozy Floral Bee Butterfly Graphics Linen Blend Comfy Maxi Dress
$30.99
Women's Dragonfly Print Casual Shirt
$27.99
+6
Bee Art Print Vintage Short Sleeve T-Shirt
$18.99
Women's Casual Watercolor Dragonfly Tree Cotton Blend Print T-shirt
$18.99
Women's Casual Watercolor Dragonfly Cotton Blend Print T-shirt
$18.99
Women's Casual Watercolor Dragonfly Tree Cotton Blend Print T-shirt
$27.99
Women's Casual Watercolor Dragonfly Tree Cotton Blend Print Vest
$18.99
Women's Casual Watercolor Dragonfly Tree Cotton Blend Print T-shirt
$27.99
+2
Women's Casual Watercolor Dragonfly Cotton Blend Print T-shirt
$27.99
Women's Watercolor Dragonfly Print Casual Shirt
$27.99
Women's Watercolor Dragonfly Print Casual Shirt
$27.99
Vintage Dragonfly Cotton Blend T-Shirt
$18.99
Women's Casual Watercolor Dragonfly Cotton Blend Print Vest
$18.99
Women's Gradient Dragonfly Print Casual Shirt
$27.99
Women's Casual Watercolor Dragonfly Cotton Blend Print T-shirt
$18.99
Vintage Dragonfly Cotton Blend T-Shirt
$18.99
Dragonfly Like A Flower Bouquet Cotton Blend T-Shirt
$18.99
Vintage Dragonfly Cotton Blend T-Shirt
$18.99
Women's Dragonfly Garden Print Casual Shirt
$27.99
Vintage Dragonfly Like A Flower Bouquet Cotton Blend T-Shirt
$18.99
Women's Dragonfly Print Casual Shirt
$27.99
Women's Casual Watercolor Dragonfly Cotton Blend Print T-shirt3
$27.99
Women's Casual Watercolor Dragonfly Cotton Blend Print T-shirt
$27.99
Women's Casual Watercolor Dragonfly Cotton Blend Print T-shirt
$27.99
Women's Dragonfly Print Casual Shirt
$27.99
Women's Casual Watercolor Dragonfly Cotton Blend Print T-shirt
$27.99
Women's Floral Dragonfly Print Casual Shirt
$27.99
Women's Casual Watercolor Dragonfly Cotton Blend Print T-shirt
$27.99
Bees & Daisies Fringe Embroidered Jumpsuit
$29.99
Purple Floral Butterfly Print Cozy Knit Sweater
$23.99
Daisy Bee Embroidery Art Print Tunic
$18.99
Women‘s Farm Butterfly Cozy Linen Blend Tunic
$20.99
Women‘s Farm Bee Pocket Casual Linen Blend Pants
$22.99
Cozy Floral Bee Embroidery Art Linen Blend Comfy Maxi Dress
$30.99
Print Casual T-Shirt
$22.99
Women's Casual Watercolor Dragonfly Tree Cotton Blend Print T-shirt
$27.99
Dragonflies & Ripples Japanese Art Linen Blend Maxi Dress
$32.99
Dragonfly Floral Lace Fiber Art Gradient Linen Blend Tunic
$23.99
Dragonflies Floral Lace Fiber Art Linen Blend Tunic
$23.99
No products found
Use fewer filters or
clear all
Recently Viewed
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) { 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 { 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 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}