${(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\/flat-lay", 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\/flat-lay-tops", 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\/flat-lay", 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\/flat-lay-tops", 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
/
Women's Hoodies & Tees
Women's Hoodies & Tees
246 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Save
$12.64
Save
$12.64
Cotton Embroidered Snowman Elk Christmas Stockings Gift Box
$16.76
$29.40
Save
$10.04
Save
$10.04
Santa Hat Lob Flanging Cute and Warm Gift
from
$13.87
$23.91
Save
$15.33
Save
$15.33
Christmas cute knitted warm wool gloves
$15.96
$31.29
+6
Save
$29.54
Save
$29.54
Christmas style cashmere scarf thickened warm shawl
$29.54
$59.08
+6
Save
$19.43
Save
$19.43
Christmas Plush Home Warm Cotton Slippers
$22.81
$42.24
Save
$7.09
Save
$7.09
Christmas coral fleece socks Christmas gift thickened cartoon
$7.99
$15.08
Save
$18.48
Save
$18.48
Christmas Knitted Thick Warm Finger Gloves
$22.59
$41.07
+2
Save
$8.01
Save
$8.01
Cat Christmas Sweater Warm Pet Clothes
$11.52
$19.53
Save
$28.62
Save
$28.62
Christmas thick lamb napkin
$39.52
$68.14
+2
Save
$5.97
Save
$5.97
Christmas Cartoon Tassel Hand Braided Long Earrings
$8.59
$14.56
Save
$4.08
Save
$4.08
Color Contrast Christmas Coral Fleece Thermal Socks
$4.99
$9.07
+4
Save
$35.58
Save
$35.58
Christmas Double Layer Flannel Blanket Thickened Sofa Cover
from
$38.55
$74.13
Save
$3.06
Save
$3.06
Christmas coral fleece thickened stockings
$4.59
$7.65
+4
Save
$4.86
Save
$4.86
New baby christmas socks cartoon coral fleece stockings
$6.99
$11.85
+3
Save
$14.90
Save
$14.90
Handmade Christmas Elk Sweet Thick Halter Mittens
$19.75
$34.65
+7
Save
$15.00
Save
$15.00
Premium Sense Cute Dog Versatile Scarf Christmas Gift
$19.89
$34.89
+1
Save
$42.39
Save
$42.39
Christmas Snowflake Sherpa Blanket Mattress Cover
$42.39
$84.78
Save
$7.73
Save
$7.73
Christmas Antler Knitted Gloves Cute Touch Screen Warm Gloves
$11.59
$19.32
Save
$12.17
Save
$12.17
Christmas pet dog clothes autumn and winter knitwear
$15.49
$27.66
Save
$19.42
Save
$19.42
Christmas Tree Embroidery Pillowcase Linen Ornament
$22.80
$42.22
Save
$4.91
Save
$4.91
Christmas style knitted shoulder bag
$8.99
$13.90
+1
Save
$18.92
Save
$18.92
Christmas cute cartoon home indoor plush shoes
$18.92
$37.84
+1
Save
$34.57
Save
$34.57
Christmas Eve Colorado Long Sleeve Loose Casual Sweatshirt
$37.45
$72.02
Save
$47.06
Save
$47.06
Christmas Cape Sofa Blanket
$59.90
$106.96
Save
$2.53
Save
$2.53
Christmas cartoon plush hair ring hair accessories
$3.99
$6.52
+3
Save
$27.08
Save
$27.08
Christmas style beard old man pullover sweater
$38.97
$66.05
Save
$25.53
Save
$25.53
Christmas style round neck girly casual sweater
$36.74
$62.27
Save
$37.34
Save
$37.34
Christmas Collection Elk Casual Vintage Jeans
$47.52
$84.86
Save
$17.50
Save
$17.50
Christmas knitted elk snowflake pile socks floor stockings
$17.50
$35.00
Save
$42.79
Save
$42.79
Christmas Elk-Themed Jacquard Sweater
$42.79
$85.58
Save
$36.20
Save
$36.20
Christmas series literary casual wide-leg jeans
$47.99
$84.19
Save
$35.72
Save
$35.72
Christmas Angel Face Casual Fashion Loose Sweater
$35.72
$71.44
Save
$33.23
Save
$33.23
Christmas tree turtleneck sweater
$45.89
$79.12
Save
$14.02
Save
$14.02
Christmas snowflake plaid tablecloth decoration atmosphere
from
$18.59
$32.61
+2
Save
$30.49
Save
$30.49
Christmas Style Boston Casual Sweatshirt
$35.79
$66.28
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
$30.42
Save
$30.42
Christmas Snowflake Colorblock Sweater
$45.63
$76.05
Save
$32.59
Save
$32.59
Santa Claus Casual Loose Sweatshirt
$36.75
$69.34
Save
$10.53
Save
$10.53
Christmas Striped Over-the-Knee Socks
$15.80
$26.33
+1
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}