${(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}
` })()}
🔥Buy 2 Get 10% OFF
Free worldwide shipping - Over $79+
🔥Buy 2 Get 10% OFF
Free worldwide shipping - Over $79+
Log in
Create an account
${data.data && data.data.count}
New In
Best Selling
🌴Vacation
🌊Tankini
Linen Shirt
Theme
Floral
Japanese
Cat
Dragonfly
Butterfly
Farm
Dog
Denim
Bird
Fish
Ocean
Save
$18.86
Save
$18.86
Art Floral Print Casual T-Shirt
$21.99
$40.85
Tops
Dresses
Midi Dress
Floral Dress
Women's Vintage Floral Art Print Casual Flowy Dress
$32.99
Bottoms
Jumpsuit
Fashion Trending
Casual Top
Basic Style
Cotton & Linen
Ethnic Style Beaded Necklace
$14.99
Independence Day
ACC
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: 80201521, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201523, title: "Best Selling", url: "\/collections\/best-selling", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201525, title: "\ud83c\udf34Vacation", url: "\/collections\/vacation", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201527, title: "\ud83c\udf0aTankini", url: "\/collections\/tankini", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201529, title: "Linen Shirt", url: "\/collections\/linen-shirt", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201531, title: "Theme", url: "\/collections\/theme", target: "", levels: 1, product0: { id: ("39fb3fb7-21e7-4a61-b91b-3f37c74eee11") }, children: [ { title: "Floral", url: "\/collections\/floral", target: "", levels: 0, children: [ ] }, { title: "Japanese", url: "\/collections\/japanese-art", target: "", levels: 0, children: [ ] }, { title: " Cat", url: "\/collections\/cat", target: "", levels: 0, children: [ ] }, { title: "Dragonfly", url: "\/collections\/dragonfly", target: "", levels: 0, children: [ ] }, { title: "Butterfly", url: "\/collections\/butterfly", target: "", levels: 0, children: [ ] }, { title: "Farm", url: "\/collections\/happy-farm", target: "", levels: 0, children: [ ] }, { title: "Dog", url: "\/collections\/dog", target: "", levels: 0, children: [ ] }, { title: "Denim", url: "\/collections\/denim", target: "", levels: 0, children: [ ] }, { title: "Bird", url: "\/collections\/bird", target: "", levels: 0, children: [ ] }, { title: "Fish", url: "\/collections\/fish", target: "", levels: 0, children: [ ] }, { title: "Ocean", url: "\/collections\/ocean", target: "", levels: 0, children: [ ] }, ] }, { id: 80201555, title: " Tops", url: "\/collections\/top", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201557, title: "Dresses", url: "\/collections\/dresses", target: "", levels: 1, product0: { id: ("0027f930-df16-4eee-8db2-936c5f32800a") }, children: [ { title: "Midi Dress", url: "\/collections\/midi-dress", target: "", levels: 0, children: [ ] }, { title: "Floral Dress", url: "\/collections\/floral-dress", target: "", levels: 0, children: [ ] }, ] }, { id: 80201563, title: "Bottoms", url: "\/collections\/bottoms", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201565, title: "Jumpsuit", url: "\/collections\/jumpsuit", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201567, title: "Fashion Trending", url: "\/collections\/fashion-trending", target: "", levels: 1, product0: { id: ("76e5ec7c-9abe-431f-9a0b-fd50a86999e1") }, children: [ { title: "Casual Top", url: "\/collections\/casual-top", target: "", levels: 0, children: [ ] }, { title: "Basic Style", url: "\/collections\/basic-style", target: "", levels: 0, children: [ ] }, { title: "Cotton & Linen", url: "\/collections\/cotton-linen", target: "", levels: 0, children: [ ] }, ] }, { id: 80201575, title: "Independence Day", url: "\/collections\/independence-day", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201577, title: "ACC", url: "\/collections\/acc", 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
Best Selling
🌴Vacation
🌊Tankini
Linen Shirt
Theme
Floral
Japanese
Cat
Dragonfly
Butterfly
Farm
Dog
Denim
Bird
Fish
Ocean
Save
$18.86
Save
$18.86
Art Floral Print Casual T-Shirt
$21.99
$40.85
Tops
Dresses
Midi Dress
Floral Dress
Women's Vintage Floral Art Print Casual Flowy Dress
$32.99
Bottoms
Jumpsuit
Fashion Trending
Casual Top
Basic Style
Cotton & Linen
Ethnic Style Beaded Necklace
$14.99
Independence Day
ACC
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: 80201521, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201523, title: "Best Selling", url: "\/collections\/best-selling", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201525, title: "\ud83c\udf34Vacation", url: "\/collections\/vacation", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201527, title: "\ud83c\udf0aTankini", url: "\/collections\/tankini", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201529, title: "Linen Shirt", url: "\/collections\/linen-shirt", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201531, title: "Theme", url: "\/collections\/theme", target: "", levels: 1, product0: { id: ("39fb3fb7-21e7-4a61-b91b-3f37c74eee11") }, children: [ { title: "Floral", url: "\/collections\/floral", target: "", levels: 0, children: [ ] }, { title: "Japanese", url: "\/collections\/japanese-art", target: "", levels: 0, children: [ ] }, { title: " Cat", url: "\/collections\/cat", target: "", levels: 0, children: [ ] }, { title: "Dragonfly", url: "\/collections\/dragonfly", target: "", levels: 0, children: [ ] }, { title: "Butterfly", url: "\/collections\/butterfly", target: "", levels: 0, children: [ ] }, { title: "Farm", url: "\/collections\/happy-farm", target: "", levels: 0, children: [ ] }, { title: "Dog", url: "\/collections\/dog", target: "", levels: 0, children: [ ] }, { title: "Denim", url: "\/collections\/denim", target: "", levels: 0, children: [ ] }, { title: "Bird", url: "\/collections\/bird", target: "", levels: 0, children: [ ] }, { title: "Fish", url: "\/collections\/fish", target: "", levels: 0, children: [ ] }, { title: "Ocean", url: "\/collections\/ocean", target: "", levels: 0, children: [ ] }, ] }, { id: 80201555, title: " Tops", url: "\/collections\/top", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201557, title: "Dresses", url: "\/collections\/dresses", target: "", levels: 1, product0: { id: ("0027f930-df16-4eee-8db2-936c5f32800a") }, children: [ { title: "Midi Dress", url: "\/collections\/midi-dress", target: "", levels: 0, children: [ ] }, { title: "Floral Dress", url: "\/collections\/floral-dress", target: "", levels: 0, children: [ ] }, ] }, { id: 80201563, title: "Bottoms", url: "\/collections\/bottoms", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201565, title: "Jumpsuit", url: "\/collections\/jumpsuit", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201567, title: "Fashion Trending", url: "\/collections\/fashion-trending", target: "", levels: 1, product0: { id: ("76e5ec7c-9abe-431f-9a0b-fd50a86999e1") }, children: [ { title: "Casual Top", url: "\/collections\/casual-top", target: "", levels: 0, children: [ ] }, { title: "Basic Style", url: "\/collections\/basic-style", target: "", levels: 0, children: [ ] }, { title: "Cotton & Linen", url: "\/collections\/cotton-linen", target: "", levels: 0, children: [ ] }, ] }, { id: 80201575, title: "Independence Day", url: "\/collections\/independence-day", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 80201577, title: "ACC", url: "\/collections\/acc", 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.
` })()}
New In
Best Selling
🌴Vacation
🌊Tankini
Linen Shirt
Theme
Theme
Floral
Japanese
Cat
Dragonfly
Butterfly
Farm
Dog
Denim
Bird
Fish
Ocean
Tops
Dresses
Dresses
Midi Dress
Floral Dress
Bottoms
Jumpsuit
Fashion Trending
Fashion Trending
Casual Top
Basic Style
Cotton & Linen
Independence Day
ACC
Log in
Create an account
(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(); })();
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
` }()}
🔥BEST SELLING
Save
$18.86
Save
$18.86
Art Floral Print Casual T-Shirt
$21.99
$40.85
3D Floral Embroidered Lace Linen Blend Maxi Dress
$33.99
Save
$26.01
Save
$26.01
Cottage Floral Embroidered Lace Hem Linen Blend Tunic
$27.99
$54.00
Save
$24.01
Save
$24.01
Cottage Floral Embroidered Lace Hem Linen Blend Cropped Pants
$25.99
$50.00
Save
$28.01
Save
$28.01
Cottage Floral Embroidered Lace Hem Linen Blend Maxi Dress
$29.99
$58.00
Diamond Floral Embroidered Lace Linen Blend Maxi Dress
$28.99
Save
$23.01
Save
$23.01
Vintage Floral Lace Embroidered Linen Blend Tunic
$24.99
$48.00
Cotton V-neck long sleeve vintage floral print top
$25.99
Save
$18.86
Save
$18.86
Art Floral Print Casual T-Shirt
$21.99
$40.85
3D Floral Embroidered Lace Linen Blend Maxi Dress
$33.99
Save
$26.01
Save
$26.01
Cottage Floral Embroidered Lace Hem Linen Blend Tunic
$27.99
$54.00
Save
$24.01
Save
$24.01
Cottage Floral Embroidered Lace Hem Linen Blend Cropped Pants
$25.99
$50.00
Save
$28.01
Save
$28.01
Cottage Floral Embroidered Lace Hem Linen Blend Maxi Dress
$29.99
$58.00
Diamond Floral Embroidered Lace Linen Blend Maxi Dress
$28.99
View more
Tankini
V-neck Vintage Thread Flower Print Suspender Skirt Tankini Pantskirt Set Swimsuit
from
$21.99
Multi-colored Cartoon Puppy V-Neck Ripple Print Suspender Skirt Tankini Pantskirt Set Swimsuit
$40.99
V-Neck Flowers Print Halterneck Pleated Tankini Set Swimsuit
from
$21.99
Retro Colorful Flowers Print Pleated Drawstring V-neck Tankini Pantskirt Set Swimsuit
from
$21.99
V-Neck Vintage Multicolor Hippie Peace Floral Art Print Suspender Skirt Tankini Pantskirt Set Swimsuit
from
$21.99
V-Neck Brown Flower Print Suspender Skirt Tankini Pantskirt Set Swimsuit
from
$28.99
V-neck Vintage Pattern Water Ripple Print Suspender Skirt Tankini Pantskirt Set Swimsuit
$40.99
Retro Pattern V-Neck Vintage Flowers Print Suspender Skirt Tankini Pantskirt Set Swimsuit
from
$22.99
V-neck Vintage Thread Flower Print Suspender Skirt Tankini Pantskirt Set Swimsuit
from
$21.99
Multi-colored Cartoon Puppy V-Neck Ripple Print Suspender Skirt Tankini Pantskirt Set Swimsuit
$40.99
V-Neck Flowers Print Halterneck Pleated Tankini Set Swimsuit
from
$21.99
Retro Colorful Flowers Print Pleated Drawstring V-neck Tankini Pantskirt Set Swimsuit
from
$21.99
V-Neck Vintage Multicolor Hippie Peace Floral Art Print Suspender Skirt Tankini Pantskirt Set Swimsuit
from
$21.99
V-Neck Brown Flower Print Suspender Skirt Tankini Pantskirt Set Swimsuit
from
$28.99
View more
New In
Save
$30.24
Save
$30.24
Women's Vintage Floral Art Print Casual Cotton Linen Shirt
$28.07
$58.31
Save
$30.24
Save
$30.24
Women's Japanese Art Fish Print Casual Cotton Linen Shirt
$28.07
$58.31
Save
$30.24
Save
$30.24
Women's Elegant Floral Print Casual Cotton Linen Casual Shirt
$28.07
$58.31
Save
$30.24
Save
$30.24
Women's Retro Floral Print Casual Cotton Linen Casual Shirt
$28.07
$58.31
Save
$30.24
Save
$30.24
Women's Retro Floral Print Casual Cotton Linen Casual Shirt
$28.07
$58.31
Save
$30.24
Save
$30.24
Women's Sunflower Print Casual Cotton Linen Casual Shirt
$28.07
$58.31
Save
$30.24
Save
$30.24
Women's Heart Floral Print Casual Cotton Linen Casual Shirt
$28.07
$58.31
Save
$7.00
Save
$7.00
Women's Retro floral patchwork Art Print V-Neck Casual T-Shirt
$22.99
$29.99
Save
$30.24
Save
$30.24
Women's Vintage Floral Art Print Casual Cotton Linen Shirt
$28.07
$58.31
Save
$30.24
Save
$30.24
Women's Japanese Art Fish Print Casual Cotton Linen Shirt
$28.07
$58.31
Save
$30.24
Save
$30.24
Women's Elegant Floral Print Casual Cotton Linen Casual Shirt
$28.07
$58.31
Save
$30.24
Save
$30.24
Women's Retro Floral Print Casual Cotton Linen Casual Shirt
$28.07
$58.31
View more
ACC
Vintage Earrings
$4.86
Cat Printed Socks
$6.99
Save
$1.20
Save
$1.20
Vintage earrings
$4.78
$5.98
Western Vintage Heart Beaded Leather Rope Necklace Sweater Chain Boho Ethnic Jewelry
$8.99
Save
$4.30
Save
$4.30
Vintage Dragonfly Glass Earrings
$6.99
$11.29
Bohemian retro flower earrings
$4.35
Vintage earrings
$4.08
Boho Vacation Wedding Opal Moonstone Leaf Earrings
$5.99
Vintage Earrings
$4.86
Cat Printed Socks
$6.99
Save
$1.20
Save
$1.20
Vintage earrings
$4.78
$5.98
Western Vintage Heart Beaded Leather Rope Necklace Sweater Chain Boho Ethnic Jewelry
$8.99
Save
$4.30
Save
$4.30
Vintage Dragonfly Glass Earrings
$6.99
$11.29
Bohemian retro flower earrings
$4.35
View more
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}
(-
)
${(function(){ var total_price = data.total_price; var postageFreeAmount = 79; var freeAmount = postageFreeAmount - total_price; var isFreeShipping = freeAmount <= 0; var rate = Math.min(total_price / postageFreeAmount * 100, 100).toFixed(2); const textArray = ("Spend {{ amount }} more and get free shipping!").split(/\{\{\s*amount\s*\}\}/); const textArrayHtml = textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); return `
${textArrayHtml}
You've got free shipping
${rate}%
` })()}
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
${(function(){ var total_price = data.total_price; var postageFreeAmount = 79; var freeAmount = postageFreeAmount - total_price; var isFreeShipping = freeAmount <= 0; var rate = Math.min(total_price / postageFreeAmount * 100, 100).toFixed(2); const textArray = ("Spend {{ amount }} more and get free shipping!").split(/\{\{\s*amount\s*\}\}/); const textArrayHtml = textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); return `
${textArrayHtml}
You've got free shipping
${rate}%
` })()}
${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 + `@${nameEscape}Mouseout="quick-shop-selected-variant-${opt.id}.rerender(data=event.selectData.${opt.name}, redo=true);"`; mouse_over_event = mouse_over_event + `@${nameEscape}Mouseover="quick-shop-selected-variant-${opt.id}.rerender(data=event, redo=true);"`; } 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}