${(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
/
Jeans
Jeans
40 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Save
$25.50
Save
$25.50
High waist cropped frayed ripped jeans
$38.25
$63.75
Save
$31.26
Save
$31.26
Street ripped wide leg jeans
$39.78
$71.04
Save
$35.47
Save
$35.47
Stretch-fit lace-up wide-leg flared jeans
$45.14
$80.61
Save
$35.49
Save
$35.49
Women's wide leg ripped flared jeans
$38.45
$73.94
Save
$37.06
Save
$37.06
Versatile slim stretch mid-rise denim flared trousers
$45.29
$82.35
Save
$40.54
Save
$40.54
Women's ripped high elastic denim flared pants
$47.59
$88.13
Save
$33.33
Save
$33.33
Slim fit slim trousers micro flared jeans
$37.59
$70.92
Save
$43.49
Save
$43.49
Women's ripped frayed stretch flared trousers
$45.26
$88.75
Save
$34.11
Save
$34.11
women's new petal pocket temperament casual jeans
$38.47
$72.58
Save
$32.56
Save
$32.56
Casual temperament ripped denim wide-leg pants
$39.79
$72.35
Save
$31.32
Save
$31.32
One-breasted ripped stretch-fit jeans
$43.25
$74.57
Save
$40.25
Save
$40.25
Casual Washed High Stretch Denim Ladies Pennies
$47.25
$87.50
Save
$30.42
Save
$30.42
Versatile irregular ripped ripped casual denim trousers
$40.33
$70.75
Save
$36.58
Save
$36.58
Whiskering Women's Skinny Jeans
$46.55
$83.13
Save
$43.93
Save
$43.93
Women's stretch mid waist cropped jeans
$45.72
$89.65
Save
$35.10
Save
$35.10
Raw edge ripped slim fit jeans
$39.58
$74.68
Save
$32.37
Save
$32.37
Casual Denim Elastic Waist Simple Skirt
$48.56
$80.93
Save
$39.52
Save
$39.52
New Denim Panelled Irregular Skirt
$50.65
$90.17
Save
$42.47
Save
$42.47
Women's ripped street style straight jeans
$47.89
$90.36
Save
$33.16
Save
$33.16
women's ripped fringed straight jeans
$45.79
$78.95
Save
$32.28
Save
$32.28
Lace-Up Casual Denim Wide-Leg Pants
$39.45
$71.73
Save
$26.96
Save
$26.96
Washed slit mid-rise elegant jeans
$38.79
$65.75
Save
$27.67
Save
$27.67
Elastic waist harem loose casual all-match pants
$39.82
$67.49
Save
$31.48
Save
$31.48
Women's loose casual straight jeans
$46.52
$78.00
Save
$33.25
Save
$33.25
Women's washed ripped flared jeans
$37.49
$70.74
Save
$27.62
Save
$27.62
Women's trendy mid waist slim denim trousers
$39.75
$67.37
Save
$41.17
Save
$41.17
Casual high elastic denim ladies flared pants
$48.33
$89.50
Save
$35.26
Save
$35.26
Washed stretch ripped slim fit denim trousers
$35.26
$70.52
Save
$29.78
Save
$29.78
Temperament Micro Flared Mid Waist Jeans
$39.47
$69.25
Save
$37.27
Save
$37.27
New loose and casual all-match simple and slim jeans
$38.79
$76.06
Save
$27.96
Save
$27.96
Women's Slim Tight Elastic Pants
$30.29
$58.25
+7
Save
$37.34
Save
$37.34
Christmas Collection Elk Casual Vintage Jeans
$47.52
$84.86
Save
$36.20
Save
$36.20
Christmas series literary casual wide-leg jeans
$47.99
$84.19
Save
$32.58
Save
$32.58
Christmas Elk Loose Versatile Casual Jeans
$46.89
$79.47
Save
$37.60
Save
$37.60
Christmas Star Casual Easy-Matched Jeans
$47.85
$85.45
Save
$32.56
Save
$32.56
Christmas Tree Vintage Casual Jeans
$46.85
$79.41
Save
$33.88
Save
$33.88
Christmas Style Casual Loose Jeans
$46.79
$80.67
Save
$35.26
Save
$35.26
Christmas Collection Snowflake Loose Jeans
$46.74
$82.00
Save
$25.01
Save
$25.01
Retro Fashionable Gray Jeans
$40.55
$65.56
Save
$27.61
Save
$27.61
2023 New Winter Long-sleeves Hoodie
$71.39
$99.00
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}