${(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 ${ data.off_ratio }% ` : '' }` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `From
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
🚀Free Shipping On Orders Over
$69+
🎁Buy 5 get 6th FREE!🎁
🚀Free Shipping On Orders Over
$69+
🎁Buy 5 get 6th FREE!🎁
Search
Log in
Create an account
${data.data && data.data.count}
New Arrival🆕
🔥Best Seller🔥
🌈Colorful Style🌈
⚡CLEARANCE SALE⚡
Women Tops
🍁F/W Style🍁
🌈Art Painting🌈
🎀Ethnic Western Style🎀
☮Hippie Style☮
🐶Animal Lovers🐶
✝Faith Series✝
🍃Linen Blouses🍃
Wordy Edit Tee✍
Marble Style📌
🍁F/W Tops🍁
Bottoms
Pants
Leggings
Dresses & Jumpsuits
Accessories
Jewelry
Women's Shoes 🆕
Holiday
❤Valentine's Day❤
🐰Happy Easter🐰
🍀St. Patrick's Day🍀
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: 59758829, title: "New Arrival\ud83c\udd95", url: "\/collections\/new", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 59758831, title: "\ud83d\udd25Best Seller\ud83d\udd25", url: "\/collections\/best-seller", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 59758833, title: "\ud83c\udf08Colorful Style\ud83c\udf08", url: "\/collections\/hot-sale-colorful-style", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 59758835, title: "\u26a1CLEARANCE SALE\u26a1", url: "\/collections\/flash-sale", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 59758837, title: "Women Tops", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "\ud83c\udf41F\/W Style\ud83c\udf41", url: "\/collections\/best-sellers", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf08Art Painting\ud83c\udf08", url: "\/collections\/art-painting", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf80Ethnic Western Style\ud83c\udf80", url: "\/collections\/ethnic-western-style", target: "", levels: 0, children: [ ] }, { title: "\u262eHippie Style\u262e", url: "\/collections\/hippie-style", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc36Animal Lovers\ud83d\udc36", url: "\/collections\/animal-lovers", target: "", levels: 0, children: [ ] }, { title: "\u271dFaith Series\u271d", url: "\/collections\/\u271dfaith-series-kge2", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf43Linen Blouses\ud83c\udf43", url: "\/collections\/casual-blouses", target: "", levels: 0, children: [ ] }, { title: "Wordy Edit Tee\u270d", url: "\/collections\/trendy-wordy-womens-tops", target: "", levels: 0, children: [ ] }, { title: "Marble Style\ud83d\udccc", url: "\/collections\/marble-style", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf41F\/W Tops\ud83c\udf41", url: "\/collections\/trendy-tops", target: "", levels: 0, children: [ ] }, ] }, { id: 59758859, title: "Bottoms", url: "\/collections\/bottoms", target: "", levels: 1, product0: null || {}, children: [ { title: "Pants", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, { title: "Leggings", url: "\/collections\/leggings", target: "", levels: 0, children: [ ] }, ] }, { id: 59758865, title: "Dresses & Jumpsuits", url: "\/collections\/dresses-jumpsuits", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 59758867, title: "Accessories", url: "\/collections\/accessories", target: "", levels: 1, product0: null || {}, children: [ { title: "Jewelry", url: "\/collections\/jewelry", target: "", levels: 0, children: [ ] }, { title: "Women's Shoes \ud83c\udd95", url: "\/collections\/shoes", target: "", levels: 0, children: [ ] }, ] }, { id: 59758873, title: "Holiday", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "\u2764Valentine's Day\u2764", url: "\/collections\/valentines-day", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc30Happy Easter\ud83d\udc30", url: "\/collections\/easter-bunny", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf40St. Patrick's Day\ud83c\udf40", url: "\/collections\/\u2618saint-patricks-day\u2618", 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}
` })()}
New Arrival🆕
🔥Best Seller🔥
🌈Colorful Style🌈
⚡CLEARANCE SALE⚡
Women Tops
🍁F/W Style🍁
🌈Art Painting🌈
🎀Ethnic Western Style🎀
☮Hippie Style☮
🐶Animal Lovers🐶
✝Faith Series✝
🍃Linen Blouses🍃
Wordy Edit Tee✍
Marble Style📌
🍁F/W Tops🍁
Bottoms
Pants
Leggings
Dresses & Jumpsuits
Accessories
Jewelry
Women's Shoes 🆕
Holiday
❤Valentine's Day❤
🐰Happy Easter🐰
🍀St. Patrick's Day🍀
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: 59758829, title: "New Arrival\ud83c\udd95", url: "\/collections\/new", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 59758831, title: "\ud83d\udd25Best Seller\ud83d\udd25", url: "\/collections\/best-seller", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 59758833, title: "\ud83c\udf08Colorful Style\ud83c\udf08", url: "\/collections\/hot-sale-colorful-style", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 59758835, title: "\u26a1CLEARANCE SALE\u26a1", url: "\/collections\/flash-sale", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 59758837, title: "Women Tops", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "\ud83c\udf41F\/W Style\ud83c\udf41", url: "\/collections\/best-sellers", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf08Art Painting\ud83c\udf08", url: "\/collections\/art-painting", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf80Ethnic Western Style\ud83c\udf80", url: "\/collections\/ethnic-western-style", target: "", levels: 0, children: [ ] }, { title: "\u262eHippie Style\u262e", url: "\/collections\/hippie-style", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc36Animal Lovers\ud83d\udc36", url: "\/collections\/animal-lovers", target: "", levels: 0, children: [ ] }, { title: "\u271dFaith Series\u271d", url: "\/collections\/\u271dfaith-series-kge2", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf43Linen Blouses\ud83c\udf43", url: "\/collections\/casual-blouses", target: "", levels: 0, children: [ ] }, { title: "Wordy Edit Tee\u270d", url: "\/collections\/trendy-wordy-womens-tops", target: "", levels: 0, children: [ ] }, { title: "Marble Style\ud83d\udccc", url: "\/collections\/marble-style", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf41F\/W Tops\ud83c\udf41", url: "\/collections\/trendy-tops", target: "", levels: 0, children: [ ] }, ] }, { id: 59758859, title: "Bottoms", url: "\/collections\/bottoms", target: "", levels: 1, product0: null || {}, children: [ { title: "Pants", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, { title: "Leggings", url: "\/collections\/leggings", target: "", levels: 0, children: [ ] }, ] }, { id: 59758865, title: "Dresses & Jumpsuits", url: "\/collections\/dresses-jumpsuits", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 59758867, title: "Accessories", url: "\/collections\/accessories", target: "", levels: 1, product0: null || {}, children: [ { title: "Jewelry", url: "\/collections\/jewelry", target: "", levels: 0, children: [ ] }, { title: "Women's Shoes \ud83c\udd95", url: "\/collections\/shoes", target: "", levels: 0, children: [ ] }, ] }, { id: 59758873, title: "Holiday", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "\u2764Valentine's Day\u2764", url: "\/collections\/valentines-day", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc30Happy Easter\ud83d\udc30", url: "\/collections\/easter-bunny", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf40St. Patrick's Day\ud83c\udf40", url: "\/collections\/\u2618saint-patricks-day\u2618", 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}
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.
` })()}
New Arrival🆕
🔥Best Seller🔥
🌈Colorful Style🌈
⚡CLEARANCE SALE⚡
Women Tops
Women Tops
🍁F/W Style🍁
🌈Art Painting🌈
🎀Ethnic Western Style🎀
☮Hippie Style☮
🐶Animal Lovers🐶
✝Faith Series✝
🍃Linen Blouses🍃
Wordy Edit Tee✍
Marble Style📌
🍁F/W Tops🍁
Bottoms
Bottoms
Pants
Leggings
Dresses & Jumpsuits
Accessories
Accessories
Jewelry
Women's Shoes 🆕
Holiday
Holiday
❤Valentine's Day❤
🐰Happy Easter🐰
🍀St. Patrick's Day🍀
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
/
Tops
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
` }()}
Tops
5559 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
Save 30%
Save 30%
Ethnic Printed Colorblock Casual Women's Hoodie
$31.98
$45.98
Save 30%
Save 30%
Gradient Colorblock Casual Zipper Women's Hoodie
$31.98
$45.98
Save 30%
Save 30%
Colorblock Pink Plaid Printed Women's Pullover Sweatshirt
$31.98
$45.98
Save 30%
Save 30%
Sweet Gold Print Long Sleeve Top
$23.98
$34.48
Save 30%
Save 30%
Irregular Black And Red Check Casual Button Sweatshirt
$31.98
$45.98
Save 30%
Save 30%
Winter Snowflake Plaid Women's Casual Sweatshirt
$31.98
$45.98
Save 30%
Save 30%
Casual Plaid Patchwork Printed Women's Hoodie
$31.98
$45.98
Save 30%
Save 30%
Women 3/4 Sleeve Scoop Neck Floral Printed Women Tops
$23.98
$34.48
Save 30%
Save 30%
Colorblock Plaid Printed Casual Women's Pullover Sweatshirt
$31.98
$45.98
Save 30%
Save 30%
Casual Pink Plaid Patchwork Printed Women's Hoodie
$31.98
$45.98
Save 29%
Save 29%
Mixed Floral Patchwork Print Split Sleeve Top
$19.98
$27.98
Save 31%
Save 31%
Wild Short Sleeve Print Top
$19.98
$28.98
Save 29%
Save 29%
Sweet Watermelon Split Sleeve Top
$19.98
$27.98
Save 30%
Save 30%
Golden Butterflies Printed Long Sleeve Tops For Women
$23.98
$34.48
Save 30%
Save 30%
Women's V-neck Art Print Casual Tops
$23.98
$34.48
Save 30%
Save 30%
Women's Casual And Comfortable Ethnic Short Sleeve T-shirt
$24.98
$35.48
+1
Save 30%
Save 30%
Summer Cotton Linen Loose Casual Pants
$27.98
$39.98
Save 38%
Save 38%
Hohoho! Printed Casual Women's Tops
$24.98
$39.98
Save 30%
Save 30%
Gorgeous Sparkle Sequins Women's Casual Long Sleeves Tunic Tops
$22.98
$32.98
Save 38%
Save 38%
Christmas Elk Printed Elegant Women's Tops
$24.98
$39.98
Save 24%
Save 24%
Red Wine Glass With Christmas Hat Shiny Printed Women's Velvet Long-sleeved T-shirt
$24.98
$32.98
Save 18%
Save 18%
Fashion Patchwork Gorgeous Sequins Casual Long Sleeves Tunic Tops
$26.98
$32.98
Save 30%
Save 30%
Women Asymmetrical 3/4 Sleeve V-neck Striped Printed Top Dress
$23.98
$34.48
Save 57%
Save 57%
Casual Sports Plus Size Plain Capris Leggings
$9.89
$22.98
+5
Save 30%
Save 30%
Women's Vintage Ethnic Casual Tank Tops
$22.98
$32.98
Save 41%
Save 41%
Women's Western Vintage Pattern Printed Round Neck Sleeveless T-Shirt
$16.98
$28.98
Save 30%
Save 30%
Mandala Autumn Red ¾ Sleeve Top
$23.98
$34.48
Save 42%
Save 42%
Oil Painting Printed Women's Top
$19.98
$34.48
Save 35%
Save 35%
Women's Ethnic V-neck Patchwork Dress
$29.98
$45.98
Save 37%
Save 37%
Women's Vintage Floral Print Casual Tops
$18.98
$29.98
Save 37%
Save 37%
Art Color Block Printed Women's Casual Top
$19.98
$31.48
Save 30%
Save 30%
Women's Fashion Cotton And Linen Short Sleeves Tops
$23.98
$34.48
Save 30%
Save 30%
Women's Retro Ethnic Floral Casual Tank Tops
$22.98
$32.98
Save 31%
Save 31%
Women's Solid-colored Casual Shorts
$24.98
$35.98
+2
Save 48%
Save 48%
Women Solid Lace Basic Capris Pants
$20.98
$39.98
Save 28%
Save 28%
New European And American Summer Women's Printed Dress
$29.98
$41.48
Save 30%
Save 30%
Women's Retro Ethnic Color Block Casual Tank Tops
$22.98
$32.98
Save 30%
Save 30%
Women's Ethnic Casual Tank Tops
$22.98
$32.98
Save 35%
Save 35%
Whisper Words Of Wisdom Butterfly Printed Graphic Tees
$13.98
$21.48
+5
Save 33%
Save 33%
Women's short-sleeved printed ethnic fashion T-shirt
$21.98
$32.98
Save 31%
Save 31%
Women's Casual Cotton And linen Nine-quarter Pants
$25.98
$37.48
+1
Save 31%
Save 31%
Women'S It'S Five O'Clock Everywhere I'M Retired Tank Top
$19.98
$28.98
Save 33%
Save 33%
Vintage Floral Patterns Printed Women's T-shirt
$19.98
$29.98
Save 42%
Save 42%
Women's Color Block Round Neck Casual Tops
$19.98
$34.48
Save 31%
Save 31%
Women's Cotton And Linen Casual Pants
$25.98
$37.48
Save 37%
Save 37%
Women's Retro Blue Printed T-shirt
$18.98
$29.98
Save 30%
Save 30%
Summer Casual Solid Color Five-Part Pants For Women
$15.98
$22.98
+7
Save 36%
Save 36%
Abstract Painting Printed Women's Tops
$21.98
$34.48
Save 30%
Save 30%
Women's Vintage Floral Casual Tops
$20.98
$29.98
Save 31%
Save 31%
Polka Dot Short Sleeve V-Neck Print Mid Skirt
$26.98
$38.98
+6
Save 37%
Save 37%
Ethnic Floral Printed Women's Rond Neck Tops
$18.98
$29.98
Save 43%
Save 43%
Women's Marble Tie-dye Printing Graphic T-shirts
$17.98
$31.48
Save 40%
Save 40%
Colorful Oil Painting Printed Women's T-shirt
$17.98
$29.98
Save 33%
Save 33%
Vintage Oil Painting Printed Women's Top
$20.98
$31.48
Save 33%
Save 33%
Women's Retro Floral Round Neck Casual Tops
$19.98
$29.98
Save 42%
Save 42%
Vintage Ethnic Floral Printed Loose Women's Top
$19.98
$34.48
No products found
Use fewer filters or
clear all
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}