${(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\/\u5e73\u94fa-\u603b2023-12-28", 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\/\u5e73\u94fa-\u4e0a\u8863-2023-12-28", 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\/\u5e73\u94fa-\u603b2023-12-28", 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\/\u5e73\u94fa-\u4e0a\u8863-2023-12-28", 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
/
Split Casual Knitted Dresses
Split Casual Knitted Dresses
51 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Save
$39.28
Save
$39.28
Casual One Size Split Sweater Dress
$58.32
$97.60
+3
Save
$26.65
Save
$26.65
Elegant & Fashion Solid Color High Collar Two-piece Suit
$39.98
$66.63
Save
$12.54
Save
$12.54
Vintage Autumn and Winter Warm Thickened Rabbit Wool Socks
$15.33
$27.87
Save
$79.42
Save
$79.42
Elegant Long Sweater Dress & Cardigan Coat Two Pieces Set
$89.56
$168.98
Save
$51.38
Save
$51.38
Turtleneck Casual Slit Sexy Skirt Two Pieces
$65.39
$116.77
+2
Save
$35.97
Save
$35.97
Casual One Size Split Sweater Dress
$58.32
$94.29
+3
Save
$25.39
Save
$25.39
Long Lazy Knitting Sweater Dress
$33.65
$59.04
Save
$52.00
Save
$52.00
Casual Turtleneck Sweater Loose Version Skirt Suit
$56.33
$108.33
+2
Save
$75.45
Save
$75.45
Autumn and winter twist knitted two-piece set
$78.53
$153.98
Save
$43.98
Save
$43.98
Bubble Knit Swing Dress
$47.65
$91.63
+2
Save
$40.92
Save
$40.92
V-neck slit bag hip knitted lace-up dress
$42.59
$83.51
+3
Save
$39.56
Save
$39.56
Temperament sexy slit slim hip dress
$48.35
$87.91
Save
$36.68
Save
$36.68
Knit ribbed button long-sleeve cardigan dress
$39.74
$76.42
+3
Save
$33.97
Save
$33.97
Sexy Cut-out Twist Sweater Dress
$43.23
$77.20
Save
$36.68
Save
$36.68
Single-breasted cut-out waist thick twist knitted hip dress
$39.74
$76.42
Save
$33.54
Save
$33.54
Casual Collared Patchwork Sweater Dress
$46.32
$79.86
Save
$32.45
Save
$32.45
Turtleneck Center Jacquard Lantern Sleeves
$39.66
$72.11
Save
$39.68
Save
$39.68
V-Neck Slit Tie Backless Sweater Dress
$44.75
$84.43
+2
Save
$34.77
Save
$34.77
Round neck slim bag hip dress
$36.19
$70.96
Save
$38.28
Save
$38.28
Autumn winter knitted slim pleated dress
$46.79
$85.07
+1
Save
$20.48
Save
$20.48
New Knitted Pull Rope Hat Pullover
$23.10
$43.58
+2
Save
$11.26
Save
$11.26
Imitation Wool Knitted Exposed Half Finger Gloves
$15.55
$26.81
+6
Save
$14.39
Save
$14.39
Qute Tassels Knitted Hat
$18.32
$32.71
+6
Save
$44.82
Save
$44.82
Sexy Cross V- Neck Sweater Bat Sleeves Wrap Dress
$46.65
$91.47
Save
$40.65
Save
$40.65
Autumn-winter Solid Color Long Sleeves Medium Length Sweater
$42.31
$82.96
+8
Save
$36.91
Save
$36.91
Waist Shrink Well Fit Small Size Knit Dresses
$39.99
$76.90
Save
$28.52
Save
$28.52
Square Neck Sexy Slim Body Sweater Dress
$29.68
$58.20
+2
Save
$34.04
Save
$34.04
Turtleneck With Cutout Sexy Well Fit Sweater Dress
$39.96
$74.00
+2
Save
$23.08
Save
$23.08
Casual Twist Vest Sweater Mini Dress
$33.21
$56.29
+2
Save
$29.26
Save
$29.26
Autumn winter loose plus size knitted lace dress
$35.76
$65.02
Save
$27.57
Save
$27.57
Autumn and winter slim package hip casual dress
$41.36
$68.93
+3
Save
$31.07
Save
$31.07
Irregular Sweep Turtleneck Jacket
$39.54
$70.61
Save
$8.57
Save
$8.57
Cape Design Loose Batwing Coat
$60.59
$69.16
Save
$24.28
Save
$24.28
Casual Oversize Kintted Dress
$36.52
$60.80
+2
Save
$30.29
Save
$30.29
Slim Cutout Knitted Dress
$51.00
$81.29
+1
Save
$2.27
Save
$2.27
Women Fashion Trend Leggings Pants Large Sizes
$27.73
$30.00
Save
$0.85
Save
$0.85
Short Twist Button Foot Cover
$10.81
$11.66
+2
Save
$39.86
Save
$39.86
Chic V-Neck Knitted Loose Wool Vest
$49.04
$88.90
Save
$40.72
Save
$40.72
Solid Color With Side Split Long Sleeves Turtleneck Sweater
$50.10
$90.82
Save
$22.48
Save
$22.48
Chic Well-Fitting Sweater Dress
$37.85
$60.33
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}