${(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
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: 68070407, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 68070409, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 68070411, title: "Japanese Dress", url: "\/collections\/japanese-dress", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 68070413, 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: 68070435, 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: 68070457, 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: 68070473, 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: 68070501, 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: 68070521, 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: 68070531, 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
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(); })();
Sweater Vest
183 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
Fashion Pullover Solid Color V-neck Loose Sweater Vest
$33.58
Add to cart
Choose an option
One Size-Black/
$33.58
One Size-Army Green/
$33.58
One Size-Khaki/
$33.58
One Size-Gray/
$33.58
Women Vintage Single-breasted Chic Patchwork Sweater Vest
$31.66
Add to cart
Choose an option
One Size-orange sweater vest/
$31.66
One Size-beige sweater vest/
$31.66
Women Knitted V-Neck Sweater Vest
$22.95
+6
Add to cart
Choose an option
yellow vest-One Size/
$22.95
blue vest-One Size/
$22.95
green vest-One Size/
$22.95
apricot vest-One Size/
$22.95
white vest-One Size/
$22.95
orange vest-One Size/
$22.95
coffee vest-One Size/
$22.95
black t shirt-One Size/
$22.95
white t shirt-One Size/
$22.95
Women Casual Turtleneck Pink Knitted Sweater Vest
$29.64
Add to cart
Choose an option
S-Gray style-1/
$29.64
S-Red style-3/
$29.64
S-Yellow style-1/
$29.64
S-Purple style-3/
$29.64
S-Black style-3/
$29.64
S-Pink style-3/
$29.64
S-Pink style-1/
$29.64
S-Purple style-1/
$29.64
S-Rose red style-3/
$29.64
M-Gray style-1/
$29.64
M-Red style-3/
$29.64
M-Yellow style-1/
$29.64
M-Purple style-3/
$29.64
M-Black style-3/
$29.64
M-Pink style-3/
$29.64
M-Pink style-1/
$29.64
M-Purple style-1/
$29.64
M-Rose red style-3/
$29.64
L-Gray style-1/
$29.64
L-Red style-3/
$29.64
L-Yellow style-1/
$29.64
L-Purple style-3/
$29.64
L-Black style-3/
$29.64
L-Pink style-3/
$29.64
L-Pink style-1/
$29.64
L-Purple style-1/
$29.64
L-Rose red style-3/
$29.64
XL-Gray style-1/
$29.64
XL-Red style-3/
$29.64
XL-Yellow style-1/
$29.64
XL-Purple style-3/
$29.64
XL-Black style-3/
$29.64
XL-Pink style-3/
$29.64
XL-Pink style-1/
$29.64
XL-Purple style-1/
$29.64
XL-Rose red style-3/
$29.64
XXL-Gray style-1/
$29.64
XXL-Red style-3/
$29.64
XXL-Yellow style-1/
$29.64
XXL-Purple style-3/
$29.64
XXL-Black style-3/
$29.64
XXL-Pink style-3/
$29.64
XXL-Pink style-1/
$29.64
XXL-Purple style-1/
$29.64
XXL-Rose red style-3/
$29.64
Female Wool V-neck Knitted Vest
$36.94
+2
Add to cart
Choose an option
Beige-One Size/
$36.94
Black-One Size/
$36.94
Gray-One Size/
$36.94
Green-One Size/
$36.94
Khaki-One Size/
$36.94
Women Short Knitted Solid Color Loose Sweater Vest
$26.95
+4
Add to cart
Choose an option
blue vest-S/
$26.95
blue vest-M/
$26.95
blue vest-L/
$26.95
blue vest-XL/
$26.95
white vest-S/
$26.95
white vest-M/
$26.95
white vest-L/
$26.95
white vest-XL/
$26.95
yellow vest-S/
$26.95
yellow vest-M/
$26.95
yellow vest-L/
$26.95
yellow vest-XL/
$26.95
pink vest-S/
$26.95
pink vest-M/
$26.95
pink vest-L/
$26.95
pink vest-XL/
$26.95
khaki vest-S/
$26.95
khaki vest-M/
$26.95
khaki vest-L/
$26.95
khaki vest-XL/
$26.95
black vest-S/
$26.95
black vest-M/
$26.95
black vest-L/
$26.95
black vest-XL/
$26.95
apricot vest-S/
$26.95
apricot vest-M/
$26.95
apricot vest-L/
$26.95
apricot vest-XL/
$26.95
Solid Color Tassel V Neck Knitted Vest
$22.95
+4
Add to cart
Choose an option
pink-S/
$22.95
pink-M/
$22.95
pink-L/
$22.95
pink-XL/
$22.95
pink-XXL/
$22.95
white-S/
$22.95
white-M/
$22.95
white-L/
$22.95
white-XL/
$22.95
white-XXL/
$22.95
black-S/
$22.95
black-M/
$22.95
black-L/
$22.95
black-XL/
$22.95
black-XXL/
$22.95
red-S/
$22.95
red-M/
$22.95
red-L/
$22.95
red-XL/
$22.95
red-XXL/
$22.95
green-S/
$22.95
green-M/
$22.95
green-L/
$22.95
green-XL/
$22.95
green-XXL/
$22.95
gray-S/
$22.95
gray-M/
$22.95
gray-L/
$22.95
gray-XL/
$22.95
gray-XXL/
$22.95
yellow-S/
$22.95
yellow-M/
$22.95
yellow-L/
$22.95
yellow-XL/
$22.95
yellow-XXL/
$22.95
Women Autumn Retro Sleeveless Knitted Vest
$22.95
Add to cart
Choose an option
S-Black/
$22.95
S-Khaki/
$22.95
S-Navy Blue/
$22.95
M-Black/
$22.95
M-Khaki/
$22.95
M-Navy Blue/
$22.95
L-Black/
$22.95
L-Khaki/
$22.95
L-Navy Blue/
$22.95
Woman Knitted V-neck Thickened Mid-length Sweater Vest
$29.20
Add to cart
Choose an option
One Size-black/
$29.20
One Size-gray/
$29.20
Autumn Solid Fashion Casual Knitted Vest V-neck
$29.99
Add to cart
Choose an option
S-Blue/
$29.99
S-Off-white/
$29.99
S-caramel colour/
$29.99
S-Khaki/
$29.99
S-Pink/
$29.99
M-Blue/
$29.99
M-Off-white/
$29.99
M-caramel colour/
$29.99
M-Khaki/
$29.99
M-Pink/
$29.99
L-Blue/
$29.99
L-Off-white/
$29.99
L-caramel colour/
$29.99
L-Khaki/
$29.99
L-Pink/
$29.99
XL-Blue/
$29.99
XL-Off-white/
$29.99
XL-caramel colour/
$29.99
XL-Khaki/
$29.99
XL-Pink/
$29.99
XXL-Blue/
$29.99
XXL-Off-white/
$29.99
XXL-caramel colour/
$29.99
XXL-Khaki/
$29.99
XXL-Pink/
$29.99
XXXL-Blue/
$29.99
XXXL-Off-white/
$29.99
XXXL-caramel colour/
$29.99
XXXL-Khaki/
$29.99
XXXL-Pink/
$29.99
Women's Solid Color V-neck Casual Sweater Vest
$24.55
Add to cart
Choose an option
khaki-one size/
$24.55
black-one size/
$24.55
brown-one size/
$24.55
Women Autumn Korean Style Casual V Neck Knitted Sweater Vest
$26.95
+1
Add to cart
Choose an option
apricot-One Size/
$26.95
Black-One Size/
$26.95
camel-One Size/
$26.95
coffee-One Size/
$26.95
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}