${(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
` })()}
Search
Log in
Create an account
${data.data && data.data.count}
Home
New In
Japanese Dress
Dresses
Linen & Cotton Dresses
Maxi Dresses
Casual Dresses
Bodycon Dresses
Party Dresses
Floral Dress
Mini Dresses
Vacation Dresses
Midi Dresses
Sweater Dresses
Tops
Blouses&Shirts
Loose Tops
T-shirts
Vests
Knitwear
Knit Tops
Casual Tops
Tank & Camis
Sweatshirts
Outerwear
Sweaters
Cardigans
Coat
Hoodies
Jackets
Blazer
Sweater Vest
Bottoms
Linen & Cotton Bottoms
Women's Print Pants
Vintage Printed Pants
Printed Jumpsuit
Jumpsuits
Casual Pants
Leggings
Shorts
Romper
Skirts
Suits Set
Cargo Pants
Jeans
Accessories
Gloves & Mittens
Scarfs
Socks&Tights
Bags
Hats
Necklace
DIY Accessories
Warmers
Belts
Home Accessories
Tablecloth
Knitted Blankets
Home Decor
Yarn
Contact Us
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: 67504283, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 67504285, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 67504287, title: "Japanese Dress", url: "\/collections\/japanese-dress", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 67504289, title: "Dresses", url: "\/collections\/dresses", 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: [ ] }, { title: "Midi Dresses", url: "\/collections\/midi-dresses", target: "", levels: 0, children: [ ] }, { title: "Sweater Dresses", url: "\/collections\/sweater-dresses", target: "", levels: 0, children: [ ] }, ] }, { id: 67504311, title: "Tops", url: "\/collections\/tops", target: "", levels: 1, product0: null || {}, children: [ { title: "Blouses&Shirts", url: "\/collections\/blouses-shirts", target: "", levels: 0, children: [ ] }, { title: "Loose Tops", url: "\/collections\/loose-tops", target: "", levels: 0, children: [ ] }, { title: "T-shirts", url: "\/collections\/t-shirts", target: "", levels: 0, children: [ ] }, { title: "Vests ", url: "\/collections\/vests", target: "", levels: 0, children: [ ] }, { title: "Knitwear", url: "\/collections\/knitwear", target: "", levels: 0, children: [ ] }, { title: "Knit Tops", url: "\/collections\/knit-tops", target: "", levels: 0, children: [ ] }, { title: "Casual Tops", url: "\/collections\/casual-tops", target: "", levels: 0, children: [ ] }, { title: "Tank & Camis ", url: "\/collections\/tank-camis", target: "", levels: 0, children: [ ] }, { title: "Sweatshirts ", url: "\/collections\/sweatshirts", target: "", levels: 0, children: [ ] }, ] }, { id: 67504331, title: "Outerwear", url: "\/collections\/outerwear", 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: 67504347, title: "Bottoms ", url: "\/collections\/bottoms", target: "", levels: 1, product0: null || {}, children: [ { title: "Linen & Cotton Bottoms", url: "\/collections\/linen-cotton-bottoms", target: "", levels: 0, children: [ ] }, { title: "Women's Print Pants", url: "\/collections\/womens-print-pants", target: "", levels: 0, children: [ ] }, { title: "Vintage Printed Pants", url: "\/collections\/vintage-printed-pants", target: "", levels: 0, children: [ ] }, { title: "Printed Jumpsuit", url: "\/collections\/printed-jumpsuit", 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: [ ] }, { title: "Jeans", url: "\/collections\/jeans", target: "", levels: 0, children: [ ] }, ] }, { id: 67504375, title: "Accessories", url: "\/collections\/accessories", target: "", levels: 1, product0: null || {}, children: [ { title: "Gloves & Mittens", url: "\/collections\/gloves-mittens", 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: 67504395, title: "Home Accessories", url: "\/collections\/home-accessories", 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: [ ] }, { title: "Yarn", url: "\/collections\/yarn", target: "", levels: 0, children: [ ] }, ] }, { id: 67504405, title: "Contact Us", url: "\/pages\/contact-us", target: "", levels: 0, product0: null || {}, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Log in
Create an account
${data.data && data.data.count}
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.
` })()}
Home
New In
Japanese Dress
Dresses
Dresses
Linen & Cotton Dresses
Maxi Dresses
Casual Dresses
Bodycon Dresses
Party Dresses
Floral Dress
Mini Dresses
Vacation Dresses
Midi Dresses
Sweater Dresses
Tops
Tops
Blouses&Shirts
Loose Tops
T-shirts
Vests
Knitwear
Knit Tops
Casual Tops
Tank & Camis
Sweatshirts
Outerwear
Outerwear
Sweaters
Cardigans
Coat
Hoodies
Jackets
Blazer
Sweater Vest
Bottoms
Bottoms
Linen & Cotton Bottoms
Women's Print Pants
Vintage Printed Pants
Printed Jumpsuit
Jumpsuits
Casual Pants
Leggings
Shorts
Romper
Skirts
Suits Set
Cargo Pants
Jeans
Accessories
Accessories
Gloves & Mittens
Scarfs
Socks&Tights
Bags
Hats
Necklace
DIY Accessories
Warmers
Belts
Home Accessories
Home Accessories
Tablecloth
Knitted Blankets
Home Decor
Yarn
Contact Us
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(); })();
Scarfs
469 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
Scarf Women Fashion Women Soild Star Printing Button Soft Wrap Casual Warm Scarves Shawls
$22.98
+51
Add to cart
Choose an option
1/
$22.98
2/
$22.98
3/
$22.98
4/
$22.98
11/
$22.98
6/
$22.98
7/
$22.98
8/
$22.98
9/
$22.98
10/
$22.98
12/
$22.98
13/
$22.98
14/
$22.98
15/
$22.98
16/
$22.98
17/
$22.98
18/
$22.98
19/
$22.98
20/
$22.98
21/
$22.98
22/
$22.98
23/
$22.98
24/
$22.98
25/
$22.98
26/
$22.98
27/
$22.98
28/
$22.98
29/
$22.98
30/
$22.98
31/
$22.98
32/
$22.98
33/
$22.98
34/
$22.98
35/
$22.98
36/
$22.98
37/
$22.98
38/
$22.98
39/
$22.98
40/
$22.98
41/
$22.98
42/
$22.98
43/
$22.98
44/
$22.98
45/
$22.98
46/
$22.98
47/
$22.98
48/
$22.98
49/
$22.98
50/
$22.98
51/
$22.98
52/
$22.98
53/
$22.98
54/
$22.98
5/
$22.98
Brown Shift Ombre/tie-Dye Vintage Scarves & Shawls
$21.66
Add to cart
Choose an option
Brown-S/
$21.66
Brown-M/
$21.66
Brown-L/
$21.66
Brown-XL/
$21.66
Brown-XXL/
$21.66
Brown-3XL/
$21.66
Brown-4XL/
$21.66
Brown-5XL/
$21.66
Women's Casual Multicolor Stripes Round Neck Scarves & Shawls
$19.99
+1
Add to cart
Choose an option
Multicolor-S/
$19.99
Multicolor-M/
$19.99
Multicolor-L/
$19.99
Multicolor-XL/
$19.99
Multicolor-XXL/
$19.99
Multicolor-3XL/
$19.99
Multicolor-4XL/
$19.99
Multicolor-5XL/
$19.99
Rose Red-S/
$19.99
Rose Red-M/
$19.99
Rose Red-L/
$19.99
Rose Red-XL/
$19.99
Rose Red-XXL/
$19.99
Rose Red-3XL/
$19.99
Rose Red-4XL/
$19.99
Rose Red-5XL/
$19.99
Royal Blue-S/
$19.99
Royal Blue-M/
$19.99
Royal Blue-L/
$19.99
Royal Blue-XL/
$19.99
Royal Blue-XXL/
$19.99
Royal Blue-3XL/
$19.99
Royal Blue-4XL/
$19.99
Royal Blue-5XL/
$19.99
Lake Blue-S/
$19.99
Lake Blue-M/
$19.99
Lake Blue-L/
$19.99
Lake Blue-XL/
$19.99
Lake Blue-XXL/
$19.99
Lake Blue-3XL/
$19.99
Lake Blue-4XL/
$19.99
Lake Blue-5XL/
$19.99
Women Plaid Scarf Winter Shawls Cashmere Thick Wraps
$26.23
+9
Add to cart
Choose an option
WJ137-1/
$26.23
WJ137-2/
$26.23
WJ137-3/
$26.23
WJ137-4/
$26.23
WJ137-5/
$26.23
WJ137-6/
$26.23
WJ137-7/
$26.23
WJ137-8/
$26.23
WJ137-9/
$26.23
WJ137-10/
$26.23
WJ137-11/
$26.23
WJ137-12/
$26.23
Red Vintage Cotton-Blend Scarves & Shawls
$21.66
Add to cart
Choose an option
Red-One-size/
$21.66
Blue-One-size/
$21.66
Green-One-size/
$21.66
silk scarf for women shawls beach stoles foulard
$27.01
+62
Add to cart
Choose an option
B-48/
$27.01
B-17-1/
$27.01
B-17-2/
$27.01
B-17-3/
$27.01
B-13/
$27.01
SC1/
$27.01
SC2/
$27.01
B-138Beige pink/
$27.01
B-138Pink/
$27.01
SC3/
$27.01
B-134/
$27.01
B-135/
$27.01
B-136/
$27.01
B-9/
$27.01
B-134Beige/
$27.01
B-134Pink/
$27.01
B-133Water green/
$27.01
B-133Pink purple/
$27.01
B-133Mica color/
$27.01
B-97/
$27.01
SC8/
$27.01
B-99/
$27.01
B-131Beige/
$27.01
B-131Pink/
$27.01
B-131Aqua blue/
$27.01
B-130Pink/
$27.01
B-130M yellow/
$27.01
B-130Beige/
$27.01
B-35/
$27.01
B-3510/
$27.01
B-3511/
$27.01
B-3512/
$27.01
B-39/
$27.01
B-3913/
$27.01
B-3914/
$27.01
B-3915/
$27.01
B-37/
$27.01
B-124Beige/
$27.01
B-124purple/
$27.01
B-124Pink/
$27.01
B-124Light blue/
$27.01
SC16/
$27.01
SC17/
$27.01
SC18/
$27.01
SC19/
$27.01
SC20/
$27.01
B-79black/
$27.01
B-59Coffee/
$27.01
B-59green/
$27.01
B-59Wine red/
$27.01
B-59gray/
$27.01
B-59/
$27.01
B-5921/
$27.01
B-4/
$27.01
SC22/
$27.01
SC23/
$27.01
SC24/
$27.01
B-3725/
$27.01
B-3726/
$27.01
B-3727/
$27.01
SC28/
$27.01
B-117pink/
$27.01
B-117Light green/
$27.01
B-107green/
$27.01
SC/
$27.01
Luxury brand women scarf luxury summer silk scarves lady shawl wrap hijab foulard female bandana pashmina Pearl jewel headband
$18.38
+33
Add to cart
Choose an option
17 Black gold/
$18.38
1 apricot/
$18.38
2 Light grey/
$18.38
3 Dark grey/
$18.38
4 Black gold/
$18.38
5 pink/
$18.38
6 Milk white/
$18.38
18 Watermelon red/
$18.38
19 Pale pink/
$18.38
7 Red bean powder/
$18.38
8 Grass green/
$18.38
9 red/
$18.38
10 navy/
$18.38
11 Pale pink/
$18.38
36 Rubber red/
$18.38
12 camel/
$18.38
13 Ginger yellow/
$18.38
20 Milk white/
$18.38
21 Grass green/
$18.38
14 Black silver/
$18.38
15 Red silk/
$18.38
22 Bordeaux red/
$18.38
16 Jujube red/
$18.38
23 camel/
$18.38
24 Black silver/
$18.38
25 grey Silver/
$18.38
26 Red gold/
$18.38
27 ginger/
$18.38
28 Khaki/
$18.38
29 Red bean powder/
$18.38
30 navy/
$18.38
31 beige/
$18.38
32 Taro purple/
$18.38
33 Dark grey/
$18.38
34 Gray gold/
$18.38
35 red/
$18.38
Wild Shawl Collar Scarf
$20.45
+3
Add to cart
Choose an option
Red-F/
$20.45
Yellow-F/
$20.45
Green-F/
$20.45
Blue-F/
$20.45
Purple-F/
$20.45
Brown-F/
$20.45
Knitted Boho Ombre/tie-Dye Scarves & Shawls
$18.16
Add to cart
Color-Block Casual Knitted Scarves & Shawls
$21.66
+2
Add to cart
Choose an option
Blue-One-size/
$21.66
Purple-One-size/
$21.66
Green-One-size/
$21.66
Red-One-size/
$21.66
Yellow-One-size/
$21.66
Scarf
$20.96
+3
Add to cart
Choose an option
color1-One-size/
$20.96
color2-One-size/
$20.96
Color3-One-size/
$20.96
color4-One-size/
$20.96
color5-One-size/
$20.96
color6-One-size/
$20.96
Women Solid Scarf Fashion Retro Female Multi-Purpose Shawl Scarf
$26.82
+2
Add to cart
Choose an option
GN/
$26.82
KH/
$26.82
YE/
$26.82
A/
$26.82
C/
$26.82
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}