${(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 Over $69
Free Shipping on Order Over $69
Log in
Create an account
${data.data && data.data.count}
Home
Classic Linen& Cottom
Dresses
Bottoms
Shirts
Save
$27.78
Save
$27.78
Simple Waist Embroidery Mid -sleeved Dress
$37.22
$65.00
Spring & Summer
Summer Wardrobe
Linen & Cotton
Linen Jumpsuit
Vintage Linen Dresses
Backless Dresses
Chic Two-Piece Set
Midi Dresses
Mini Dresses
Save
$37.51
Save
$37.51
Chic slit casual two-piece set
$56.79
$94.30
Hoodie & Sweatshirt
Women's Hoodies & Tees
Men's Hoodies & Tees
Merry Christmas
Save
$0.70
Save
$0.70
Alphabet Knit Tube Socks
$4.86
$5.56
+1
Autumn & Winter
Split Knitted Dresses
Mini Sweater Dresses
Coat
Tops
Bottoms
Jeans
Save
$39.28
Save
$39.28
Casual One Size Split Sweater Dress
$58.32
$97.60
+3
Delicate Accessories
Woven bags
Scarfs & Socks
Necklaces
Earrings
Rings
Save
$16.23
Save
$16.23
Party Vintage Pearl Multilayer Necklace Clavicle Chain
$34.87
$51.10
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: 58906725, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 58906727, title: "Classic Linen& Cottom", url: "\/collections\/flat-lay", target: "", levels: 1, product0: { id: ("04669338-b0a9-44be-8ea9-0bd7cf6ef20e") }, children: [ { title: "Dresses", url: "\/collections\/flat-lay-dresses", target: "", levels: 0, children: [ ] }, { title: "Bottoms", url: "\/collections\/flat-lay-skirts", target: "", levels: 0, children: [ ] }, { title: "Shirts", url: "\/collections\/flat-lay-tops", target: "", levels: 0, children: [ ] }, ] }, { id: 58906735, title: "Spring & Summer", url: "\/collections\/2024-spring-summer", target: "", levels: 1, product0: { id: ("f08a6975-355a-4e15-bfb7-7c0ecb2fc3d5") }, children: [ { title: "Summer Wardrobe", url: "\/collections\/summer-wardrobe", target: "", levels: 0, children: [ ] }, { title: "Linen & Cotton", url: "\/collections\/linen-cotton", target: "", levels: 0, children: [ ] }, { title: "Linen Jumpsuit", url: "\/collections\/linen-jumpsuit", target: "", levels: 0, children: [ ] }, { title: "Vintage Linen Dresses", url: "\/collections\/vintage-linen-dresses", target: "", levels: 0, children: [ ] }, { title: "Backless Dresses", url: "\/collections\/best-seller", target: "", levels: 0, children: [ ] }, { title: "Chic Two-Piece Set", url: "\/collections\/chic-two-piece-set", target: "", levels: 0, children: [ ] }, { title: "Midi Dresses", url: "\/collections\/chic-backless-dresses-sets", target: "", levels: 0, children: [ ] }, { title: "Mini Dresses", url: "\/collections\/mini-dress", target: "", levels: 0, children: [ ] }, ] }, { id: 58906753, title: "Hoodie & Sweatshirt", url: "\/collections\/hoodie-sweatshirt", target: "", levels: 1, product0: { id: ("eae79edb-d71e-4413-81d6-dfcd0f136058") }, children: [ { title: "Women's Hoodies & Tees", url: "\/collections\/womens-hoodies-tees", target: "", levels: 0, children: [ ] }, { title: "Men's Hoodies & Tees", url: "\/collections\/mens-hoodies-tees", target: "", levels: 0, children: [ ] }, { title: "Merry Christmas", url: "\/collections\/merry-christmas", target: "", levels: 0, children: [ ] }, ] }, { id: 58906761, title: "Autumn & Winter", url: "\/collections\/split-casual-knitted-dresses", target: "", levels: 1, product0: { id: ("93e6d8c5-49cc-4150-a9c0-5b852e59576c") }, children: [ { title: "Split Knitted Dresses", url: "\/collections\/split-casual-knitted-dresses", target: "", levels: 0, children: [ ] }, { title: "Mini Sweater Dresses ", url: "\/collections\/mini-sweater-dresses", target: "", levels: 0, children: [ ] }, { title: "Coat", url: "\/collections\/coat", target: "", levels: 0, children: [ ] }, { title: "Tops", url: "\/collections\/cozy-tops", target: "", levels: 0, children: [ ] }, { title: "Bottoms", url: "\/collections\/winter-pants", target: "", levels: 0, children: [ ] }, { title: "Jeans", url: "\/collections\/jeans", target: "", levels: 0, children: [ ] }, ] }, { id: 58906775, title: "Delicate Accessories", url: "\/collections\/delicate-accessories", target: "", levels: 1, product0: { id: ("4f92b59d-0252-46bf-a9f7-142469af8c48") }, children: [ { title: "Woven bags", url: "\/collections\/woven-accessories", target: "", levels: 0, children: [ ] }, { title: "Scarfs & Socks", url: "\/collections\/scarfs-socks", target: "", levels: 0, children: [ ] }, { title: "Necklaces", url: "\/collections\/necklaces", target: "", levels: 0, children: [ ] }, { title: "Earrings", url: "\/collections\/earrings", target: "", levels: 0, children: [ ] }, { title: "Rings", url: "\/collections\/rings", target: "", levels: 0, 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
Classic Linen& Cottom
Dresses
Bottoms
Shirts
Save
$27.78
Save
$27.78
Simple Waist Embroidery Mid -sleeved Dress
$37.22
$65.00
Spring & Summer
Summer Wardrobe
Linen & Cotton
Linen Jumpsuit
Vintage Linen Dresses
Backless Dresses
Chic Two-Piece Set
Midi Dresses
Mini Dresses
Save
$37.51
Save
$37.51
Chic slit casual two-piece set
$56.79
$94.30
Hoodie & Sweatshirt
Women's Hoodies & Tees
Men's Hoodies & Tees
Merry Christmas
Save
$0.70
Save
$0.70
Alphabet Knit Tube Socks
$4.86
$5.56
+1
Autumn & Winter
Split Knitted Dresses
Mini Sweater Dresses
Coat
Tops
Bottoms
Jeans
Save
$39.28
Save
$39.28
Casual One Size Split Sweater Dress
$58.32
$97.60
+3
Delicate Accessories
Woven bags
Scarfs & Socks
Necklaces
Earrings
Rings
Save
$16.23
Save
$16.23
Party Vintage Pearl Multilayer Necklace Clavicle Chain
$34.87
$51.10
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: 58906725, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 58906727, title: "Classic Linen& Cottom", url: "\/collections\/flat-lay", target: "", levels: 1, product0: { id: ("04669338-b0a9-44be-8ea9-0bd7cf6ef20e") }, children: [ { title: "Dresses", url: "\/collections\/flat-lay-dresses", target: "", levels: 0, children: [ ] }, { title: "Bottoms", url: "\/collections\/flat-lay-skirts", target: "", levels: 0, children: [ ] }, { title: "Shirts", url: "\/collections\/flat-lay-tops", target: "", levels: 0, children: [ ] }, ] }, { id: 58906735, title: "Spring & Summer", url: "\/collections\/2024-spring-summer", target: "", levels: 1, product0: { id: ("f08a6975-355a-4e15-bfb7-7c0ecb2fc3d5") }, children: [ { title: "Summer Wardrobe", url: "\/collections\/summer-wardrobe", target: "", levels: 0, children: [ ] }, { title: "Linen & Cotton", url: "\/collections\/linen-cotton", target: "", levels: 0, children: [ ] }, { title: "Linen Jumpsuit", url: "\/collections\/linen-jumpsuit", target: "", levels: 0, children: [ ] }, { title: "Vintage Linen Dresses", url: "\/collections\/vintage-linen-dresses", target: "", levels: 0, children: [ ] }, { title: "Backless Dresses", url: "\/collections\/best-seller", target: "", levels: 0, children: [ ] }, { title: "Chic Two-Piece Set", url: "\/collections\/chic-two-piece-set", target: "", levels: 0, children: [ ] }, { title: "Midi Dresses", url: "\/collections\/chic-backless-dresses-sets", target: "", levels: 0, children: [ ] }, { title: "Mini Dresses", url: "\/collections\/mini-dress", target: "", levels: 0, children: [ ] }, ] }, { id: 58906753, title: "Hoodie & Sweatshirt", url: "\/collections\/hoodie-sweatshirt", target: "", levels: 1, product0: { id: ("eae79edb-d71e-4413-81d6-dfcd0f136058") }, children: [ { title: "Women's Hoodies & Tees", url: "\/collections\/womens-hoodies-tees", target: "", levels: 0, children: [ ] }, { title: "Men's Hoodies & Tees", url: "\/collections\/mens-hoodies-tees", target: "", levels: 0, children: [ ] }, { title: "Merry Christmas", url: "\/collections\/merry-christmas", target: "", levels: 0, children: [ ] }, ] }, { id: 58906761, title: "Autumn & Winter", url: "\/collections\/split-casual-knitted-dresses", target: "", levels: 1, product0: { id: ("93e6d8c5-49cc-4150-a9c0-5b852e59576c") }, children: [ { title: "Split Knitted Dresses", url: "\/collections\/split-casual-knitted-dresses", target: "", levels: 0, children: [ ] }, { title: "Mini Sweater Dresses ", url: "\/collections\/mini-sweater-dresses", target: "", levels: 0, children: [ ] }, { title: "Coat", url: "\/collections\/coat", target: "", levels: 0, children: [ ] }, { title: "Tops", url: "\/collections\/cozy-tops", target: "", levels: 0, children: [ ] }, { title: "Bottoms", url: "\/collections\/winter-pants", target: "", levels: 0, children: [ ] }, { title: "Jeans", url: "\/collections\/jeans", target: "", levels: 0, children: [ ] }, ] }, { id: 58906775, title: "Delicate Accessories", url: "\/collections\/delicate-accessories", target: "", levels: 1, product0: { id: ("4f92b59d-0252-46bf-a9f7-142469af8c48") }, children: [ { title: "Woven bags", url: "\/collections\/woven-accessories", target: "", levels: 0, children: [ ] }, { title: "Scarfs & Socks", url: "\/collections\/scarfs-socks", target: "", levels: 0, children: [ ] }, { title: "Necklaces", url: "\/collections\/necklaces", target: "", levels: 0, children: [ ] }, { title: "Earrings", url: "\/collections\/earrings", target: "", levels: 0, children: [ ] }, { title: "Rings", url: "\/collections\/rings", target: "", levels: 0, 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
Classic Linen& Cottom
Classic Linen& Cottom
Dresses
Bottoms
Shirts
Spring & Summer
Spring & Summer
Summer Wardrobe
Linen & Cotton
Linen Jumpsuit
Vintage Linen Dresses
Backless Dresses
Chic Two-Piece Set
Midi Dresses
Mini Dresses
Hoodie & Sweatshirt
Hoodie & Sweatshirt
Women's Hoodies & Tees
Men's Hoodies & Tees
Merry Christmas
Autumn & Winter
Autumn & Winter
Split Knitted Dresses
Mini Sweater Dresses
Coat
Tops
Bottoms
Jeans
Delicate Accessories
Delicate Accessories
Woven bags
Scarfs & Socks
Necklaces
Earrings
Rings
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(); })();
Home
/
Summer Wardrobe
Summer Wardrobe
634 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Save
$29.10
Save
$29.10
Chic Solid Color Sleeveless 2pieces Set
$38.96
$68.06
Save
$22.57
Save
$22.57
Chic New Backless Lace-up Dress
$37.68
$60.25
Save
$27.13
Save
$27.13
Sunset Backless Resort Dress
$36.33
$63.46
Save
$31.75
Save
$31.75
Backless Bowknot Chic Slip Beach Dress
$39.00
$70.75
Save
$27.16
Save
$27.16
Backless Lace Up Summer Dress
$34.82
$61.98
Save
$4.96
Save
$4.96
Sweet Sexy Waist Solid Color Suits
$37.64
$42.60
Save
$23.07
Save
$23.07
Cotton linen backless short sleeves dress
$32.26
$55.33
Save
$16.94
Save
$16.94
Vintage literary rattan bag
$38.43
$55.37
Save
$24.55
Save
$24.55
Versatile casual white shoes
$45.00
$69.55
Save
$25.80
Save
$25.80
Chic New Backless Lace-up Dress
$37.68
$63.48
Save
$20.19
Save
$20.19
Handmade Beach Vacation Woven Bag
$31.82
$52.01
Save
$28.40
Save
$28.40
Chic Shiny Halterneck Sleeveless Top & Skirt 2 Pieces Set
$39.71
$68.11
Save
$20.60
Save
$20.60
Elena BowTie A-Line Mini Dress
$38.86
$59.46
Save
$20.23
Save
$20.23
CHic Audrey Maxi Slip dress
$32.29
$52.52
Save
$27.13
Save
$27.13
Minimalist Cotton & Linen Two Piece Set
$38.09
$65.22
Save
$32.30
Save
$32.30
Summer Backless Stylish Dress
$36.42
$68.72
Save
$30.71
Save
$30.71
Backless Ruffled Sleeves Linen Dress
$39.38
$70.09
Save
$23.81
Save
$23.81
Chic Breasted Design Set
$39.75
$63.56
Save
$28.75
Save
$28.75
Sexy Party Solid Color Dress
$32.43
$61.18
Save
$33.46
Save
$33.46
Backless Ruffled Sleeves Linen Dress
$39.38
$72.84
Save
$7.37
Save
$7.37
Color contrast Tied Open Back Dress
$55.00
$62.37
Save
$20.23
Save
$20.23
Simple Back Design Dress
$32.29
$52.52
Save
$24.92
Save
$24.92
Boxy funnel neck linen mini dress
$30.46
$55.38
Save
$31.81
Save
$31.81
Casual Cozy Linen Wrap Jumpsuit
$39.06
$70.87
Save
$23.10
Save
$23.10
Elegant Wide Legs Sleeveless Jumpsuit (Without waistband)
$38.56
$61.66
Save
$27.30
Save
$27.30
V-neck sleeveless jumpsuit
$29.57
$56.87
+1
Save
$31.92
Save
$31.92
Maple Pink Linen Two-Pieces Set
$39.20
$71.12
Save
$24.47
Save
$24.47
Chic Rayon Crinkle A-Line Slip Dress
$37.37
$61.84
Save
$26.01
Save
$26.01
Chic Shiny Halterneck Sleeveless Top & Skirt 2 Pieces Set
$39.71
$65.72
Save
$33.22
Save
$33.22
Back Lace Up Leopard Prints Summer Dress
$40.60
$73.82
Save
$33.34
Save
$33.34
Simple Cotton And Linen Two-Piece Suit
$39.23
$72.57
Save
$24.92
Save
$24.92
Chic Odile Two-pieces Set
$39.77
$64.69
Save
$21.98
Save
$21.98
Classic Cotton Slip Dress
$38.40
$60.38
Save
$21.83
Save
$21.83
Casual Solid Color Two-Pieces Suits
$38.14
$59.97
Save
$22.81
Save
$22.81
Chic New Summer Linen Two-Pieces Suits
$32.83
$55.64
Save
$7.47
Save
$7.47
Sweet Crinkle Sleeveless Mini Dress
$27.53
$35.00
Save
$22.38
Save
$22.38
Summer Sweet Two-pieces Set
$30.90
$53.28
Save
$29.98
Save
$29.98
Casual Loose Shape Short Set
$33.81
$63.79
+2
Save
$25.75
Save
$25.75
Summer Slip Dress In Pink
$27.90
$53.65
Save
$29.16
Save
$29.16
Summer street loose casual short suit
$35.82
$64.98
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}
(-
)
${(function(){ var total_price = data.total_price; var postageFreeAmount = 69; 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 = 69; 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) { 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}