${(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}
` })()}
BUY 1 GET 2ND 10% OFF! BUY 5 GET 6TH FREE ✈FREE SHIPPING OVER $89.00
BUY 1 GET 2ND 10% OFF! BUY 5 GET 6TH FREE ✈FREE SHIPPING OVER $89.00
Search
Log in
Create an account
${data.data && data.data.count}
NEW IN
🔥BEST SELLER
🌸SS 2026
💙DENIM
JUMPSUITS
SETS
👗DRESSES
Long Sleeve Dresses
Short Sleeve Dresses
Pocket Cotton Dresses
Sleeveless Dresses
SKIRTS
👖PANTS
SOLID COLOR
TOPS
Shirts
T-Shirts
Long Sleeves
Sweaters
Cardigan
SHIRTS
3/4 Sleeve Shirts
1/2 Sleeve Shirts
Short Sleeve Shirts
Long Sleeve Shirts
Ruffle Shirts
V-neck Shirts
Crew Neck Shirts
Peter Pan shirts
SWEATERS
Turtleneck
3/4 Sleeve Sweaters
Cardigan Sweater
CARDIGAN
ACCESSORIES
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: 79879193, title: "NEW IN", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 79879195, title: "\ud83d\udd25BEST SELLER", url: "\/collections\/best-seller", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 83130405, title: "\ud83c\udf38SS 2026", url: "\/collections\/clothing", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 82743323, title: "\ud83d\udc99DENIM", url: "\/collections\/denim", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 79879257, title: "JUMPSUITS", url: "\/collections\/jumpsuit", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 79879255, title: "SETS", url: "\/collections\/sets", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 79879197, title: "\ud83d\udc57DRESSES", url: "\/collections\/dresses", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Long Sleeve Dresses", url: "\/collections\/long-sleeve-dresses", target: "", levels: 0, children: [ ] }, { title: "Short Sleeve Dresses", url: "\/collections\/short-sleeve-dress", target: "", levels: 0, children: [ ] }, { title: "Pocket Cotton Dresses", url: "\/collections\/pocket-cotton-dress", target: "", levels: 0, children: [ ] }, { title: "Sleeveless Dresses", url: "\/collections\/sleeveless-dress", target: "", levels: 0, children: [ ] }, { title: "SKIRTS", url: "\/collections\/skirt", target: "", levels: 0, children: [ ] }, ] }, { id: 79879259, title: "\ud83d\udc56PANTS", url: "\/collections\/bottoms", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 82064645, title: "SOLID COLOR", url: "\/collections\/solid-color-c8qk", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 79879223, title: "TOPS", url: "\/collections\/tops-tu29", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Shirts", url: "\/collections\/shirts", target: "", levels: 0, children: [ ] }, { title: "T-Shirts", url: "\/collections\/crew-neck-t-shirts", target: "", levels: 0, children: [ ] }, { title: "Long Sleeves", url: "\/collections\/long-sleeves", target: "", levels: 0, children: [ ] }, { title: "Sweaters", url: "\/collections\/sweaters", target: "", levels: 0, children: [ ] }, { title: "Cardigan", url: "\/collections\/cardigan", target: "", levels: 0, children: [ ] }, ] }, { id: 79879235, title: "SHIRTS", url: "\/collections\/shirts", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "3\/4 Sleeve Shirts", url: "\/collections\/3-4-sleeve-shirts", target: "", levels: 0, children: [ ] }, { title: "1\/2 Sleeve Shirts", url: "\/collections\/1-2-sleeve-shirts", target: "", levels: 0, children: [ ] }, { title: "Short Sleeve Shirts", url: "\/collections\/short-sleeve-shirts", target: "", levels: 0, children: [ ] }, { title: "Long Sleeve Shirts", url: "\/collections\/long-sleeve-shirts", target: "", levels: 0, children: [ ] }, { title: "Ruffle Shirts", url: "\/collections\/ruffle-shirts", target: "", levels: 0, children: [ ] }, { title: "V-neck Shirts", url: "\/collections\/v-neck-shirts", target: "", levels: 0, children: [ ] }, { title: "Crew Neck Shirts", url: "\/collections\/crew-neck-shirts", target: "", levels: 0, children: [ ] }, { title: "Peter Pan shirts", url: "\/collections\/peter-pan-shirts", target: "", levels: 0, children: [ ] }, ] }, { id: 81048829, title: "SWEATERS", url: "\/collections\/sweaters", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Turtleneck", url: "\/collections\/turtleneck", target: "", levels: 0, children: [ ] }, { title: "3\/4 Sleeve Sweaters", url: "\/collections\/3-4-sleeve-sweaters", target: "", levels: 0, children: [ ] }, { title: "Cardigan Sweater", url: "\/collections\/cardigan-sweater", target: "", levels: 0, children: [ ] }, { title: "CARDIGAN", url: "\/collections\/cardigan", target: "", levels: 0, children: [ ] }, ] }, { id: 79879261, title: "ACCESSORIES", url: "\/collections\/accessories", target: "", levels: 0, product0: { id: (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}
` })()}
NEW IN
🔥BEST SELLER
🌸SS 2026
💙DENIM
JUMPSUITS
SETS
👗DRESSES
Long Sleeve Dresses
Short Sleeve Dresses
Pocket Cotton Dresses
Sleeveless Dresses
SKIRTS
👖PANTS
SOLID COLOR
TOPS
Shirts
T-Shirts
Long Sleeves
Sweaters
Cardigan
SHIRTS
3/4 Sleeve Shirts
1/2 Sleeve Shirts
Short Sleeve Shirts
Long Sleeve Shirts
Ruffle Shirts
V-neck Shirts
Crew Neck Shirts
Peter Pan shirts
SWEATERS
Turtleneck
3/4 Sleeve Sweaters
Cardigan Sweater
CARDIGAN
ACCESSORIES
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: 79879193, title: "NEW IN", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 79879195, title: "\ud83d\udd25BEST SELLER", url: "\/collections\/best-seller", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 83130405, title: "\ud83c\udf38SS 2026", url: "\/collections\/clothing", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 82743323, title: "\ud83d\udc99DENIM", url: "\/collections\/denim", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 79879257, title: "JUMPSUITS", url: "\/collections\/jumpsuit", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 79879255, title: "SETS", url: "\/collections\/sets", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 79879197, title: "\ud83d\udc57DRESSES", url: "\/collections\/dresses", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Long Sleeve Dresses", url: "\/collections\/long-sleeve-dresses", target: "", levels: 0, children: [ ] }, { title: "Short Sleeve Dresses", url: "\/collections\/short-sleeve-dress", target: "", levels: 0, children: [ ] }, { title: "Pocket Cotton Dresses", url: "\/collections\/pocket-cotton-dress", target: "", levels: 0, children: [ ] }, { title: "Sleeveless Dresses", url: "\/collections\/sleeveless-dress", target: "", levels: 0, children: [ ] }, { title: "SKIRTS", url: "\/collections\/skirt", target: "", levels: 0, children: [ ] }, ] }, { id: 79879259, title: "\ud83d\udc56PANTS", url: "\/collections\/bottoms", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 82064645, title: "SOLID COLOR", url: "\/collections\/solid-color-c8qk", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 79879223, title: "TOPS", url: "\/collections\/tops-tu29", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Shirts", url: "\/collections\/shirts", target: "", levels: 0, children: [ ] }, { title: "T-Shirts", url: "\/collections\/crew-neck-t-shirts", target: "", levels: 0, children: [ ] }, { title: "Long Sleeves", url: "\/collections\/long-sleeves", target: "", levels: 0, children: [ ] }, { title: "Sweaters", url: "\/collections\/sweaters", target: "", levels: 0, children: [ ] }, { title: "Cardigan", url: "\/collections\/cardigan", target: "", levels: 0, children: [ ] }, ] }, { id: 79879235, title: "SHIRTS", url: "\/collections\/shirts", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "3\/4 Sleeve Shirts", url: "\/collections\/3-4-sleeve-shirts", target: "", levels: 0, children: [ ] }, { title: "1\/2 Sleeve Shirts", url: "\/collections\/1-2-sleeve-shirts", target: "", levels: 0, children: [ ] }, { title: "Short Sleeve Shirts", url: "\/collections\/short-sleeve-shirts", target: "", levels: 0, children: [ ] }, { title: "Long Sleeve Shirts", url: "\/collections\/long-sleeve-shirts", target: "", levels: 0, children: [ ] }, { title: "Ruffle Shirts", url: "\/collections\/ruffle-shirts", target: "", levels: 0, children: [ ] }, { title: "V-neck Shirts", url: "\/collections\/v-neck-shirts", target: "", levels: 0, children: [ ] }, { title: "Crew Neck Shirts", url: "\/collections\/crew-neck-shirts", target: "", levels: 0, children: [ ] }, { title: "Peter Pan shirts", url: "\/collections\/peter-pan-shirts", target: "", levels: 0, children: [ ] }, ] }, { id: 81048829, title: "SWEATERS", url: "\/collections\/sweaters", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Turtleneck", url: "\/collections\/turtleneck", target: "", levels: 0, children: [ ] }, { title: "3\/4 Sleeve Sweaters", url: "\/collections\/3-4-sleeve-sweaters", target: "", levels: 0, children: [ ] }, { title: "Cardigan Sweater", url: "\/collections\/cardigan-sweater", target: "", levels: 0, children: [ ] }, { title: "CARDIGAN", url: "\/collections\/cardigan", target: "", levels: 0, children: [ ] }, ] }, { id: 79879261, title: "ACCESSORIES", url: "\/collections\/accessories", target: "", levels: 0, product0: { id: (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}
Search
${(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(){ if (data === undefined || typeof data !== 'string' || data == '') return '
'; const keyword = encodeURIComponent(data); return `
View more
Your search for '${data}' did not yield any results.
` })()}
NEW IN
🔥BEST SELLER
🌸SS 2026
💙DENIM
JUMPSUITS
SETS
👗DRESSES
👗DRESSES
Long Sleeve Dresses
Short Sleeve Dresses
Pocket Cotton Dresses
Sleeveless Dresses
SKIRTS
👖PANTS
SOLID COLOR
TOPS
TOPS
Shirts
T-Shirts
Long Sleeves
Sweaters
Cardigan
SHIRTS
SHIRTS
3/4 Sleeve Shirts
1/2 Sleeve Shirts
Short Sleeve Shirts
Long Sleeve Shirts
Ruffle Shirts
V-neck Shirts
Crew Neck Shirts
Peter Pan shirts
SWEATERS
SWEATERS
Turtleneck
3/4 Sleeve Sweaters
Cardigan Sweater
CARDIGAN
ACCESSORIES
Log in
Create an account
(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(); })();
CHIC
249 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
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's Casual Cotton And Linen Pleated Shirt
$39.99
+3
Save
$4.00
Save
$4.00
Women's Solid Color Lapel Long Sleeve Casual Loose Linen Cardigan Top
$35.99
$39.99
+4
Women's Solid Color Draped Neck 3/4 Sleeve Comfortable Casual Linen Pocket Top
$29.99
+10
Women's Solid Color Pleated Drawstring Casual Cotton and Linen Wide Leg Pants
$49.99
+5
Women's Brushstroke Print Cotton and Linen Skirt
$39.99
+3
Women's Sleeveless Cotton and Linen Top
$29.99
Women's Solid Color Round Neck 3/4 Sleeves Casual Linen Slit Long Top
$43.99
+5
Save
$6.00
Save
$6.00
Women's Boho Floral Print Stretch Dress
$39.99
$45.99
+1
Women's Cotton And Linen Casual Wide Leg Pants
$45.99
+1
Save
$5.00
Save
$5.00
Women's Elegant Mesh Boutonniere Dress
$48.99
$53.99
+4
Save
$7.00
Save
$7.00
Women's Printed Satin Cardigan Dress Two-Piece Set
$52.99
$59.99
+3
Save
$4.00
Save
$4.00
Women's Pleated Cotton and Ramie Long-sleeved Dress
$45.99
$49.99
+5
Women's Round Neck Pocket Cotton and Linen Dress
$38.99
+7
Women's Lapel Button Knitted Cardigan Sweater
$36.99
+5
Women's Waisted Linen Cotton Long Sleeve Dress
$49.99
+4
Women's V-neck Long Sleeve Vintage Positioning Print Casual Loose Cotton and Linen Dress
$49.99
+3
Women's Tassel Pocket Linen Shirt Dress
$59.99
Women's Floral Print V-Neck Cotton and Linen Dress
$53.99
+2
Women's Button-down Slit Linen Top
$22.99
+1
Women's Casual Cotton and Linen Shirt
$38.99
+4
Women's Elegant Floral Print Corset Dress
$56.99
Save
$6.00
Save
$6.00
Ladies Solid Color V-Neck Casual 3/4 Sleeves Long Cotton and Linen Dress
$46.99
$52.99
+4
Women's Brushstroke Print Strapless Cotton and Linen Tank Dress
$49.99
+3
Women's Round Neck 3/4 Sleeve Striped Print Casual Cotton and Linen Cardigan Top
$42.99
Save
$3.00
Save
$3.00
Women's Casual Cotton and Linen Peter Pan Collar Short Sleeve Dress
$49.99
$52.99
+6
Women's Lapel Long Sleeve Solid Color Casual Sweater
$35.99
Women's Adjustable Shoulder Strap Pocket Cotton and Linen Dress
$38.99
+6
Women's Casual Denim Pleated Shirt
$39.99
Women's Casual Cotton And Linen 3/4 Sleeve Shirt
$29.99
+3
Women's Animal Print Cotton and Linen Cardigan and Pants Two-piece Set
$69.99
Save
$6.00
Save
$6.00
Animal Pattern Round Neck Midi Dress
$36.99
$42.99
+1
Women's Front and Back Two-way Casual Cotton And Linen Short Sleeve Shirt
$29.99
+6
Women's Casual Solid Color V-neck Sweater Top
$35.99
+2
Women's Flower Bouquet Print Loose Linen Dress
$49.99
+2
Shirt Collar Button Front Sleeveless Saxophone Dress
$42.99
Women's Casual Linen Cotton Pleated Pocket Dress
$49.99
+3
Women's Solid Color High Waist A-Line Casual Skirt
$39.99
+3
Women's Solid Color Elastic Waist Buttons Casual Pockets Linen Skirt
$38.99
+5
Women's Cotton And Linen Casual Vest and Pants Set
$59.99
+4
Women'S Casual Solid Color Irregular Cotton And Linen Shirt and Pats Suit
$58.99
+8
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 = 89; 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 = 89; 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) { const nameEscape = opt.name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, '') product_change_event = product_change_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `@${nameEscape}Mouseout="quick-shop-selected-variant-${opt.id}.rerender(data=event.selectData.${opt.name}, redo=true);"`; mouse_over_event = mouse_over_event + `@${nameEscape}Mouseover="quick-shop-selected-variant-${opt.id}.rerender(data=event, redo=true);"`; } 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 optionId = option.id || ''; 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}