${(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 ${ data.off_ratio }% ` : '' }` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `From
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
Black Friday Sale—15% OFF Sitewide 【Code: BF2025】💛
Black Friday Sale—15% OFF Sitewide 【Code: BF2025】💛
Log in
Create an account
${data.data && data.data.count}
Home
New Arrivals
Best Seller
Sets & Suits
Workwear
Casual Set
Blouses & Shirts
Coat & Jackets
Fall-Winter Outfits
Knit Sets
Sweater
Cloak
Pants & Trousers
Scarf & Socks
Linen & Lifestyles
Sets & Dresses
Skirts
Shirts
Tops
Jumpsuit
Pants
Shorts
Loungewear
Kids' Clothing
Dresses
Daily Dresses
Elegant Dresses
Linen Dresses
Party Dresses
Chic Dresses
Summer Dresses
Knit Dresses
Abayas
Abaya Dresses
Abaya Cardigan
Vacation & Resort
Holiday Outfits
Swimsuits
Y2K
Accessories
Bags & Purses
Sandals
Earrings
Rings
Necklaces
Customer Reviews
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: 80578147, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 80735385, title: "New Arrivals", url: "\/collections\/new-arrivals", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 81625399, title: "Best Seller", url: "\/collections\/best-seller-22qm", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 80578185, title: "Sets & Suits", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Workwear", url: "\/collections\/workwear", target: "", levels: 0, children: [ ] }, { title: "Casual Set", url: "\/collections\/casual-sets", target: "", levels: 0, children: [ ] }, { title: "Blouses & Shirts", url: "\/collections\/blouses-shirts", target: "", levels: 0, children: [ ] }, { title: "Coat & Jackets", url: "\/collections\/coat-jacket", target: "", levels: 0, children: [ ] }, ] }, { id: 80578199, title: "Fall-Winter Outfits", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Knit Sets", url: "\/collections\/casual-sets", target: "", levels: 0, children: [ ] }, { title: "Sweater", url: "\/collections\/cozy-winter-tops", target: "", levels: 0, children: [ ] }, { title: "Cloak", url: "\/collections\/split-long-top-dresses-cloak", target: "", levels: 0, children: [ ] }, { title: "Pants & Trousers", url: "\/collections\/winter-pants", target: "", levels: 0, children: [ ] }, { title: "Scarf & Socks", url: "\/collections\/winter-accessories", target: "", levels: 0, children: [ ] }, ] }, { id: 80578165, title: "Linen & Lifestyles", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Sets & Dresses", url: "\/collections\/womens-linen-clothing", target: "", levels: 0, children: [ ] }, { title: "Skirts", url: "\/collections\/dresses-skirts", target: "", levels: 0, children: [ ] }, { title: "Shirts", url: "\/collections\/shirts-u6kw", target: "", levels: 0, children: [ ] }, { title: "Tops", url: "\/collections\/tops", target: "", levels: 0, children: [ ] }, { title: "Jumpsuit", url: "\/collections\/linen-jumpsuit", target: "", levels: 0, children: [ ] }, { title: "Pants", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, { title: "Shorts", url: "\/collections\/shorts", target: "", levels: 0, children: [ ] }, { title: "Loungewear", url: "\/collections\/loungewear", target: "", levels: 0, children: [ ] }, { title: "Kids' Clothing", url: "\/collections\/kids-clothing", target: "", levels: 0, children: [ ] }, ] }, { id: 80578153, title: "Dresses", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Daily Dresses", url: "\/collections\/daily-dresses", target: "", levels: 0, children: [ ] }, { title: "Elegant Dresses", url: "\/collections\/elegant-dresses", target: "", levels: 0, children: [ ] }, { title: "Linen Dresses", url: "\/collections\/womens-linen-clothing", target: "", levels: 0, children: [ ] }, { title: "Party Dresses", url: "\/collections\/party-dresses-j8k3", target: "", levels: 0, children: [ ] }, { title: "Chic Dresses", url: "\/collections\/modern-chic-dresses", target: "", levels: 0, children: [ ] }, { title: "Summer Dresses ", url: "\/collections\/chic-dresses-sets", target: "", levels: 0, children: [ ] }, { title: "Knit Dresses", url: "\/collections\/knit-dresses", target: "", levels: 0, children: [ ] }, ] }, { id: 80802663, title: "Abayas", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Abaya Dresses", url: "\/collections\/elegant-dresses", target: "", levels: 0, children: [ ] }, { title: "Abaya Cardigan", url: "\/collections\/abayas", target: "", levels: 0, children: [ ] }, ] }, { id: 80578191, title: "Vacation & Resort", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Holiday Outfits", url: "\/collections\/holiday-outfits", target: "", levels: 0, children: [ ] }, { title: "Swimsuits", url: "\/collections\/modern-swimsuits", target: "", levels: 0, children: [ ] }, { title: "Y2K", url: "\/collections\/y2k", target: "", levels: 0, children: [ ] }, ] }, { id: 80578211, title: "Accessories", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Bags & Purses", url: "\/collections\/bags-purse", target: "", levels: 0, children: [ ] }, { title: "Sandals", url: "\/collections\/sandals", target: "", levels: 0, children: [ ] }, { title: "Earrings", url: "\/collections\/earrings", target: "", levels: 0, children: [ ] }, { title: "Rings", url: "\/collections\/rings", target: "", levels: 0, children: [ ] }, { title: "Necklaces", url: "\/collections\/necklaces", target: "", levels: 0, children: [ ] }, ] }, { id: 80578223, title: "Customer Reviews", url: "\/pages\/customer-reviews", target: "", levels: 0, product0: 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
New Arrivals
Best Seller
Sets & Suits
Workwear
Casual Set
Blouses & Shirts
Coat & Jackets
Fall-Winter Outfits
Knit Sets
Sweater
Cloak
Pants & Trousers
Scarf & Socks
Linen & Lifestyles
Sets & Dresses
Skirts
Shirts
Tops
Jumpsuit
Pants
Shorts
Loungewear
Kids' Clothing
Dresses
Daily Dresses
Elegant Dresses
Linen Dresses
Party Dresses
Chic Dresses
Summer Dresses
Knit Dresses
Abayas
Abaya Dresses
Abaya Cardigan
Vacation & Resort
Holiday Outfits
Swimsuits
Y2K
Accessories
Bags & Purses
Sandals
Earrings
Rings
Necklaces
Customer Reviews
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: 80578147, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 80735385, title: "New Arrivals", url: "\/collections\/new-arrivals", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 81625399, title: "Best Seller", url: "\/collections\/best-seller-22qm", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 80578185, title: "Sets & Suits", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Workwear", url: "\/collections\/workwear", target: "", levels: 0, children: [ ] }, { title: "Casual Set", url: "\/collections\/casual-sets", target: "", levels: 0, children: [ ] }, { title: "Blouses & Shirts", url: "\/collections\/blouses-shirts", target: "", levels: 0, children: [ ] }, { title: "Coat & Jackets", url: "\/collections\/coat-jacket", target: "", levels: 0, children: [ ] }, ] }, { id: 80578199, title: "Fall-Winter Outfits", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Knit Sets", url: "\/collections\/casual-sets", target: "", levels: 0, children: [ ] }, { title: "Sweater", url: "\/collections\/cozy-winter-tops", target: "", levels: 0, children: [ ] }, { title: "Cloak", url: "\/collections\/split-long-top-dresses-cloak", target: "", levels: 0, children: [ ] }, { title: "Pants & Trousers", url: "\/collections\/winter-pants", target: "", levels: 0, children: [ ] }, { title: "Scarf & Socks", url: "\/collections\/winter-accessories", target: "", levels: 0, children: [ ] }, ] }, { id: 80578165, title: "Linen & Lifestyles", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Sets & Dresses", url: "\/collections\/womens-linen-clothing", target: "", levels: 0, children: [ ] }, { title: "Skirts", url: "\/collections\/dresses-skirts", target: "", levels: 0, children: [ ] }, { title: "Shirts", url: "\/collections\/shirts-u6kw", target: "", levels: 0, children: [ ] }, { title: "Tops", url: "\/collections\/tops", target: "", levels: 0, children: [ ] }, { title: "Jumpsuit", url: "\/collections\/linen-jumpsuit", target: "", levels: 0, children: [ ] }, { title: "Pants", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, { title: "Shorts", url: "\/collections\/shorts", target: "", levels: 0, children: [ ] }, { title: "Loungewear", url: "\/collections\/loungewear", target: "", levels: 0, children: [ ] }, { title: "Kids' Clothing", url: "\/collections\/kids-clothing", target: "", levels: 0, children: [ ] }, ] }, { id: 80578153, title: "Dresses", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Daily Dresses", url: "\/collections\/daily-dresses", target: "", levels: 0, children: [ ] }, { title: "Elegant Dresses", url: "\/collections\/elegant-dresses", target: "", levels: 0, children: [ ] }, { title: "Linen Dresses", url: "\/collections\/womens-linen-clothing", target: "", levels: 0, children: [ ] }, { title: "Party Dresses", url: "\/collections\/party-dresses-j8k3", target: "", levels: 0, children: [ ] }, { title: "Chic Dresses", url: "\/collections\/modern-chic-dresses", target: "", levels: 0, children: [ ] }, { title: "Summer Dresses ", url: "\/collections\/chic-dresses-sets", target: "", levels: 0, children: [ ] }, { title: "Knit Dresses", url: "\/collections\/knit-dresses", target: "", levels: 0, children: [ ] }, ] }, { id: 80802663, title: "Abayas", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Abaya Dresses", url: "\/collections\/elegant-dresses", target: "", levels: 0, children: [ ] }, { title: "Abaya Cardigan", url: "\/collections\/abayas", target: "", levels: 0, children: [ ] }, ] }, { id: 80578191, title: "Vacation & Resort", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Holiday Outfits", url: "\/collections\/holiday-outfits", target: "", levels: 0, children: [ ] }, { title: "Swimsuits", url: "\/collections\/modern-swimsuits", target: "", levels: 0, children: [ ] }, { title: "Y2K", url: "\/collections\/y2k", target: "", levels: 0, children: [ ] }, ] }, { id: 80578211, title: "Accessories", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Bags & Purses", url: "\/collections\/bags-purse", target: "", levels: 0, children: [ ] }, { title: "Sandals", url: "\/collections\/sandals", target: "", levels: 0, children: [ ] }, { title: "Earrings", url: "\/collections\/earrings", target: "", levels: 0, children: [ ] }, { title: "Rings", url: "\/collections\/rings", target: "", levels: 0, children: [ ] }, { title: "Necklaces", url: "\/collections\/necklaces", target: "", levels: 0, children: [ ] }, ] }, { id: 80578223, title: "Customer Reviews", url: "\/pages\/customer-reviews", target: "", levels: 0, product0: 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
New Arrivals
Best Seller
Sets & Suits
Sets & Suits
Workwear
Casual Set
Blouses & Shirts
Coat & Jackets
Fall-Winter Outfits
Fall-Winter Outfits
Knit Sets
Sweater
Cloak
Pants & Trousers
Scarf & Socks
Linen & Lifestyles
Linen & Lifestyles
Sets & Dresses
Skirts
Shirts
Tops
Jumpsuit
Pants
Shorts
Loungewear
Kids' Clothing
Dresses
Dresses
Daily Dresses
Elegant Dresses
Linen Dresses
Party Dresses
Chic Dresses
Summer Dresses
Knit Dresses
Abayas
Abayas
Abaya Dresses
Abaya Cardigan
Vacation & Resort
Vacation & Resort
Holiday Outfits
Swimsuits
Y2K
Accessories
Accessories
Bags & Purses
Sandals
Earrings
Rings
Necklaces
Customer Reviews
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(); })();
Casual Sets
1256 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Save 17%
Save 17%
Casual Crewneck Sweater & Pants Two-piece Set
$53.99
$64.79
Save 17%
Save 17%
Fall and winter deep V-neck casual two-piece set
$57.99
$69.59
Save 17%
Save 17%
Knitted solid color loose casual suit
$46.99
$56.39
Save 17%
Save 17%
Casual Striped Jacquard Knitted Two-pieces Set
$56.86
$68.23
Save 17%
Save 17%
Fashionable Striped Blazer & Wide Leg Pants Two-Piece Set
From
$39.36
$47.23
Save 17%
Save 17%
Comfortable Knitted Three-Piece Set
$53.59
$64.31
Save 17%
Save 17%
Chic slit casual two-piece set
$49.82
$59.78
Save 28%
Save 28%
Casual Fashion Solid Color Sweater Two -piece Suit
$65.99
$92.00
+1
Save 17%
Save 17%
Striped shirt knitted fake two-piece set
From
$39.99
$47.99
Sleeveless vest + knitted skirt two-piece set
From
$56.99
Save 35%
Save 35%
Chic V-neck knitted three-piece set
$68.49
$106.00
Save 35%
Save 35%
Chic V-neck knitted three-piece set
$68.49
$106.00
Save 10%
Save 10%
Fashion reversible three-piece set
$53.57
$59.67
Daily casual zip-up shirt and shorts three-piece set
$49.99
Hepburn Style Woolen Cape Coat
$56.99
+3
Save 17%
Save 17%
Casual V-Neck Striped Sweat & Wide Leg Pants Two-Piece Set
$53.35
$64.02
Minimalism Style Knitted Two-pieces Set
$53.41
Save 17%
Save 17%
Versatile patchwork knitted sweater
$52.79
$63.35
Save 17%
Save 17%
Edge Decorated Jacket & Casual Pants Two-piece Set
$58.43
$70.12
Casual Comfortable Striped Crewneck Sweater
$43.38
Casual Boder Printing Long Kimono
$43.26
Save 31%
Save 31%
Casual Stripe Vest And Blazer Three-Piece Set
From
$54.38
$78.38
Fashion Lapel Blazer & Pants Two-Piece Set
From
$38.88
Fashionable Square Collar Blazer & Pants Two-Piece Set
$56.38
Autumn and winter coffee color two piece set
$55.69
Save 17%
Save 17%
Edge Decorated Jacket & Casual Pants Two-piece Set
$58.43
$70.12
Elegant & Fashion Solid Color High Collar Two-piece Suit
$45.75
Split Knitted Sweater Two-Piece Dress
$70.73
Save 17%
Save 17%
Casual Solid Color One-Shoulder Ladies Knit Set
$45.32
$54.38
+1
Fashion loose casual two-piece set
$52.99
Turtleneck Solid Color Sweater Knit Set
$46.52
Casual Lapel Shirt & Lace-Up Two-Piece Overskirt Set
$49.39
Casual Solid Color High Collar Pencil Pants Suits
$36.85
+1
Plain Drawstring Casual Two-piece Outfits
$33.07
Elegant Loose fashionable casual suit
$59.99
Casual Twist Jacquard Sweater Cardigan Two-Pieces Set
$56.68
Fashion Casual Hooded Solid Color Two-piece Suit
$45.96
Casual Space Cotton Two-Pieces Sets
$52.39
Save 17%
Save 17%
Comfortable Knitted Three-Piece Set
$53.59
$64.31
+1
Stylish Striped Patchwork Solid Color Sleeveless Top & High Waist Pants Two-Piece Set
$48.79
+1
No products found
Use fewer filters or
clear all
Recently Viewed
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}
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}