${(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
/
Bottoms
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
` }()}
Bottoms
175 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 57%
Save 57%
Casual Sports Plus Size Plain Capris Leggings
$9.89
$22.98
+5
Save 60%
Save 60%
Solid Basic Capris Leggings
$15.98
$39.98
Save 21%
Save 21%
Fashion Yoga Exercise Casual Trousers
$16.98
$21.48
+2
Save 38%
Save 38%
Floral Print Hollow Out Slim And Skinny Nine-quarter Leggings
$17.98
$28.98
Save 30%
Save 30%
Summer Cotton Linen Loose Casual Pants
$27.98
$39.98
Save 30%
Save 30%
Elastic Waist Cotton Linen Loose Casual Pants
$21.98
$31.48
+1
Save 48%
Save 48%
Women Solid Lace Basic Capris Pants
$20.98
$39.98
Save 48%
Save 48%
Women's Casual Floral Casual Capris Pants
$20.98
$39.98
Save 31%
Save 31%
Little Daisy Summer Ripped Denim Shorts
$33.98
$48.98
Save 30%
Save 30%
Women's Dandelion Printed Loose Cotton Pocket Casual Shorts
$21.98
$31.48
+2
Save 30%
Save 30%
Summer Graphic Ripped Denim Shorts
$31.98
$45.98
Save 30%
Save 30%
Cotton And Linen Fashion Daily Side Pocket Cut-out Casual Pants
$29.98
$42.98
Save 30%
Save 30%
Women's Summer Nine-minute Cotton Linen Elastic Waist Pants
$29.98
$42.98
Save 32%
Save 32%
Women's Ripped Fringed Denim Straight Button Shorts
$25.98
$37.98
Save 31%
Save 31%
Fashion Solid Colour Elastic Waist Outdoor Nine-minute Pants
$32.98
$47.48
Save 30%
Save 30%
Fashion Solid Colour Cotton Linen Lace Elasticated Waist Pants
$30.98
$44.48
Save 30%
Save 30%
Women's Cotton Linen A-line Skirt
$29.98
$42.98
+2
Save 31%
Save 31%
Pearl Beard Santa Claus Printed Women's Leggings
$19.98
$28.98
Save 31%
Save 31%
Christmas Trees Printed Women's Leggings
$19.98
$28.98
Save 31%
Save 31%
Santa Claus Printed Women's Leggings
$19.98
$28.98
Save 31%
Save 31%
Pink Cartoon Santa Claus Print Leggings
$18.98
$27.48
Save 31%
Save 31%
Women's Cartoon Santa Claus Knitted Leggings
$18.98
$27.48
Save 31%
Save 31%
Women's Cartoon Santa Claus Floral Knitted Leggings
$18.98
$27.48
Save 31%
Save 31%
Merry Christmas Cartoon Reindeer Print Leggings
$18.98
$27.48
Save 31%
Save 31%
Merry Christmas Dogs Print Knitted Leggings
$18.98
$27.48
Save 31%
Save 31%
Merry Christmas Print Leggings
$18.98
$27.48
Save 31%
Save 31%
Santa Claus Print Leggings
$18.98
$27.48
Save 31%
Save 31%
Merry And Bright Print Leggings
$18.98
$27.48
Save 18%
Save 18%
Christmas Snowflakes Printed Women Casual Loose Red Wide-leg Pants
$27.98
$33.98
Save 31%
Save 31%
Santa Claus Print Women's Leggings
$18.98
$27.48
Save 32%
Save 32%
Summer beach sea turtle beach shorts
$24.98
$36.88
Save 31%
Save 31%
Fashion Halloween Peek Monster Print Leggings
$19.98
$28.98
Save 31%
Save 31%
Women's Tis The Season Football Print Casual Leggings
$19.98
$28.98
Save 31%
Save 31%
Solid Color Cotton And Linen Loose Pants
$26.98
$38.98
+1
Save 30%
Save 30%
Loose Linen Casual Pocket Solid Color Shorts
$22.98
$32.98
+1
Save 30%
Save 30%
Independence Day New Women's Five-point Pants Love Print Drawstring Large Size Shorts
$22.98
$32.98
+2
Save 31%
Save 31%
Side Cross American Flag Print Women's Leggings
$19.98
$28.98
Save 31%
Save 31%
Side Puppy Footprints American Flag Print Women's Leggings
$19.98
$28.98
Save 31%
Save 31%
Side Check Print Women's Leggings
$19.98
$28.98
Save 31%
Save 31%
Checkered Flag Stretch Skinny Print Women's Leggings
$19.98
$28.98
Save 31%
Save 31%
Women's Solid-colored Casual Shorts
$24.98
$35.98
+2
Save 31%
Save 31%
Women's Casual Cotton And linen Nine-quarter Pants
$25.98
$37.48
+1
Save 31%
Save 31%
Women's Cotton And Linen Casual Pants
$25.98
$37.48
Save 31%
Save 31%
Casual Coconut Printed Lace-up Women's Shorts
$24.98
$35.98
Save 29%
Save 29%
Yoga Exercise Trousers Casual Trousers
$23.98
$33.98
Save 31%
Save 31%
Solid Color Fashion Ladies Casual Pants
$24.98
$35.98
+4
Save 31%
Save 31%
Faith Cross Printed Casual Leggings
$19.98
$28.98
Save 31%
Save 31%
Easter Rabbit Printed Women's Leggings
$18.98
$27.48
Save 31%
Save 31%
Easter Rabbit Printed Women's Leggings
$18.98
$27.48
Save 31%
Save 31%
Color Block Print Women's Leggings
$18.98
$27.48
Save 31%
Save 31%
Animals Footprints Print Women's Leggings
$18.98
$27.48
Save 31%
Save 31%
Lucky Shamrock Print Leggings
$18.98
$27.48
Save 31%
Save 31%
Lucky Leaves Print Leggings
$18.98
$27.48
Save 31%
Save 31%
St. Patrick's Day Lucky Shamrock Print Stretch Leggings
$18.98
$27.48
Save 31%
Save 31%
St. Patrick's Day Lucky Shamrock Print Leggings
$18.98
$27.48
Save 31%
Save 31%
Women's Faith Cross Print Yoga Leggings
$18.98
$27.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}