${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "100%"; 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 = false && !!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}
` })()}
Free shipping & Secure payments
Online Payment Get 6% OFF
Free shipping & Secure payments
Online Payment Get 6% OFF
Log in
Create an account
${data.data && data.data.count}
Home
New In
Best Selling
Swimwear
Swimsuit Sets
Bikinis
One Pieces
Two Pieces
Cover Ups
Surfing
Style
3D Flower
Long Sleeve
Black & White
Solid Color
Printed
Plus Size
Accessories
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 = {"CATEGORIES":{"label":"Hot","bg":"rgba(226, 167, 108, 1)","color":"#FFFFFF"},"MESSENGER BAG":{"label":"Popular","bg":"rgba(73, 96, 129, 1)","color":"#FFFFFF"},"SHOP":{"label":"New","bg":"rgba(226, 167, 108, 1)","color":"#FFFFFF"}}; let linkList = [ { id: 61184769, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 61184771, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 61184773, title: "Best Selling", url: "\/collections\/best-selling", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 61184775, title: "Swimwear", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Swimsuit Sets", url: "\/collections\/swimsuit-sets", target: "", levels: 0, children: [ ] }, { title: "Bikinis", url: "\/collections\/bikinis", target: "", levels: 0, children: [ ] }, { title: "One Pieces", url: "\/collections\/one-pieces", target: "", levels: 0, children: [ ] }, { title: "Two Pieces", url: "\/collections\/two-pieces", target: "", levels: 0, children: [ ] }, { title: "Cover Ups", url: "\/collections\/cover-ups", target: "", levels: 0, children: [ ] }, { title: "Surfing ", url: "\/collections\/surfing-swimsuits", target: "", levels: 0, children: [ ] }, ] }, { id: 61184789, title: "Style", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "3D Flower ", url: "\/collections\/3d-flower-swimsuits", target: "", levels: 0, children: [ ] }, { title: "Long Sleeve ", url: "\/collections\/long-sleeve-swimsuits", target: "", levels: 0, children: [ ] }, { title: "Black & White ", url: "\/collections\/black-white-swimsuits", target: "", levels: 0, children: [ ] }, { title: "Solid Color", url: "\/collections\/solid-color", target: "", levels: 0, children: [ ] }, { title: "Printed ", url: "\/collections\/printed-swimsuits", target: "", levels: 0, children: [ ] }, ] }, { id: 61184801, title: "Plus Size", url: "\/collections\/plus-size", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 61184803, title: "Accessories", url: "\/collections\/accessories", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Home
New In
Best Selling
Swimwear
Swimsuit Sets
Bikinis
One Pieces
Two Pieces
Cover Ups
Surfing
Style
3D Flower
Long Sleeve
Black & White
Solid Color
Printed
Plus Size
Accessories
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 = {"CATEGORIES":{"label":"Hot","bg":"rgba(226, 167, 108, 1)","color":"#FFFFFF"},"MESSENGER BAG":{"label":"Popular","bg":"rgba(73, 96, 129, 1)","color":"#FFFFFF"},"SHOP":{"label":"New","bg":"rgba(226, 167, 108, 1)","color":"#FFFFFF"}}; let linkList = [ { id: 61184769, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 61184771, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 61184773, title: "Best Selling", url: "\/collections\/best-selling", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 61184775, title: "Swimwear", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Swimsuit Sets", url: "\/collections\/swimsuit-sets", target: "", levels: 0, children: [ ] }, { title: "Bikinis", url: "\/collections\/bikinis", target: "", levels: 0, children: [ ] }, { title: "One Pieces", url: "\/collections\/one-pieces", target: "", levels: 0, children: [ ] }, { title: "Two Pieces", url: "\/collections\/two-pieces", target: "", levels: 0, children: [ ] }, { title: "Cover Ups", url: "\/collections\/cover-ups", target: "", levels: 0, children: [ ] }, { title: "Surfing ", url: "\/collections\/surfing-swimsuits", target: "", levels: 0, children: [ ] }, ] }, { id: 61184789, title: "Style", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "3D Flower ", url: "\/collections\/3d-flower-swimsuits", target: "", levels: 0, children: [ ] }, { title: "Long Sleeve ", url: "\/collections\/long-sleeve-swimsuits", target: "", levels: 0, children: [ ] }, { title: "Black & White ", url: "\/collections\/black-white-swimsuits", target: "", levels: 0, children: [ ] }, { title: "Solid Color", url: "\/collections\/solid-color", target: "", levels: 0, children: [ ] }, { title: "Printed ", url: "\/collections\/printed-swimsuits", target: "", levels: 0, children: [ ] }, ] }, { id: 61184801, title: "Plus Size", url: "\/collections\/plus-size", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 61184803, title: "Accessories", url: "\/collections\/accessories", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Log in
Create an account
${data.data && data.data.count}
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return '
'; const keyword = encodeURIComponent(data); return `
View more
Your search for '${data}' did not yield any results.
` })()}
Home
New In
Best Selling
Swimwear
Swimwear
Swimsuit Sets
Bikinis
One Pieces
Two Pieces
Cover Ups
Surfing
Style
Style
3D Flower
Long Sleeve
Black & White
Solid Color
Printed
Plus Size
Accessories
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(); })();
Check >
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
` }()}
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
` }()}
Best Selling
Snug As Can Be Swimsuit
from
$27.00
Sheer Confidence Striped Print Cut Out Drawstring Detail Swimsuit
$25.00
Net celebrity split skirt two-piece suit
$25.00
Tie Dye Print Asymmetrical Neck Ruffle Trim Swimsuit
from
$26.00
One Piece Beach Print Swimsuit and Sarong
from
$27.00
Sexy Strappy One-piece Bikini Swimsuit Set and Cover-up
$28.00
Floral Split Conservative Tight Slimming Beach Swimsuit
$27.00
Three-piece Sexy Suspender High-waisted Tankini Swimsuit and Pullover
$27.00
Contrasting Color Stitching Hot Girl Sexy Backless One-piece Swimsuit
$27.00
Sexy surfing zipper swimsuit
$26.00
New High-waist Printed Ruffled Bikini Swimsuit and Sarong
from
$26.00
Sexy one-piece high waist hot spring vacation swimwear
$26.00
Retro new deep v lace-up one-piece swimsuit
from
$26.00
Sexy one-shoulder printed swimsuit
from
$27.00
Slimming one-piece swimsuit two-piece suit
$27.00
Beach Weekend Swimsuit
from
$27.00
Snug As Can Be Swimsuit
from
$27.00
Sheer Confidence Striped Print Cut Out Drawstring Detail Swimsuit
$25.00
Net celebrity split skirt two-piece suit
$25.00
Tie Dye Print Asymmetrical Neck Ruffle Trim Swimsuit
from
$26.00
One Piece Beach Print Swimsuit and Sarong
from
$27.00
Sexy Strappy One-piece Bikini Swimsuit Set and Cover-up
$28.00
Floral Split Conservative Tight Slimming Beach Swimsuit
$27.00
Three-piece Sexy Suspender High-waisted Tankini Swimsuit and Pullover
$27.00
View more
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
` }()}
3D Flower
Surfing
Long Sleeve
Printed
Solid Color
Sleek And Chic Swimsuit
from
$27.00
Tie Fidelity Swimsuit
from
$27.00
Zebra Stripe Print Flower Decoration Hollow Out Swimsuit
from
$27.00
Floral Decoration Bikini Swimsuit
$32.00
Floral Decoration Bikini Swimsuit
$26.00
Effortlessly Cozy Swimsuit
$29.00
Floral Decoration High Waist Swimsuit
$27.00
+2
Flower Decoration Hollow Out Swimsuit
from
$27.00
Nantucket Vibes Swimsuit
from
$27.00
Plants Print Flower Decoration Tie Front Swimsuit
from
$26.00
Flirting for Fun Swimsuit
from
$27.00
Deckside Darling Swimsuit
from
$27.00
Zebra Stripe Print Flower Decoration One Shoulder Asymmetrical Hem Swimsuit
from
$27.00
Flower Decoration Hollow Out Swimsuit
from
$26.00
Floral Print Flower Decoration Tie Front Swimsuit
from
$26.00
Feel it Still Swimsuit
from
$27.00
Plants Print Flower Decoration Tie Front Swimsuit
from
$26.00
Floral Decoration Tie Dye Print Ruffle Trim Swimsuit
from
$27.00
Floral Print Asymmetrical Neck Ruffle Trim Swimsuit
from
$26.00
All Over Print Flower Decoration Tie Front Swimsuit
from
$26.00
Sleek And Chic Swimsuit
from
$27.00
Tie Fidelity Swimsuit
from
$27.00
Zebra Stripe Print Flower Decoration Hollow Out Swimsuit
from
$27.00
Floral Decoration Bikini Swimsuit
$32.00
Floral Decoration Bikini Swimsuit
$26.00
Effortlessly Cozy Swimsuit
$29.00
Floral Decoration High Waist Swimsuit
$27.00
+2
Flower Decoration Hollow Out Swimsuit
from
$27.00
Nantucket Vibes Swimsuit
from
$27.00
Plants Print Flower Decoration Tie Front Swimsuit
from
$26.00
View more
Number One Choice Swimsuit
$27.00
Just Wing It Swimsuit
$26.00
Piece of My Heart Swimsuit
$24.00
Breezy and Beachy Swimsuit
$26.00
Sunny Approach Swimsuit
$27.00
Seaside Tide Swimsuit
$27.00
New Sports One Piece Boxer Swimsuit
$25.00
In the Cards Pretty Swimsuit
$27.00
Another Lovely Day Swimsuit
$26.00
Palm Beach Babe Swimsuit
$28.00
Shy Girl Swimsuit
$27.00
+1
Perfectly Posted Swimsuit
$25.00
In the Summer Light Swimsuit
$27.00
One-piece long-sleeved printed surfwear
$27.00
+1
Long-sleeved printed split sports swimsuit
$27.00
Sexy surfing zipper swimsuit
$26.00
New Printed Sun Protection Surfing Suit Split Long-sleeved Swimsuit
$28.00
Number One Choice Swimsuit
$27.00
Just Wing It Swimsuit
$26.00
Piece of My Heart Swimsuit
$24.00
Breezy and Beachy Swimsuit
$26.00
Sunny Approach Swimsuit
$27.00
Seaside Tide Swimsuit
$27.00
New Sports One Piece Boxer Swimsuit
$25.00
In the Cards Pretty Swimsuit
$27.00
Another Lovely Day Swimsuit
$26.00
Palm Beach Babe Swimsuit
$28.00
View more
Slope Style Swimsuit
$31.00
World Wonder Swimsuit
$27.00
Reach Out My Hand Swimsuit
$25.00
Tie-dye printing three-piece set
$27.00
+1
High-end skirt oil painting swimsuit
$26.00
Sexy high waist split gathered bikini swimsuit
from
$27.00
Long-sleeved printed split sports swimsuit
$27.00
Sexy Backless Printed Lace-up Swimsuit Cover-up and Skirt
$26.00
Tie-dye Sexy Bikini Three-piece Set
$27.00
+2
Long-sleeved Slimming Backless One-piece Swimsuit
$25.00
Three-piece Sexy Suspender High-waisted Tankini Swimsuit and Pullover
$27.00
Solid Color Split Sexy Backless Three-piece Bikini Long Sleeve Swimsuit
$28.00
+1
Slope Style Swimsuit
$31.00
World Wonder Swimsuit
$27.00
Reach Out My Hand Swimsuit
$25.00
Tie-dye printing three-piece set
$27.00
+1
High-end skirt oil painting swimsuit
$26.00
Sexy high waist split gathered bikini swimsuit
from
$27.00
Long-sleeved printed split sports swimsuit
$27.00
Sexy Backless Printed Lace-up Swimsuit Cover-up and Skirt
$26.00
Tie-dye Sexy Bikini Three-piece Set
$27.00
+2
Long-sleeved Slimming Backless One-piece Swimsuit
$25.00
View more
Sleek And Chic Swimsuit
from
$27.00
Cool Girl Style Swimsuit
from
$26.00
Standout Sweetie Cut Out Back Sleeveless Swimsuit
$27.00
Bound to be Bold Colorblock One Shoulder Swimsuit
from
$25.00
Blooming and Thriving Swimsuit
from
$27.00
Chic Warmth Swimsuit
from
$27.00
Sleek Style Swimsuit
from
$27.00
Keeper of My Heart Swimsuit
from
$27.00
Party Persona Ditsy Floral Print Halter Cut Out Swimsuit
from
$25.00
Lace Up Your Sleeve Swimsuit
$27.00
Newport Beach Swimsuit
from
$27.00
Secret Rendezvous Cozy Swimsuit
$27.00
Blooming and Thriving Swimsuit
from
$26.00
Beach Casual Plants Print Cut Out Back Swimsuit
$27.00
Delightful Ways Swimsuit
from
$27.00
Floral&Polka Dot Print Contrast Binding Tie Swimsuit
from
$26.00
Making the Cut Swimsuit
from
$27.00
Elegant Occasion Pretty Swimsuit
$27.00
+1
Gift of Love Swimsuit
$27.00
+1
Suits You Perfectly Floral Print V-neck Ruffle Trim Swimsuit
from
$25.00
Sleek And Chic Swimsuit
from
$27.00
Cool Girl Style Swimsuit
from
$26.00
Standout Sweetie Cut Out Back Sleeveless Swimsuit
$27.00
Bound to be Bold Colorblock One Shoulder Swimsuit
from
$25.00
Blooming and Thriving Swimsuit
from
$27.00
Chic Warmth Swimsuit
from
$27.00
Sleek Style Swimsuit
from
$27.00
Keeper of My Heart Swimsuit
from
$27.00
Party Persona Ditsy Floral Print Halter Cut Out Swimsuit
from
$25.00
Lace Up Your Sleeve Swimsuit
$27.00
View more
Baby, You're The One Swimsuit
$25.00
Stunning Impression Swimsuit
$27.00
Sunny Approach Swimsuit
$25.00
One Shoulder Cut Out Backless Belted Twist Front Swimsuit
from
$27.00
So Get This Swimwear
$27.00
Ring Linked One Piece Bikini Swimsuit
$27.00
Solid Color Ruffle Trim Swimsuit
from
$27.00
Korean One Piece Backless Swimsuit
$25.00
+6
Eyes On Me Swimsuit
$25.00
Seaside Sweetie Swimsuit
$25.00
Shifting Dears Swimsuit
$25.00
Deckside Darling Swimsuit
$25.00
The Best Yet Swimsuit
$27.00
Always The Romantic Cozy Swimsuit
$27.00
Spread Your Shine Pretty Swimwear
$27.00
+1
Seaside Summer Criss Cross Tie Swimsuit
$27.00
+1
Sail West Swimsuit
$25.00
Curve Mentality Swimsuit
$26.00
New Sports One Piece Boxer Swimsuit
$25.00
Bringing Sexy Back Swimsuit
$25.00
Baby, You're The One Swimsuit
$25.00
Stunning Impression Swimsuit
$27.00
Sunny Approach Swimsuit
$25.00
One Shoulder Cut Out Backless Belted Twist Front Swimsuit
from
$27.00
So Get This Swimwear
$27.00
Ring Linked One Piece Bikini Swimsuit
$27.00
Solid Color Ruffle Trim Swimsuit
from
$27.00
Korean One Piece Backless Swimsuit
$25.00
+6
Eyes On Me Swimsuit
$25.00
Seaside Sweetie Swimsuit
$25.00
View more
Free shipping
service@toobobo.com
Secure payment
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:
${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:
${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) { 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"; 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}