${(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}
` })()}
Search
Log in
Create an account
${data.data && data.data.count}
Dresses
Party Dresses
Bodycon Dresses
Maxi Dresses
Satin Dresses
Mini Dresses
Shirt Dresses
Casual Dresses
Cutout Dresses
Faux Leather Dresses
Tops
Sweaters
Coats
Jackets&Blazers
Shirts&Blouse
Tops Tees
Tank Tops Camis
Two Piece Set
Cardigans
Hoodie
Bottoms
Jeans
Pants
Shorts
Skirts
Sweatpants
Jumpsuit
Plus Size
Plus Size Dresses
Plus Size Sets
Plus Size Tops
Plus Size Bottoms
Plus Size Swimwear
Swimwear
Bikinis
Tankinis
Cover Ups
One Piece Swimsuits
Plus Size Swimwear
Shoes
Sandals
Loafers
Sneakers
Heels
Accessories
Necklace
Earrings
Bohemian Bags
Bracelet
Rings
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: 66156055, title: "Dresses", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Party Dresses", url: "\/collections\/party-dresses", target: "", levels: 0, children: [ ] }, { title: "Bodycon Dresses", url: "\/collections\/bodycon-dresses", target: "", levels: 0, children: [ ] }, { title: "Maxi Dresses", url: "\/collections\/maxi-dresses", target: "", levels: 0, children: [ ] }, { title: "Satin Dresses", url: "\/collections\/satin-dresses", target: "", levels: 0, children: [ ] }, { title: "Mini Dresses", url: "\/collections\/sundress", target: "", levels: 0, children: [ ] }, { title: "Shirt Dresses", url: "\/collections\/shirt-dresses", target: "", levels: 0, children: [ ] }, { title: "Casual Dresses", url: "\/collections\/casual-dresses", target: "", levels: 0, children: [ ] }, { title: "Cutout Dresses", url: "\/collections\/cutout-dresses", target: "", levels: 0, children: [ ] }, { title: "Faux Leather Dresses", url: "\/collections\/faux-leather-dresses", target: "", levels: 0, children: [ ] }, ] }, { id: 66156075, title: "Tops", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Sweaters", url: "\/collections\/sweaters", target: "", levels: 0, children: [ ] }, { title: "Coats", url: "\/collections\/coats", target: "", levels: 0, children: [ ] }, { title: "Jackets&Blazers", url: "\/collections\/jackets-blazers", target: "", levels: 0, children: [ ] }, { title: "Shirts&Blouse", url: "\/collections\/shirts-blouses", target: "", levels: 0, children: [ ] }, { title: "Tops Tees", url: "\/collections\/tops-tees", target: "", levels: 0, children: [ ] }, { title: "Tank Tops Camis", url: "\/collections\/tank-tops", target: "", levels: 0, children: [ ] }, { title: "Two Piece Set", url: "\/collections\/two-piece-set", target: "", levels: 0, children: [ ] }, { title: "Cardigans", url: "\/collections\/cardigans", target: "", levels: 0, children: [ ] }, { title: "Hoodie", url: "\/collections\/hoodie", target: "", levels: 0, children: [ ] }, ] }, { id: 66156095, title: "Bottoms", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Jeans", url: "\/collections\/jeans", target: "", levels: 0, children: [ ] }, { title: "Pants", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, { title: "Shorts", url: "\/collections\/shorts", target: "", levels: 0, children: [ ] }, { title: "Skirts", url: "\/collections\/skirts", target: "", levels: 0, children: [ ] }, { title: "Sweatpants", url: "\/collections\/sweatpants", target: "", levels: 0, children: [ ] }, { title: "Jumpsuit", url: "\/collections\/jumpsuit", target: "", levels: 0, children: [ ] }, ] }, { id: 66156109, title: "Plus Size", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Plus Size Dresses", url: "\/collections\/plus-size-dresses", target: "", levels: 0, children: [ ] }, { title: "Plus Size Sets", url: "\/collections\/plus-size-sets", target: "", levels: 0, children: [ ] }, { title: "Plus Size Tops", url: "\/collections\/plus-size-tops", target: "", levels: 0, children: [ ] }, { title: "Plus Size Bottoms", url: "\/collections\/plus-size-bottoms", target: "", levels: 0, children: [ ] }, { title: "Plus Size Swimwear", url: "\/collections\/plus-size-swimwear", target: "", levels: 0, children: [ ] }, ] }, { id: 66156121, title: "Swimwear", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Bikinis", url: "\/collections\/bikinis", target: "", levels: 0, children: [ ] }, { title: "Tankinis", url: "\/collections\/tankinis", target: "", levels: 0, children: [ ] }, { title: "Cover Ups", url: "\/collections\/cover-ups", target: "", levels: 0, children: [ ] }, { title: "One Piece Swimsuits", url: "\/collections\/one-piece-swimsuits", target: "", levels: 0, children: [ ] }, { title: "Plus Size Swimwear", url: "\/collections\/plus-size-swimwear", target: "", levels: 0, children: [ ] }, ] }, { id: 66156133, title: "Shoes", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Sandals", url: "\/collections\/sandals", target: "", levels: 0, children: [ ] }, { title: "Loafers", url: "\/collections\/loafers", target: "", levels: 0, children: [ ] }, { title: "Sneakers", url: "\/collections\/sneakers", target: "", levels: 0, children: [ ] }, { title: "Heels", url: "\/collections\/heels", target: "", levels: 0, children: [ ] }, ] }, { id: 66156143, title: "Accessories", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Necklace", url: "\/collections\/necklace", target: "", levels: 0, children: [ ] }, { title: "Earrings", url: "\/collections\/earrings", target: "", levels: 0, children: [ ] }, { title: "Bohemian Bags", url: "\/collections\/bags", target: "", levels: 0, children: [ ] }, { title: "Bracelet", url: "\/collections\/bracelet", target: "", levels: 0, children: [ ] }, { title: "Rings", url: "\/collections\/rings", 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}
` })()}
Dresses
Party Dresses
Bodycon Dresses
Maxi Dresses
Satin Dresses
Mini Dresses
Shirt Dresses
Casual Dresses
Cutout Dresses
Faux Leather Dresses
Tops
Sweaters
Coats
Jackets&Blazers
Shirts&Blouse
Tops Tees
Tank Tops Camis
Two Piece Set
Cardigans
Hoodie
Bottoms
Jeans
Pants
Shorts
Skirts
Sweatpants
Jumpsuit
Plus Size
Plus Size Dresses
Plus Size Sets
Plus Size Tops
Plus Size Bottoms
Plus Size Swimwear
Swimwear
Bikinis
Tankinis
Cover Ups
One Piece Swimsuits
Plus Size Swimwear
Shoes
Sandals
Loafers
Sneakers
Heels
Accessories
Necklace
Earrings
Bohemian Bags
Bracelet
Rings
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: 66156055, title: "Dresses", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Party Dresses", url: "\/collections\/party-dresses", target: "", levels: 0, children: [ ] }, { title: "Bodycon Dresses", url: "\/collections\/bodycon-dresses", target: "", levels: 0, children: [ ] }, { title: "Maxi Dresses", url: "\/collections\/maxi-dresses", target: "", levels: 0, children: [ ] }, { title: "Satin Dresses", url: "\/collections\/satin-dresses", target: "", levels: 0, children: [ ] }, { title: "Mini Dresses", url: "\/collections\/sundress", target: "", levels: 0, children: [ ] }, { title: "Shirt Dresses", url: "\/collections\/shirt-dresses", target: "", levels: 0, children: [ ] }, { title: "Casual Dresses", url: "\/collections\/casual-dresses", target: "", levels: 0, children: [ ] }, { title: "Cutout Dresses", url: "\/collections\/cutout-dresses", target: "", levels: 0, children: [ ] }, { title: "Faux Leather Dresses", url: "\/collections\/faux-leather-dresses", target: "", levels: 0, children: [ ] }, ] }, { id: 66156075, title: "Tops", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Sweaters", url: "\/collections\/sweaters", target: "", levels: 0, children: [ ] }, { title: "Coats", url: "\/collections\/coats", target: "", levels: 0, children: [ ] }, { title: "Jackets&Blazers", url: "\/collections\/jackets-blazers", target: "", levels: 0, children: [ ] }, { title: "Shirts&Blouse", url: "\/collections\/shirts-blouses", target: "", levels: 0, children: [ ] }, { title: "Tops Tees", url: "\/collections\/tops-tees", target: "", levels: 0, children: [ ] }, { title: "Tank Tops Camis", url: "\/collections\/tank-tops", target: "", levels: 0, children: [ ] }, { title: "Two Piece Set", url: "\/collections\/two-piece-set", target: "", levels: 0, children: [ ] }, { title: "Cardigans", url: "\/collections\/cardigans", target: "", levels: 0, children: [ ] }, { title: "Hoodie", url: "\/collections\/hoodie", target: "", levels: 0, children: [ ] }, ] }, { id: 66156095, title: "Bottoms", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Jeans", url: "\/collections\/jeans", target: "", levels: 0, children: [ ] }, { title: "Pants", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, { title: "Shorts", url: "\/collections\/shorts", target: "", levels: 0, children: [ ] }, { title: "Skirts", url: "\/collections\/skirts", target: "", levels: 0, children: [ ] }, { title: "Sweatpants", url: "\/collections\/sweatpants", target: "", levels: 0, children: [ ] }, { title: "Jumpsuit", url: "\/collections\/jumpsuit", target: "", levels: 0, children: [ ] }, ] }, { id: 66156109, title: "Plus Size", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Plus Size Dresses", url: "\/collections\/plus-size-dresses", target: "", levels: 0, children: [ ] }, { title: "Plus Size Sets", url: "\/collections\/plus-size-sets", target: "", levels: 0, children: [ ] }, { title: "Plus Size Tops", url: "\/collections\/plus-size-tops", target: "", levels: 0, children: [ ] }, { title: "Plus Size Bottoms", url: "\/collections\/plus-size-bottoms", target: "", levels: 0, children: [ ] }, { title: "Plus Size Swimwear", url: "\/collections\/plus-size-swimwear", target: "", levels: 0, children: [ ] }, ] }, { id: 66156121, title: "Swimwear", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Bikinis", url: "\/collections\/bikinis", target: "", levels: 0, children: [ ] }, { title: "Tankinis", url: "\/collections\/tankinis", target: "", levels: 0, children: [ ] }, { title: "Cover Ups", url: "\/collections\/cover-ups", target: "", levels: 0, children: [ ] }, { title: "One Piece Swimsuits", url: "\/collections\/one-piece-swimsuits", target: "", levels: 0, children: [ ] }, { title: "Plus Size Swimwear", url: "\/collections\/plus-size-swimwear", target: "", levels: 0, children: [ ] }, ] }, { id: 66156133, title: "Shoes", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Sandals", url: "\/collections\/sandals", target: "", levels: 0, children: [ ] }, { title: "Loafers", url: "\/collections\/loafers", target: "", levels: 0, children: [ ] }, { title: "Sneakers", url: "\/collections\/sneakers", target: "", levels: 0, children: [ ] }, { title: "Heels", url: "\/collections\/heels", target: "", levels: 0, children: [ ] }, ] }, { id: 66156143, title: "Accessories", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Necklace", url: "\/collections\/necklace", target: "", levels: 0, children: [ ] }, { title: "Earrings", url: "\/collections\/earrings", target: "", levels: 0, children: [ ] }, { title: "Bohemian Bags", url: "\/collections\/bags", target: "", levels: 0, children: [ ] }, { title: "Bracelet", url: "\/collections\/bracelet", target: "", levels: 0, children: [ ] }, { title: "Rings", url: "\/collections\/rings", 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
Dresses
Party Dresses
Bodycon Dresses
Maxi Dresses
Satin Dresses
Mini Dresses
Shirt Dresses
Casual Dresses
Cutout Dresses
Faux Leather Dresses
Tops
Sweaters
Coats
Jackets&Blazers
Shirts&Blouse
Tops Tees
Tank Tops Camis
Two Piece Set
Cardigans
Hoodie
Bottoms
Jeans
Pants
Shorts
Skirts
Sweatpants
Jumpsuit
Plus Size
Plus Size Dresses
Plus Size Sets
Plus Size Tops
Plus Size Bottoms
Plus Size Swimwear
Swimwear
Bikinis
Tankinis
Cover Ups
One Piece Swimsuits
Plus Size Swimwear
Shoes
Sandals
Loafers
Sneakers
Heels
Accessories
Necklace
Earrings
Bohemian Bags
Bracelet
Rings
${(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.
` })()}
${(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.
` })()}
Dresses
Dresses
Party Dresses
Bodycon Dresses
Maxi Dresses
Satin Dresses
Mini Dresses
Shirt Dresses
Casual Dresses
Cutout Dresses
Faux Leather Dresses
Tops
Tops
Sweaters
Coats
Jackets&Blazers
Shirts&Blouse
Tops Tees
Tank Tops Camis
Two Piece Set
Cardigans
Hoodie
Bottoms
Bottoms
Jeans
Pants
Shorts
Skirts
Sweatpants
Jumpsuit
Plus Size
Plus Size
Plus Size Dresses
Plus Size Sets
Plus Size Tops
Plus Size Bottoms
Plus Size Swimwear
Swimwear
Swimwear
Bikinis
Tankinis
Cover Ups
One Piece Swimsuits
Plus Size Swimwear
Shoes
Shoes
Sandals
Loafers
Sneakers
Heels
Accessories
Accessories
Necklace
Earrings
Bohemian Bags
Bracelet
Rings
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(); })();
Casual Dresses
474 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
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 square neck lantern short sleeve printed hem slit long dress
$22.91
New women's casual printed tube top dress
$25.61
New Commuting Solid Color V-Neck Waist Puff Sleeve Swing Dress
$25.23
+1
New style lotus leaf lace sling sexy hot girl slit dress long skirt
$34.11
Bohemian Dress Feminine Square Neck Three Quarter Sleeve Maxi Dress
$34.61
+1
Elegant suspender dress mid length dress
$36.75
+2
Women's Elegant Floral Sleeveless Dress
$36.42
Holiday Style Deep V Puff Sleeve Dress
$31.64
+1
New fashionable pullover deep V-neck loose puff sleeve colorful casual dress
$33.09
Women's Fashionable Floral Pastoral Long Dress
$24.95
+8
Ladies Casual Fashion Lace Suit Dress
$24.79
Women's Fashion Slanted Shoulder Bow Knot Set Slit Large Swing Dress Two-Piece Set
$27.36
+4
Women's fashion new hot girl halter neck backless sexy strappy pleated long skirt suit
$29.58
+1
Women's sleeveless hottie long suspender dress
$26.63
New women's short sleeve printed V-neck dress
$26.60
New women's leopard print boat neck dress
$26.41
New Spring and Summer Elegant Casual Commuting Fashion Dress Set
$44.11
New style elegant mesh printed slim fit tube top dress
$23.27
New tube top and sleeveless elegant ladies dress with elegant craftsmanship
$31.61
+1
Women's Solid Color Elegant Loose Dress
$32.40
New solid color temperament V-neck short-sleeved dress
$28.81
New bohemian lace long dress white beach dress new tube top one shoulder sexy dress
$32.44
New women's fashionable halterneck sexy low-cut backless knitted hollow see-through dress
$27.82
New fashionable personalized suspender-fitting hip-hugging slim hem slit backless dress
$28.37
No products found
Use fewer filters or
clear all
Recently Viewed
Cart
Your shopping bag is empty
Continue shopping
${item.product_title}
${item.options.map(option => option.value).join('/')}
${propertie.name}/${propertie.isImage ? `
View image
` : propertie.value}
Free gift
Mixed Lot
*${item.quantity}
${item.item_text}
${discount_item.title}
(-
)
Total:
(Tax included)
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
${data.invalid_msg}
Total:
(Tax included)
(Tax included)
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
Check out
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
Subtotal:
${discount_application.title}:
-
Total:
(Tax included)
Check out
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
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}