${(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}
Add to cart
Add to cart
Choose an option
${variant.title}/
Sold out
` })()}
Free Shipping Order $59+
Free Shipping Order $59+
Search
Log in
Create an account
${data.data && data.data.count}
Home
New In
Dresses
Linen & Cotton Dresses
Maxi Dresses
Casual Dresses
Bodycon Dresses
Party Dresses
Floral Dress
Mini Dresses
Vacation Dresses
Tops
Knitwear
Knit Tops
Vests
Casual Tops
Casual Tops
Blouses&Shirts
Tank & Camis
T-shirts
Outerwear
Sweaters
Cardigans
Coat
Hoodies
Jackets
Blazer
Sweater Vest
Bottoms
Linen & Cotton Bottoms
Jumpsuits
Casual Pants
Leggings
Shorts
Romper
Skirts
Suits Set
Cargo Pants
Accessories
Gloves
Scarfs
Socks&Tights
Bags
Hats
Necklace
DIY Accessories
Warmers
Belts
Home Accessories
Tablecloth
Knitted Blankets
Home Decor
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: 55638339, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 55638341, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 55638343, title: "Dresses", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Linen & Cotton Dresses", url: "\/collections\/linen-cotton-dresses", target: "", levels: 0, children: [ ] }, { title: "Maxi Dresses", url: "\/collections\/maxi-dresses", target: "", levels: 0, children: [ ] }, { title: "Casual Dresses", url: "\/collections\/casual-dresses", target: "", levels: 0, children: [ ] }, { title: "Bodycon Dresses", url: "\/collections\/bodycon-dresses", target: "", levels: 0, children: [ ] }, { title: "Party Dresses", url: "\/collections\/party-dresses", target: "", levels: 0, children: [ ] }, { title: "Floral Dress", url: "\/collections\/floral-dresses", target: "", levels: 0, children: [ ] }, { title: "Mini Dresses", url: "\/collections\/mini-dresses", target: "", levels: 0, children: [ ] }, { title: "Vacation Dresses", url: "\/collections\/vacation-dresses", target: "", levels: 0, children: [ ] }, ] }, { id: 55638361, title: "Tops", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Knitwear", url: "\/collections\/knitwear", target: "", levels: 0, children: [ ] }, { title: "Knit Tops", url: "\/collections\/knit-tops", target: "", levels: 0, children: [ ] }, { title: "Vests ", url: "\/collections\/vests", target: "", levels: 0, children: [ ] }, { title: "Casual Tops", url: "\/collections\/casual-tops", target: "", levels: 0, children: [ ] }, { title: "Casual Tops", url: "\/collections\/casual-tops", target: "", levels: 0, children: [ ] }, { title: "Blouses&Shirts", url: "\/collections\/blouses-shirts", target: "", levels: 0, children: [ ] }, { title: "Tank & Camis ", url: "\/collections\/tank-camis", target: "", levels: 0, children: [ ] }, { title: "T-shirts", url: "\/collections\/t-shirts", target: "", levels: 0, children: [ ] }, ] }, { id: 55638379, title: "Outerwear", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Sweaters ", url: "\/collections\/sweaters", target: "", levels: 0, children: [ ] }, { title: "Cardigans", url: "\/collections\/cardigan", target: "", levels: 0, children: [ ] }, { title: "Coat ", url: "\/collections\/womens-coat", target: "", levels: 0, children: [ ] }, { title: "Hoodies ", url: "\/collections\/hoodies", target: "", levels: 0, children: [ ] }, { title: "Jackets ", url: "\/collections\/jackets", target: "", levels: 0, children: [ ] }, { title: "Blazer ", url: "\/collections\/blazer", target: "", levels: 0, children: [ ] }, { title: "Sweater Vest", url: "\/collections\/sweater-vest", target: "", levels: 0, children: [ ] }, ] }, { id: 55638395, title: "Bottoms ", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Linen & Cotton Bottoms", url: "\/collections\/linen-cotton-bottoms", target: "", levels: 0, children: [ ] }, { title: "Jumpsuits ", url: "\/collections\/jumpsuits", target: "", levels: 0, children: [ ] }, { title: "Casual Pants", url: "\/collections\/casual-pants", target: "", levels: 0, children: [ ] }, { title: "Leggings ", url: "\/collections\/leggings", target: "", levels: 0, children: [ ] }, { title: "Shorts ", url: "\/collections\/shorts", target: "", levels: 0, children: [ ] }, { title: "Romper ", url: "\/collections\/romper", target: "", levels: 0, children: [ ] }, { title: "Skirts ", url: "\/collections\/skirts", target: "", levels: 0, children: [ ] }, { title: "Suits Set", url: "\/collections\/suits-set", target: "", levels: 0, children: [ ] }, { title: "Cargo Pants", url: "\/collections\/cargo-pants", target: "", levels: 0, children: [ ] }, ] }, { id: 55638415, title: "Accessories", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Gloves ", url: "\/collections\/gloves", target: "", levels: 0, children: [ ] }, { title: "Scarfs ", url: "\/collections\/scarfs", target: "", levels: 0, children: [ ] }, { title: "Socks&Tights", url: "\/collections\/socks-tights", target: "", levels: 0, children: [ ] }, { title: "Bags ", url: "\/collections\/bags", target: "", levels: 0, children: [ ] }, { title: "Hats ", url: "\/collections\/hats", target: "", levels: 0, children: [ ] }, { title: "Necklace ", url: "\/collections\/necklace", target: "", levels: 0, children: [ ] }, { title: "DIY Accessories", url: "\/collections\/diy-accessories", target: "", levels: 0, children: [ ] }, { title: "Warmers ", url: "\/collections\/warmers", target: "", levels: 0, children: [ ] }, { title: "Belts", url: "\/collections\/belts", target: "", levels: 0, children: [ ] }, ] }, { id: 55638435, title: "Home Accessories", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Tablecloth ", url: "\/collections\/tablecloth", target: "", levels: 0, children: [ ] }, { title: "Knitted Blankets", url: "\/collections\/knitted-blankets", target: "", levels: 0, children: [ ] }, { title: "Home Decor", url: "\/collections\/home-decor", 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}
Search
Home
New In
Dresses
Linen & Cotton Dresses
Maxi Dresses
Casual Dresses
Bodycon Dresses
Party Dresses
Floral Dress
Mini Dresses
Vacation Dresses
Tops
Knitwear
Knit Tops
Vests
Casual Tops
Casual Tops
Blouses&Shirts
Tank & Camis
T-shirts
Outerwear
Sweaters
Cardigans
Coat
Hoodies
Jackets
Blazer
Sweater Vest
Bottoms
Linen & Cotton Bottoms
Jumpsuits
Casual Pants
Leggings
Shorts
Romper
Skirts
Suits Set
Cargo Pants
Accessories
Gloves
Scarfs
Socks&Tights
Bags
Hats
Necklace
DIY Accessories
Warmers
Belts
Home Accessories
Tablecloth
Knitted Blankets
Home Decor
${(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.
` })()}
(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(); })();
Skirts
45 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Filter
Sort by
Recommend
Price, low to high
Price, high to low
Newest in
Total sales, high to low
Purchases, high to low
Pageviews, high to low
Sort
Sort by
Recommend
Price, low to high
Price, high to low
Newest in
Total sales, high to low
Purchases, high to low
Pageviews, high to low
Sort
Women Irregular High Waist Pockets Solid Leisure Casual Skirts
$31.84
+2
Add to cart
Choose an option
Color 1-S/
$31.84
Color 1-M/
$31.84
Color 1-L/
$31.84
Color 1-XL/
$31.84
Color 1-XXL/
$31.84
Color 1-XXXL/
$31.84
Color 1-4XL/
$31.84
Color 1-5XL/
$31.84
Color 2-S/
$31.84
Color 2-M/
$31.84
Color 2-L/
$31.84
Color 2-XL/
$31.84
Color 2-XXL/
$31.84
Color 2-XXXL/
$31.84
Color 2-4XL/
$31.84
Color 2-5XL/
$31.84
Color 3-S/
$31.84
Color 3-M/
$31.84
Color 3-L/
$31.84
Color 3-XL/
$31.84
Color 3-XXL/
$31.84
Color 3-XXXL/
$31.84
Color 3-4XL/
$31.84
Color 3-5XL/
$31.84
Color 4-S/
$31.84
Color 4-M/
$31.84
Color 4-L/
$31.84
Color 4-XL/
$31.84
Color 4-XXL/
$31.84
Color 4-XXXL/
$31.84
Color 4-4XL/
$31.84
Color 4-5XL/
$31.84
Color 5-S/
$31.84
Color 5-M/
$31.84
Color 5-L/
$31.84
Color 5-XL/
$31.84
Color 5-XXL/
$31.84
Color 5-XXXL/
$31.84
Color 5-4XL/
$31.84
Color 5-5XL/
$31.84
Summer Women Elastic Waist Lace Embroidery Loose Cotton Skirts
$42.77
+3
Add to cart
Choose an option
Beige-One Size/
$42.77
Black-One Size/
$42.77
Gray-One Size/
$42.77
Green-One Size/
$42.77
White-One Size/
$42.77
Coffee-One Size/
$42.77
Boho Women High Waist A-line Print Maxi Skirt
$25.39
+1
Add to cart
Choose an option
Blue-S/
$25.39
Blue-M/
$25.39
Blue-L/
$25.39
Blue-XL/
$25.39
Blue-XXL/
$25.39
Blue-XXXL/
$25.39
Green-S/
$25.39
Green-M/
$25.39
Green-L/
$25.39
Green-XL/
$25.39
Green-XXL/
$25.39
Green-XXXL/
$25.39
purple-S/
$25.39
purple-M/
$25.39
purple-L/
$25.39
purple-XL/
$25.39
purple-XXL/
$25.39
purple-XXXL/
$25.39
Red-S/
$25.39
Red-M/
$25.39
Red-L/
$25.39
Red-XL/
$25.39
Red-XXL/
$25.39
Red-XXXL/
$25.39
Elastic Waist Pleated Big Swing Linen Cotton Long Skirts
$25.38
+16
Add to cart
Choose an option
Beige-S/
$25.38
Beige-M/
$25.38
black-S/
$25.38
black-M/
$25.38
Denim Blue-S/
$25.38
Denim Blue-M/
$25.38
sky blue-S/
$25.38
sky blue-M/
$25.38
Vegetation green-S/
$25.38
Vegetation green-M/
$25.38
Matcha green-S/
$25.38
Matcha green-M/
$25.38
light grey-S/
$25.38
light grey-M/
$25.38
Niagara Blue-S/
$25.38
Niagara Blue-M/
$25.38
Shallow denim-S/
$25.38
Shallow denim-M/
$25.38
Rust red-S/
$25.38
Rust red-M/
$25.38
Lavender-S/
$25.38
Lavender-M/
$25.38
white-S/
$25.38
white-M/
$25.38
Yellow-S/
$25.38
Yellow-M/
$25.38
Aqua Blue-S/
$25.38
Aqua Blue-M/
$25.38
Navy blue-S/
$25.38
Navy blue-M/
$25.38
Light red-S/
$25.38
Light red-M/
$25.38
Fruit Green-S/
$25.38
Fruit Green-M/
$25.38
Coral Red-S/
$25.38
Coral Red-M/
$25.38
light green-S/
$25.38
light green-M/
$25.38
Lace Mesh High Waist Tulle A-Line Fluffy Pleated Skirt
$30.95
+2
Add to cart
Choose an option
Beige-S/
$30.95
Beige-M/
$30.95
Beige-L/
$30.95
Beige-XL/
$30.95
Black-S/
$30.95
Black-M/
$30.95
Black-L/
$30.95
Black-XL/
$30.95
Gray-S/
$30.95
Gray-M/
$30.95
Gray-L/
$30.95
Gray-XL/
$30.95
Purple-S/
$30.95
Purple-M/
$30.95
Purple-L/
$30.95
Purple-XL/
$30.95
White-S/
$30.95
White-M/
$30.95
White-L/
$30.95
White-XL/
$30.95
Women Summer Thin Elastic Waist A -Line Plus Size Skirts
$24.64
+4
Add to cart
Choose an option
deep khaki-M(42.5-57.5kg)/
$24.64
deep khaki-L(55-65kg)/
$24.64
deep khaki-XL(62.5-72.5kg)/
$24.64
deep khaki-XXL(70-80kg)/
$24.64
black-M(42.5-57.5kg)/
$24.64
black-L(55-65kg)/
$24.64
black-XL(62.5-72.5kg)/
$24.64
black-XXL(70-80kg)/
$24.64
navy blue-M(42.5-57.5kg)/
$24.64
navy blue-L(55-65kg)/
$24.64
navy blue-XL(62.5-72.5kg)/
$24.64
navy blue-XXL(70-80kg)/
$24.64
Avocado green-M(42.5-57.5kg)/
$24.64
Avocado green-L(55-65kg)/
$24.64
Avocado green-XL(62.5-72.5kg)/
$24.64
Avocado green-XXL(70-80kg)/
$24.64
linen nature beige-M(42.5-57.5kg)/
$24.64
linen nature beige-L(55-65kg)/
$24.64
linen nature beige-XL(62.5-72.5kg)/
$24.64
linen nature beige-XXL(70-80kg)/
$24.64
army green-M(42.5-57.5kg)/
$24.64
army green-L(55-65kg)/
$24.64
army green-XL(62.5-72.5kg)/
$24.64
army green-XXL(70-80kg)/
$24.64
linen nature-M(42.5-57.5kg)/
$24.64
linen nature-L(55-65kg)/
$24.64
linen nature-XL(62.5-72.5kg)/
$24.64
linen nature-XXL(70-80kg)/
$24.64
Summer Korean Vintage Solid Casual Pleated Skirt
$25.66
Add to cart
Choose an option
Black-S/
$25.66
Black-M/
$25.66
Black-L/
$25.66
Black-XL/
$25.66
Blue-S/
$25.66
Blue-M/
$25.66
Blue-L/
$25.66
Blue-XL/
$25.66
Khaki-S/
$25.66
Khaki-M/
$25.66
Khaki-L/
$25.66
Khaki-XL/
$25.66
Women Leopard Print High Waist Split Asymmetrical Skirts
$22.05
Add to cart
Choose an option
B-S/
$22.05
B-M/
$22.05
B-L/
$22.05
B-XL/
$22.05
C-S/
$22.05
C-M/
$22.05
C-L/
$22.05
C-XL/
$22.05
A-S/
$22.05
A-M/
$22.05
A-L/
$22.05
A-XL/
$22.05
Women's Polka Dot Mid-length A-line Temperament Pleated Skirt
$22.22
Add to cart
Choose an option
1-one size/
$22.22
2-one size/
$22.22
3-one size/
$22.22
Summer Korean Irregular Contrast Color Pleated Maxi Skirt
$22.22
+4
Add to cart
Choose an option
1-free/
$22.22
2-free/
$22.22
3-free/
$22.22
4-free/
$22.22
5-free/
$22.22
6-free/
$22.22
7-free/
$22.22
Vintage Floral Printed Tulle Pleated Women Skirts
$29.36
Add to cart
Choose an option
1-XL/
$29.36
1-XXL/
$29.36
1-XXXL/
$29.36
1-4XL/
$29.36
1-5XL/
$29.36
2-XL/
$29.36
2-XXL/
$29.36
2-XXXL/
$29.36
2-4XL/
$29.36
2-5XL/
$29.36
Women Cotton Linen Solid Vintage Elastic Waist Patchwork Skirts
$25.65
+2
Add to cart
Choose an option
White-M/
$25.65
White-L/
$25.65
White-XL/
$25.65
White-XXL/
$25.65
White-XXXL/
$25.65
Yellow-M/
$25.65
Yellow-L/
$25.65
Yellow-XL/
$25.65
Yellow-XXL/
$25.65
Yellow-XXXL/
$25.65
Linen-M/
$25.65
Linen-L/
$25.65
Linen-XL/
$25.65
Linen-XXL/
$25.65
Linen-XXXL/
$25.65
Lake green-M/
$25.65
Lake green-L/
$25.65
Lake green-XL/
$25.65
Lake green-XXL/
$25.65
Lake green-XXXL/
$25.65
Mint green-M/
$25.65
Mint green-L/
$25.65
Mint green-XL/
$25.65
Mint green-XXL/
$25.65
Mint green-XXXL/
$25.65
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}