${(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
Hoodies
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
Home Tools
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: 71410469, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 71410471, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 71410473, title: "Japanese Dress", url: "\/collections\/japanese-dress", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 71410475, 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: 71410497, 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: [ ] }, { title: "Hoodies", url: "\/collections\/hoodies", target: "", levels: 0, children: [ ] }, ] }, { id: 71410519, 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: 71410535, 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: 71410563, 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: 71410583, 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: [ ] }, { title: "Home Tools", url: "\/collections\/home-tools", target: "", levels: 0, children: [ ] }, ] }, { id: 71410595, 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
Hoodies
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
Home Tools
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(); })();
Sweatshirts
121 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
New Fashion V-Neck Long Sleeve Sweatshirts
$21.81
+2
Add to cart
Choose an option
1-GH0019-Black-Asian S/
$21.81
1-GH0019-Black-Asian M/
$21.81
1-GH0019-Black-Asian L/
$21.81
1-GH0019-Black-Asian XL/
$21.81
1-GH0019-Black-Asian XXL/
$21.81
1-GH0019-Black-Asian XXXL/
$21.81
1-GH0019-Black-Asian 4XL/
$21.81
1-GH0019-Black-Asian 5XL/
$21.81
1-GH0019-Blue-Asian S/
$21.81
1-GH0019-Blue-Asian M/
$21.81
1-GH0019-Blue-Asian L/
$21.81
1-GH0019-Blue-Asian XL/
$21.81
1-GH0019-Blue-Asian XXL/
$21.81
1-GH0019-Blue-Asian XXXL/
$21.81
1-GH0019-Blue-Asian 4XL/
$21.81
1-GH0019-Blue-Asian 5XL/
$21.81
1-GH0019-Gray-Asian S/
$21.81
1-GH0019-Gray-Asian M/
$21.81
1-GH0019-Gray-Asian L/
$21.81
1-GH0019-Gray-Asian XL/
$21.81
1-GH0019-Gray-Asian XXL/
$21.81
1-GH0019-Gray-Asian XXXL/
$21.81
1-GH0019-Gray-Asian 4XL/
$21.81
1-GH0019-Gray-Asian 5XL/
$21.81
1-GH0019-Khaki-Asian S/
$21.81
1-GH0019-Khaki-Asian M/
$21.81
1-GH0019-Khaki-Asian L/
$21.81
1-GH0019-Khaki-Asian XL/
$21.81
1-GH0019-Khaki-Asian XXL/
$21.81
1-GH0019-Khaki-Asian XXXL/
$21.81
1-GH0019-Khaki-Asian 4XL/
$21.81
1-GH0019-Khaki-Asian 5XL/
$21.81
1-GH0019-Orange-Asian S/
$21.81
1-GH0019-Orange-Asian M/
$21.81
1-GH0019-Orange-Asian L/
$21.81
1-GH0019-Orange-Asian XL/
$21.81
1-GH0019-Orange-Asian XXL/
$21.81
1-GH0019-Orange-Asian XXXL/
$21.81
1-GH0019-Orange-Asian 4XL/
$21.81
1-GH0019-Orange-Asian 5XL/
$21.81
Women's Art Color Block Print Crew Neck Sweatshirt
$28.99
Add to cart
Choose an option
Red-XS/
$28.99
Red-S/
$28.99
Red-M/
$28.99
Red-L/
$28.99
Red-XL/
$28.99
Red-2XL/
$28.99
Red-3XL/
$28.99
Red-4XL/
$28.99
Red-5XL/
$28.99
Red-6XL/
$28.99
Unisex Classic Floral Print Knit Sweatshirt
$31.99
Add to cart
Choose an option
Gray-S/
$31.99
Gray-M/
$31.99
Gray-L/
$31.99
Gray-XL/
$31.99
Gray-2XL/
$31.99
Gray-3XL/
$31.99
Gray-4XL/
$31.99
Gray-5XL/
$31.99
Mushroom Art Print Teacher Gifts Knit Pullover Sweater
$30.99
Add to cart
Choose an option
Multicolor-S/
$30.99
Multicolor-M/
$30.99
Multicolor-L/
$30.99
Multicolor-XL/
$30.99
Multicolor-2XL/
$30.99
Multicolor-3XL/
$30.99
Multicolor-4XL/
$30.99
Multicolor-5XL/
$30.99
Retro Cowgirl Print Crew Neck Sweatshirt
$28.99
Add to cart
Choose an option
Yellow-XS/
$28.99
Yellow-S/
$28.99
Yellow-M/
$28.99
Yellow-L/
$28.99
Yellow-XL/
$28.99
Yellow-2XL/
$28.99
Yellow-3XL/
$28.99
Yellow-4XL/
$28.99
Yellow-5XL/
$28.99
Yellow-6XL/
$28.99
Christmas Tree Art Print Knit Pullover Sweater
$30.99
Add to cart
Choose an option
Multicolor-S/
$30.99
Multicolor-M/
$30.99
Multicolor-L/
$30.99
Multicolor-XL/
$30.99
Multicolor-2XL/
$30.99
Multicolor-3XL/
$30.99
Multicolor-4XL/
$30.99
Multicolor-5XL/
$30.99
Retro Cowgirl Print Crew Neck Sweatshirt
$28.99
Add to cart
Choose an option
Red-XS/
$28.99
Red-S/
$28.99
Red-M/
$28.99
Red-L/
$28.99
Red-XL/
$28.99
Red-2XL/
$28.99
Red-3XL/
$28.99
Red-4XL/
$28.99
Red-5XL/
$28.99
Red-6XL/
$28.99
Women's Art Botanical Print Crew Neck Sweatshirt
$28.99
Add to cart
Choose an option
Blue-XS/
$28.99
Blue-S/
$28.99
Blue-M/
$28.99
Blue-L/
$28.99
Blue-XL/
$28.99
Blue-2XL/
$28.99
Blue-3XL/
$28.99
Blue-4XL/
$28.99
Blue-5XL/
$28.99
Blue-6XL/
$28.99
Women's Floral Print Crew Neck Sweatshirt
$28.99
Add to cart
Choose an option
Beige-XS/
$28.99
Beige-S/
$28.99
Beige-M/
$28.99
Beige-L/
$28.99
Beige-XL/
$28.99
Beige-2XL/
$28.99
Beige-3XL/
$28.99
Beige-4XL/
$28.99
Beige-5XL/
$28.99
Beige-6XL/
$28.99
Women's Embroidered Flower Print Crew Neck Sweatshirt
$28.99
Add to cart
Choose an option
Khaki-XS/
$28.99
Khaki-S/
$28.99
Khaki-M/
$28.99
Khaki-L/
$28.99
Khaki-XL/
$28.99
Khaki-2XL/
$28.99
Khaki-3XL/
$28.99
Khaki-4XL/
$28.99
Khaki-5XL/
$28.99
Khaki-6XL/
$28.99
Women's Hummingbird Flower Print Crew Neck Sweatshirt
$28.99
Add to cart
Choose an option
Pink-XS/
$28.99
Pink-S/
$28.99
Pink-M/
$28.99
Pink-L/
$28.99
Pink-XL/
$28.99
Pink-2XL/
$28.99
Pink-3XL/
$28.99
Pink-4XL/
$28.99
Pink-5XL/
$28.99
Pink-6XL/
$28.99
Women's Hummingbird Floral Print Crew Neck Sweatshirt
$28.99
Add to cart
Choose an option
Blue-XS/
$28.99
Blue-S/
$28.99
Blue-M/
$28.99
Blue-L/
$28.99
Blue-XL/
$28.99
Blue-2XL/
$28.99
Blue-3XL/
$28.99
Blue-4XL/
$28.99
Blue-5XL/
$28.99
Blue-6XL/
$28.99
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}