${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "natural"; 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 = false && ((+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 ? `` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `from
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
💎10% Off For New Users | Code : NEW10
💎10% Off For New Users | Code : NEW10
Log in
Create an account
${data.data && data.data.count}
New In
Best Sell👍
Accessory
$9.99
Sets
Tops
Bottoms
Dresses
Summer
Baby Angel Pattern Corduroy Romper
$28.95
$45.95
💡30%Off
🔥$9.99
SHOP BY TOPIC
🔥$9.99
Christmas🎅
Accessories🧦
Spring & Fall🍁
Winter❄
Summer🍀
Spring Cute Style
Matching Outfits
Baby Bear and Letter Print Long Sleeve Pullover Romper
$31.95
$57.95
Boys
Boy Onepieces
Bodysuits
Boy Sets
Accessories
Baby Boy (0-12M)
Baby Boy(12-24M)
Baby Boy(2-5T)
Baby Bear and Letter Print Long Sleeve Pullover Romper
$31.95
$57.95
Girls
Girls Onepieces
Bodysuits
Girls Sets
Dresses
Accessories
Girls(0-12M)
Girls(12-24M)
Girls(2-5T)
Baby Girl Lace Bowknot Chanel Style Long Sleeve Romper
$32.50
$46.88
Sale 🔥
Best Sellrs
BabySets
Best Sellrs Boys👦
Best Sellrs Girls👧
Baby Accessories
New Arrivals
Baby Bear and Letter Print Long Sleeve Pullover Romper
$31.95
$57.95
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: 60371101, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 60371103, title: "Best Sell\ud83d\udc4d", url: "\/collections\/new-arrivals-joei", target: "", levels: 1, product0: { id: ("8328208a-de6e-4121-9325-bf32786df908") }, children: [ { title: "Accessory", url: "\/collections\/accessory", target: "", levels: 0, children: [ ] }, { title: "$9.99", url: "\/collections\/flash-sale-9-99", target: "", levels: 0, children: [ ] }, { title: "Sets", url: "\/collections\/sets", target: "", levels: 0, children: [ ] }, { title: "Tops", url: "\/collections\/tops", target: "", levels: 0, children: [ ] }, { title: "Bottoms", url: "\/collections\/bottoms", target: "", levels: 0, children: [ ] }, { title: "Dresses", url: "\/collections\/dresses", target: "", levels: 0, children: [ ] }, { title: "Summer", url: "\/collections\/babys-favourite-summer", target: "", levels: 0, children: [ ] }, ] }, { id: 60371119, title: "\ud83d\udca130%Off", url: "\/collections\/30-off", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 60371121, title: "\ud83d\udd25$9.99", url: "\/collections\/flash-sale-9-99", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 60371159, title: "SHOP BY TOPIC", url: "\/collections\/fashionable-baby", target: "", levels: 1, product0: { id: ("82050cbe-2da4-49dd-b210-a95c030170a3") }, children: [ { title: "\ud83d\udd25$9.99", url: "\/collections\/flash-sale-9-99", target: "", levels: 0, children: [ ] }, { title: "Christmas\ud83c\udf85", url: "\/collections\/christmas", target: "", levels: 0, children: [ ] }, { title: "Accessories\ud83e\udde6", url: "\/collections\/accessory", target: "", levels: 0, children: [ ] }, { title: "Spring & Fall\ud83c\udf41", url: "\/collections\/spring-fall\ud83c\udf41", target: "", levels: 0, children: [ ] }, { title: "Winter\u2744", url: "\/collections\/winter\u2744", target: "", levels: 0, children: [ ] }, { title: "Summer\ud83c\udf40", url: "\/collections\/summer\ud83c\udf40", target: "", levels: 0, children: [ ] }, { title: "Spring Cute Style", url: "\/collections\/spring-cute-style", target: "", levels: 0, children: [ ] }, { title: "Matching Outfits", url: "\/collections\/matching-outfits", target: "", levels: 0, children: [ ] }, ] }, { id: 60371209, title: "Boys", url: "\/collections\/boys", target: "", levels: 1, product0: { id: ("82050cbe-2da4-49dd-b210-a95c030170a3") }, children: [ { title: "Boy Onepieces", url: "\/collections\/boy-onepieces", target: "", levels: 0, children: [ ] }, { title: "Bodysuits", url: "\/collections\/boy-bodysuit", target: "", levels: 0, children: [ ] }, { title: "Boy Sets", url: "\/collections\/boy-sets", target: "", levels: 0, children: [ ] }, { title: "Accessories", url: "\/collections\/boy-accessories", target: "", levels: 0, children: [ ] }, { title: "Baby Boy (0-12M)", url: "\/collections\/baby-boy-0-24m", target: "", levels: 0, children: [ ] }, { title: "Baby Boy(12-24M)", url: "\/collections\/boys-12-24m", target: "", levels: 0, children: [ ] }, { title: "Baby Boy(2-5T)", url: "\/collections\/boys-2-5t", target: "", levels: 0, children: [ ] }, ] }, { id: 60371225, title: "Girls", url: "\/collections\/girls", target: "", levels: 1, product0: { id: ("c7428768-e6a6-4924-8865-a40d3dcfaf37") }, children: [ { title: "Girls Onepieces", url: "\/collections\/girls-onepieces", target: "", levels: 0, children: [ ] }, { title: "Bodysuits", url: "\/collections\/girls-bodysuits", target: "", levels: 0, children: [ ] }, { title: "Girls Sets", url: "\/collections\/girls-matching-sets", target: "", levels: 0, children: [ ] }, { title: "Dresses", url: "\/collections\/dresses", target: "", levels: 0, children: [ ] }, { title: "Accessories", url: "\/collections\/girls-accessories", target: "", levels: 0, children: [ ] }, { title: "Girls(0-12M)", url: "\/collections\/baby-girl-0-24m", target: "", levels: 0, children: [ ] }, { title: "Girls(12-24M)", url: "\/collections\/girls-12-24m", target: "", levels: 0, children: [ ] }, { title: "Girls(2-5T)", url: "\/collections\/girls-2-5t", target: "", levels: 0, children: [ ] }, ] }, { id: 60371243, title: "Sale \ud83d\udd25", url: "\/collections\/baby-clothes-best-seller", target: "", levels: 1, product0: { id: ("82050cbe-2da4-49dd-b210-a95c030170a3") }, children: [ { title: "Best Sellrs", url: "\/collections\/best-sellrs", target: "", levels: 0, children: [ ] }, { title: "BabySets", url: "\/collections\/baby-sets", target: "", levels: 0, children: [ ] }, { title: "Best Sellrs Boys\ud83d\udc66", url: "\/collections\/best-sellrs-boys", target: "", levels: 0, children: [ ] }, { title: "Best Sellrs Girls\ud83d\udc67", url: "\/collections\/best-sellrs-girls", target: "", levels: 0, children: [ ] }, { title: "Baby Accessories", url: "\/collections\/accessory", target: "", levels: 0, children: [ ] }, { title: "New Arrivals", url: "\/collections\/new-arrivals-joei", 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 In
Best Sell👍
Accessory
$9.99
Sets
Tops
Bottoms
Dresses
Summer
Baby Angel Pattern Corduroy Romper
$28.95
$45.95
💡30%Off
🔥$9.99
SHOP BY TOPIC
🔥$9.99
Christmas🎅
Accessories🧦
Spring & Fall🍁
Winter❄
Summer🍀
Spring Cute Style
Matching Outfits
Baby Bear and Letter Print Long Sleeve Pullover Romper
$31.95
$57.95
Boys
Boy Onepieces
Bodysuits
Boy Sets
Accessories
Baby Boy (0-12M)
Baby Boy(12-24M)
Baby Boy(2-5T)
Baby Bear and Letter Print Long Sleeve Pullover Romper
$31.95
$57.95
Girls
Girls Onepieces
Bodysuits
Girls Sets
Dresses
Accessories
Girls(0-12M)
Girls(12-24M)
Girls(2-5T)
Baby Girl Lace Bowknot Chanel Style Long Sleeve Romper
$32.50
$46.88
Sale 🔥
Best Sellrs
BabySets
Best Sellrs Boys👦
Best Sellrs Girls👧
Baby Accessories
New Arrivals
Baby Bear and Letter Print Long Sleeve Pullover Romper
$31.95
$57.95
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: 60371101, title: "New In", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 60371103, title: "Best Sell\ud83d\udc4d", url: "\/collections\/new-arrivals-joei", target: "", levels: 1, product0: { id: ("8328208a-de6e-4121-9325-bf32786df908") }, children: [ { title: "Accessory", url: "\/collections\/accessory", target: "", levels: 0, children: [ ] }, { title: "$9.99", url: "\/collections\/flash-sale-9-99", target: "", levels: 0, children: [ ] }, { title: "Sets", url: "\/collections\/sets", target: "", levels: 0, children: [ ] }, { title: "Tops", url: "\/collections\/tops", target: "", levels: 0, children: [ ] }, { title: "Bottoms", url: "\/collections\/bottoms", target: "", levels: 0, children: [ ] }, { title: "Dresses", url: "\/collections\/dresses", target: "", levels: 0, children: [ ] }, { title: "Summer", url: "\/collections\/babys-favourite-summer", target: "", levels: 0, children: [ ] }, ] }, { id: 60371119, title: "\ud83d\udca130%Off", url: "\/collections\/30-off", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 60371121, title: "\ud83d\udd25$9.99", url: "\/collections\/flash-sale-9-99", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 60371159, title: "SHOP BY TOPIC", url: "\/collections\/fashionable-baby", target: "", levels: 1, product0: { id: ("82050cbe-2da4-49dd-b210-a95c030170a3") }, children: [ { title: "\ud83d\udd25$9.99", url: "\/collections\/flash-sale-9-99", target: "", levels: 0, children: [ ] }, { title: "Christmas\ud83c\udf85", url: "\/collections\/christmas", target: "", levels: 0, children: [ ] }, { title: "Accessories\ud83e\udde6", url: "\/collections\/accessory", target: "", levels: 0, children: [ ] }, { title: "Spring & Fall\ud83c\udf41", url: "\/collections\/spring-fall\ud83c\udf41", target: "", levels: 0, children: [ ] }, { title: "Winter\u2744", url: "\/collections\/winter\u2744", target: "", levels: 0, children: [ ] }, { title: "Summer\ud83c\udf40", url: "\/collections\/summer\ud83c\udf40", target: "", levels: 0, children: [ ] }, { title: "Spring Cute Style", url: "\/collections\/spring-cute-style", target: "", levels: 0, children: [ ] }, { title: "Matching Outfits", url: "\/collections\/matching-outfits", target: "", levels: 0, children: [ ] }, ] }, { id: 60371209, title: "Boys", url: "\/collections\/boys", target: "", levels: 1, product0: { id: ("82050cbe-2da4-49dd-b210-a95c030170a3") }, children: [ { title: "Boy Onepieces", url: "\/collections\/boy-onepieces", target: "", levels: 0, children: [ ] }, { title: "Bodysuits", url: "\/collections\/boy-bodysuit", target: "", levels: 0, children: [ ] }, { title: "Boy Sets", url: "\/collections\/boy-sets", target: "", levels: 0, children: [ ] }, { title: "Accessories", url: "\/collections\/boy-accessories", target: "", levels: 0, children: [ ] }, { title: "Baby Boy (0-12M)", url: "\/collections\/baby-boy-0-24m", target: "", levels: 0, children: [ ] }, { title: "Baby Boy(12-24M)", url: "\/collections\/boys-12-24m", target: "", levels: 0, children: [ ] }, { title: "Baby Boy(2-5T)", url: "\/collections\/boys-2-5t", target: "", levels: 0, children: [ ] }, ] }, { id: 60371225, title: "Girls", url: "\/collections\/girls", target: "", levels: 1, product0: { id: ("c7428768-e6a6-4924-8865-a40d3dcfaf37") }, children: [ { title: "Girls Onepieces", url: "\/collections\/girls-onepieces", target: "", levels: 0, children: [ ] }, { title: "Bodysuits", url: "\/collections\/girls-bodysuits", target: "", levels: 0, children: [ ] }, { title: "Girls Sets", url: "\/collections\/girls-matching-sets", target: "", levels: 0, children: [ ] }, { title: "Dresses", url: "\/collections\/dresses", target: "", levels: 0, children: [ ] }, { title: "Accessories", url: "\/collections\/girls-accessories", target: "", levels: 0, children: [ ] }, { title: "Girls(0-12M)", url: "\/collections\/baby-girl-0-24m", target: "", levels: 0, children: [ ] }, { title: "Girls(12-24M)", url: "\/collections\/girls-12-24m", target: "", levels: 0, children: [ ] }, { title: "Girls(2-5T)", url: "\/collections\/girls-2-5t", target: "", levels: 0, children: [ ] }, ] }, { id: 60371243, title: "Sale \ud83d\udd25", url: "\/collections\/baby-clothes-best-seller", target: "", levels: 1, product0: { id: ("82050cbe-2da4-49dd-b210-a95c030170a3") }, children: [ { title: "Best Sellrs", url: "\/collections\/best-sellrs", target: "", levels: 0, children: [ ] }, { title: "BabySets", url: "\/collections\/baby-sets", target: "", levels: 0, children: [ ] }, { title: "Best Sellrs Boys\ud83d\udc66", url: "\/collections\/best-sellrs-boys", target: "", levels: 0, children: [ ] }, { title: "Best Sellrs Girls\ud83d\udc67", url: "\/collections\/best-sellrs-girls", target: "", levels: 0, children: [ ] }, { title: "Baby Accessories", url: "\/collections\/accessory", target: "", levels: 0, children: [ ] }, { title: "New Arrivals", url: "\/collections\/new-arrivals-joei", 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 Sell👍
Best Sell👍
Accessory
$9.99
Sets
Tops
Bottoms
Dresses
Summer
💡30%Off
🔥$9.99
SHOP BY TOPIC
SHOP BY TOPIC
🔥$9.99
Christmas🎅
Accessories🧦
Spring & Fall🍁
Winter❄
Summer🍀
Spring Cute Style
Matching Outfits
Boys
Boys
Boy Onepieces
Bodysuits
Boy Sets
Accessories
Baby Boy (0-12M)
Baby Boy(12-24M)
Baby Boy(2-5T)
Girls
Girls
Girls Onepieces
Bodysuits
Girls Sets
Dresses
Accessories
Girls(0-12M)
Girls(12-24M)
Girls(2-5T)
Sale 🔥
Sale 🔥
Best Sellrs
BabySets
Best Sellrs Boys👦
Best Sellrs Girls👧
Baby Accessories
New Arrivals
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(); })();
Boy Accessories
21 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
Baby Toddler Drawstring Hat
$17.50
+2
Baby Toddler Girl Gradient Color Empty Top Hat
$18.00
+1
Baby Toddler Summer Empty Top Hat
$14.50
+6
Baby Toddler Embroideried Car Hat
$14.50
+1
Baby Embroidered Bear Absorbent Bib
$8.99
$14.95
+2
Newborn 6 Layers Wrinkle Square Solid Bib
$8.95
$13.95
+5
Newborn Toddler 6 Layers Wrinkle Thick Solid Bib
$8.50
+8
Newborn Skin-friendly 6 Layer Absorbent Bib
$8.50
$15.95
+16
Newborn Solid Four Layers U-shaped Bib
$8.50
+8
NewBorn Baby Solid Print Triangular Bib
$9.99
+4
NewBorn Baby Solid Print 2 Pieces Bib
$9.99
+3
NewBorn Baby Printed Bib
$9.99
+4
NewBorn Baby Printed Fruit Bib
$9.99
+3
Baby Toddler Embroideried Bear Knitted Hat
$12.26
$15.88
+4
Baby Boy/Girl Lovely 3D Hairball Ear Protection Hat
$14.00
+2
Baby Toddler Boy/Girl Bear Print 3D Ear Protection Kintted Hat
$16.95
$20.70
+2
Newborn Baby Cartoon HoneyBee Print Bib
$9.99
Newborn Baby Cartoon Whales Print Bib
$9.99
Newborn Baby Cartoon Princeling Print Bib
$9.99
Baby Toddler Colourful Dinosaur Hat
$9.95
$15.99
+2
Baby Soild Color Print Hat
$10.95
$30.95
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:
${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) { 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"; 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}