${(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 FOR ORDERS OVER $59
FREE SHIPPING FOR ORDERS OVER $59
Log in
Create an account
${data.data && data.data.count}
New In
Best Sellers
Sale
Dresses
View All
Short Dresses
Midi Dresses
Long Dresses
Party Dresses
Bodycon Dresses
Sweater Dresses
Satin Dresses
Sequin Dresses
Sexy Dresses
Plus Size Dresses
Blooms Love Ruched Long Sleeve Mini Dress
$84.00
+2
Style
Summer Dresses
Casual Dresses
Floral Dresses
Vacation Dresses
Black Dresses
White Dresses
Romantic and Elegant Pleated Strapless Maxi Dress
$95.99
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: 68357907, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68357909, title: "Best Sellers", url: "\/collections\/best-sellers", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68357911, title: "Sale", url: "\/collections\/sale", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68357913, title: "Dresses", url: "\/collections\/all-dresses", target: "", levels: 1, product0: { id: ("c28ed058-317d-42dd-89ce-5d20ed1f752e") }, children: [ { title: "View All", url: "\/collections\/all-dresses", target: "", levels: 0, children: [ ] }, { title: "Short Dresses", url: "\/collections\/short-dresses", target: "", levels: 0, children: [ ] }, { title: "Midi Dresses", url: "\/collections\/midi-dresses", target: "", levels: 0, children: [ ] }, { title: "Long Dresses", url: "\/collections\/long-dresses", target: "", levels: 0, children: [ ] }, { title: "Party Dresses", url: "\/collections\/party-dresses", target: "", levels: 0, children: [ ] }, { title: "Bodycon Dresses", url: "\/collections\/bodycon-dresses", target: "", levels: 0, children: [ ] }, { title: " Sweater Dresses", url: "\/collections\/sweater-dresses", target: "", levels: 0, children: [ ] }, { title: " Satin Dresses", url: "\/collections\/satin-dresses", target: "", levels: 0, children: [ ] }, { title: "Sequin Dresses", url: "\/collections\/sequin-dresses", target: "", levels: 0, children: [ ] }, { title: "Sexy Dresses", url: "\/collections\/sexy-dresses", target: "", levels: 0, children: [ ] }, { title: "Plus Size Dresses", url: "\/collections\/plus-size-dresses", target: "", levels: 0, children: [ ] }, ] }, { id: 68357937, title: "Style", url: "\/collections\/casual-dresses", target: "", levels: 1, product0: { id: ("d18dd43a-6e37-4d29-8350-8718118f6c9b") }, children: [ { title: "Summer Dresses", url: "\/collections\/summer-dresses", target: "", levels: 0, children: [ ] }, { title: " Casual Dresses", url: "\/collections\/casual-dresses", target: "", levels: 0, children: [ ] }, { title: "Floral Dresses", url: "\/collections\/floral-dresses", target: "", levels: 0, children: [ ] }, { title: "Vacation Dresses", url: "\/collections\/vacation-dresses-i2x3", target: "", levels: 0, children: [ ] }, { title: "Black Dresses", url: "\/collections\/black-dresses", target: "", levels: 0, children: [ ] }, { title: "White Dresses", url: "\/collections\/white-dresses", 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}
${(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 In
Best Sellers
Sale
Dresses
Dresses
View All
Short Dresses
Midi Dresses
Long Dresses
Party Dresses
Bodycon Dresses
Sweater Dresses
Satin Dresses
Sequin Dresses
Sexy Dresses
Plus Size Dresses
Style
Style
Summer Dresses
Casual Dresses
Floral Dresses
Vacation Dresses
Black Dresses
White Dresses
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(); })();
Summer Dresses
Shop Now
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
` }()}
Short Dresses
Midi Dresses
Long Dresses
Bodycon Dresses
Party Dresses
$114.00
She Shines Poplin Scalloped-Hem Mini Dress
$114.00
$128.00
Euphoric Girl Flower Detail Mini Dress
$128.00
$68.99
Chic Mini Light Sky Blue Party Homecoming Dress
$68.99
$42.98
Cowl Neck Ruffles Slip Mini Dress
$42.98
$48.50
Deep V-Neck Backless Ruffled Mini Dress
$48.50
$36.99
V Neck Half Sleeve Floral Print Mini Dress
$36.99
$114.00
She Shines Poplin Scalloped-Hem Mini Dress
$114.00
$128.00
Euphoric Girl Flower Detail Mini Dress
$128.00
$68.99
Chic Mini Light Sky Blue Party Homecoming Dress
$68.99
$42.98
Cowl Neck Ruffles Slip Mini Dress
$42.98
View more
$42.00
Minimalism Tank Midi Dress
$42.00
$35.00
Sweetheart Puff Sleeve Button Down Midi Dress
$35.00
$36.00
Floral Print Cutout Waist Midi Dress
$36.00
$19.99
Off-Shoulder Drawstring Irregular Hem Long Dress
$19.99
$85.00
Velvet Off-shoulder Patchwork Slit Midi Dress
$85.00
$35.00
Mesh Floral Print Ruched Long Sleeve Midi Dress
$35.00
$42.00
Minimalism Tank Midi Dress
$42.00
$35.00
Sweetheart Puff Sleeve Button Down Midi Dress
$35.00
$36.00
Floral Print Cutout Waist Midi Dress
$36.00
$19.99
Off-Shoulder Drawstring Irregular Hem Long Dress
$19.99
View more
$49.99
White A-Line Sleeveless Maxi Dress
$49.99
$42.00
Dot Lace Sheer Maxi Cover Dress
$42.00
$40.99
Boho V-neck Ruffled Floral Maxi Dress
$40.99
$39.99
Artistic Zebra Stripes Print Maxi Dress
$39.99
$49.99
One Shoulder Ruched Asymmetrical Maxi Dress
$49.99
$42.99
Unique Backless Long Sleeve High Slit Maxi Dress - White
$42.99
$49.99
White A-Line Sleeveless Maxi Dress
$49.99
$42.00
Dot Lace Sheer Maxi Cover Dress
$42.00
$40.99
Boho V-neck Ruffled Floral Maxi Dress
$40.99
$39.99
Artistic Zebra Stripes Print Maxi Dress
$39.99
View more
$46.17
Long Sleeve Slim Dress: Spring Elegant Sexy High Split Hip Wrapped Maxi Dress
$46.17
$35.63
Women’s Elegant Solid Color Slim Strap Dress for Spring Summer
$35.63
$47.04
Summer Women Clothing Sexy Dress Mesh One Shoulder Backless Hip Dress
$47.04
$18.98
Short Sleeve Slit Sexy Mini Dress Summer Women Fashion Streetwear Outfits Cute Solid Party Clothing
$18.98
$32.48
Lace Up Green Velvet Strap Maxi Dress For Women Side Slit Backless Bodycon Sexy Prom Dress Outfit Elegant Birthday Party
$32.48
$19.98
Sexy Backless Halter Elegant Bandage Maxi Dress Outfits for Women Sleeveless Summer Club Party Black Gown Dresses
$19.98
$46.17
Long Sleeve Slim Dress: Spring Elegant Sexy High Split Hip Wrapped Maxi Dress
$46.17
$35.63
Women’s Elegant Solid Color Slim Strap Dress for Spring Summer
$35.63
$47.04
Summer Women Clothing Sexy Dress Mesh One Shoulder Backless Hip Dress
$47.04
$18.98
Short Sleeve Slit Sexy Mini Dress Summer Women Fashion Streetwear Outfits Cute Solid Party Clothing
$18.98
View more
$29.00
Two-Tone Halter Puff Short Dress
$29.00
$35.00
Velvet Cut Out Bowknot Mini Dress
$35.00
$29.00
Asymmetric Open Back Slit Long Dress
$29.00
$35.00
Satin Rosette Decor Halter Midi Dress
$35.00
$85.00
Velvet Off-shoulder Patchwork Slit Midi Dress
$85.00
$32.00
Floral Print Cami Long Dress
$32.00
$29.00
Two-Tone Halter Puff Short Dress
$29.00
$35.00
Velvet Cut Out Bowknot Mini Dress
$35.00
$29.00
Asymmetric Open Back Slit Long Dress
$29.00
$35.00
Satin Rosette Decor Halter Midi Dress
$35.00
View more
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
${(data.index + 1) }/${data.total}
` }()}
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
${(data.index + 1) }/${data.total}
` }()}
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
${(data.index + 1) }/${data.total}
` }()}
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
${(data.index + 1) }/${data.total}
` }()}
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
` }()}
$44.00
$44.00
Multi Floral Lettuce Trim Short Dress
$44.00
$73.88
$32.00
$32.00
Floral Print Cami Long Dress
$32.00
$32.00
$32.00
Floral Knotted Keyhole Neckline Cami Short Dress
$32.00
$35.00
$35.00
Floral Print Shirred Cami Long Dress
$35.00
$29.00
$29.00
Sheer Floral Print Cami Long Dress
$29.00
$49.00
$49.00
Lace Jacquard Floral Semi-sheer Tied Maxi Dress
$49.00
$28.00
$28.00
Cami Floral Bohemian Vacation Midi Dress
$28.00
$45.50
$45.50
Floral Print Ruffle Trim Split Midi Dress
$45.50
$32.00
$32.00
Floral Pattern Cami Midi Dress
$32.00
$26.00
$26.00
Floral Print Cami Long Dress
$26.00
$32.00
$32.00
Floral Print Shirred Back Ruffle Knotted Short Dress
$32.00
$34.00
$34.00
Floral Print Cami Long Dress
$34.00
$28.00
$28.00
Backless Knotted Split Long Knit Dress
$28.00
$58.00
$58.00
Backless Bow Long Dress
$58.00
$52.00
$52.00
Cotton Embroidery Decor Backless Long Dress
$52.00
$34.00
$34.00
Jacquard Floral Lace Contrast Trim Cami Midi Dress
$34.00
$49.00
$49.00
Eyelet Floral Open Back Long Dress
$49.00
$46.00
$46.00
Criss Cross Tie Up Backless Lace Short Dress
$46.00
$42.00
$42.00
Maillard Split Long Sweater Dress
$42.00
$35.00
$35.00
Cowl Neck Open Back Strap Long Dress
$35.00
+2
$36.00
$36.00
Solid Asymmetric Long Dress
$36.00
$35.00
$35.00
Floral Print Shirred Cami Long Dress
$35.00
$39.00
$39.00
Love Galore Backless Knit Long Dress
$39.00
$38.00
$38.00
Criss Cross Cutout Split Midi Dress
$38.00
White Dresses
Black Dresses
Casual Dresses
Summer Dresses
Sweater Dresses
$85.00
Cup Detail Layered Ruffle Eyelet Long Dress
$85.00
$29.00
Strappy Floral Print Crisscross Flowy Long Sundress
$29.00
$38.00
Sweetheart Textured Knotted Midi Dress
$38.00
$45.00
Tweed Metal Button Short Dress
$45.00
$32.00
Asymmetrical Off-Shoulder Long Dress
$32.00
$32.00
Stunning V-Neck Knotted Short Dress
$32.00
$55.00
Plaid Print Pearl Button Sleeveless Short Dress
$55.00
$45.00
Ribbed Knit Long Sleeve V-neck Collar Long Dress
$45.00
$52.00
Asymmetrical Off Shoulder Solid Long Sleeve Maxi Dress
$52.00
$45.00
Off Shoulder Ruched Overfold Maxi Dress
$45.00
$45.00
Solid Patchwork Tie Front Long Dress
$45.00
$49.00
Cotton & Linen Halter A Line Long Dress
$49.00
$85.00
Cup Detail Layered Ruffle Eyelet Long Dress
$85.00
$29.00
Strappy Floral Print Crisscross Flowy Long Sundress
$29.00
$38.00
Sweetheart Textured Knotted Midi Dress
$38.00
$45.00
Tweed Metal Button Short Dress
$45.00
View more
$85.00
Velvet Off-shoulder Patchwork Slit Midi Dress
$85.00
$30.00
Solid Knit Cut Out Long Sleeve Crew Neck Maxi Dress
$30.00
$59.00
Save 49%
$46.00
Solid Off-Shoulder Pleated Long Dress
$46.00
$45.00
Knit Contrast Trim Wavy Hem Cami Mini Dress
$45.00
$108.00
Shirred Pleated Cami Long Dress
$108.00
$45.00
Zebra Print Long Sleeve Sweater Dress
$45.00
$34.00
Multi Floral Print Midi Dress
$34.00
$32.00
Floral Print Ruched Side Midi Dress
$32.00
$109.00
Tweed Sweetheart Neck Raw Hem Buttoned Cami Mini Dress
$109.00
$36.00
Cover Up Long Sleeve Open Back Long Dress
$36.00
$39.00
Save 8%
$35.00
Waist Cut Out V-Neck Short Dress
$35.00
$42.00
Solid Bow Decor Pleated Midi Dress
$42.00
$85.00
Velvet Off-shoulder Patchwork Slit Midi Dress
$85.00
$30.00
Solid Knit Cut Out Long Sleeve Crew Neck Maxi Dress
$30.00
$59.00
Save 49%
$46.00
Solid Off-Shoulder Pleated Long Dress
$46.00
$45.00
Knit Contrast Trim Wavy Hem Cami Mini Dress
$45.00
View more
$95.99
Romantic and Elegant Pleated Strapless Maxi Dress
$95.99
$34.00
Wrap Sleeveless Belted Short Dress
$34.00
$63.50
Mock Neck Pleated Patchwork Mini Dress
$63.50
$39.00
Know Your Worth Long Sleeve Stripe Midi Dress
$39.00
$45.00
Elegant Lettuce Trim Midi Dress
$45.00
$29.00
Eyelet Bodycon Short Dress
$29.00
$29.00
Ruched Asymmetrical Mesh Halter Mini Dress
$29.00
$55.00
One Shoulder Cami Long Dress
$55.00
$35.00
Nature Grandeur Ombre Mesh Tube Midi Dress
$35.00
$28.00
Sweetheart Neck Floral Lace Short Dress
$28.00
$38.00
Unspoken Desire Ruched Mesh Long Dress
$38.00
$55.00
Solid Cut Out Buttoned Midi Vest Dress
$55.00
$95.99
Romantic and Elegant Pleated Strapless Maxi Dress
$95.99
$34.00
Wrap Sleeveless Belted Short Dress
$34.00
$63.50
Mock Neck Pleated Patchwork Mini Dress
$63.50
$39.00
Know Your Worth Long Sleeve Stripe Midi Dress
$39.00
View more
$25.00
Floral Print Cami Long Dress
$25.00
$42.00
Pinstripe Halter Short Dress
$42.00
$28.00
Collared Ribbed Square Neck Short Dress
$28.00
$28.00
Solid Backless Tank Long Dress
$28.00
$32.00
Floral Print Cami Long Dress
$32.00
$38.00
Textured Sleeveless Cutout Long Dress
$38.00
$42.00
Solid Sweetheart Neckline Cami Midi Dress
$42.00
$34.00
Ruched Tulle Mesh Mock Neck Long Dress
$34.00
$25.00
Floral Print Vacation Tube Long Dress
$25.00
$35.00
Contrast Trim Tie-Front Long Dress
$35.00
$39.00
Solid Tube Mini Dress
$39.00
$28.99
Satin Cup Detail Slit Long Dress
$28.99
$25.00
Floral Print Cami Long Dress
$25.00
$42.00
Pinstripe Halter Short Dress
$42.00
$28.00
Collared Ribbed Square Neck Short Dress
$28.00
$28.00
Solid Backless Tank Long Dress
$28.00
View more
$28.00
Square Neck Bodycon Slit Midi Dress
$28.00
$29.00
Be The Moment Rib Long Dress
$29.00
$24.99
Halter Long Sleeve Short Sweater Dress
$24.99
$52.00
Leisure Mock Neck Long Sweater Dress
$52.00
$59.00
Irregular Wavy Edge Knitted Sleeveless Long Dress
$59.00
$29.00
Back Cutout Knit Midi Dress
$29.00
$45.00
Rib Trim Sleeveless Midi Sweater Dress
$45.00
$42.00
Two Tone Crew Neck Short Sweater Dress
$42.00
$59.00
Asymmetric Button Down Long Sleeve Midi Sweater Dress
$59.00
$42.00
Old Money Aesthetics Stripe Long Knit Dress
$42.00
$49.00
Contrast Eyelet Collar Long Sleeve Midi Sweater Dress
$49.00
$48.00
Half Zip Up Stand Collar Midi Sweater Dress
$48.00
$28.00
Square Neck Bodycon Slit Midi Dress
$28.00
$29.00
Be The Moment Rib Long Dress
$29.00
$24.99
Halter Long Sleeve Short Sweater Dress
$24.99
$52.00
Leisure Mock Neck Long Sweater Dress
$52.00
View more
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}
(-
)
${(function(){ var total_price = data.total_price; var postageFreeAmount = 59; var freeAmount = postageFreeAmount - total_price; var isFreeShipping = freeAmount <= 0; var rate = Math.min(total_price / postageFreeAmount * 100, 100).toFixed(2); const textArray = ("Spend {{ amount }} more and get free shipping!").split(/\{\{\s*amount\s*\}\}/); const textArrayHtml = textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); return `
${textArrayHtml}
You've got free shipping
${rate}%
` })()}
Total:
${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
${(function(){ var total_price = data.total_price; var postageFreeAmount = 59; var freeAmount = postageFreeAmount - total_price; var isFreeShipping = freeAmount <= 0; var rate = Math.min(total_price / postageFreeAmount * 100, 100).toFixed(2); const textArray = ("Spend {{ amount }} more and get free shipping!").split(/\{\{\s*amount\s*\}\}/); const textArrayHtml = textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); return `
${textArrayHtml}
You've got free shipping
${rate}%
` })()}
${data.invalid_msg}
Total:
${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:
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) { const nameEscape = opt.name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, '') product_change_event = product_change_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${nameEscape}Mouseover="quick-shop-selected-variant-${opt.id}.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 optionId = option.id || ''; 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}