${(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 = 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
` : `
` }
` })()}
Log in
Create an account
${data.data && data.data.count}
Home
Best Seller
Family Pajamas Sets
Choose The Color Of Top Matching
White Long Sleeve Top Matching
Blue Long Sleeve Top Matching
Black Long Sleeve Top Matching
Contrast Long Sleeve Top Matching
Choose The Color of Pants Matching
Green Plaid Pants Matching
Blue & Black Plaid Pants Matching
Red & Blue Plaid Pants Matching
Pattern Top Family Matching Pajamas Sets
Santa Hat Pattern
Christmas Tree Pattern
Letter Pattern
Christmas Tree Print Blue Plaid Christmas Family Pajama Set
$46.99
Mother-daughter Dresses
Sleeve
Long Sleeve
Short Sleeve
Sleeveless
Color
Floral Printed Dress
Solid Color Dress
Printed Dress
Swimsuits
Mother and Daughter Matching Floral Print Denim Cami Outfits
from
$27.89
Matching Swimwear
Family Matching Swimsuits
Mom & Me Swimsuits
Family Matching Swimsuit One Piece Floral Print Beach Wear Summer
from
$13.99
Family Matching Sets
Family Matching Outfits
Family Pajamas Sets
Swimwear
Christmas Text Print Black Long Sleeve Top with Blue & Black Plaid Family Matching Pajamas
from
$9.99
New Arrivals
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: 66941197, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 66941199, title: "Best Seller", url: "\/collections\/christmas-tree-pattern", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 66941201, title: "Family Pajamas Sets", url: "\/collections\/family-matching-pajamas-sets", target: "", levels: 2, product0: { id: ("1ff108d1-c535-4f5c-b380-c7081ac9a433") }, children: [ { title: "Choose The Color Of Top Matching", url: "", target: "", levels: 1, children: [ { title: "White Long Sleeve Top Matching", url: "\/collections\/white-top", target: "", levels: 0, }, { title: "Blue Long Sleeve Top Matching", url: "\/collections\/blue-top", target: "", levels: 0, }, { title: "Black Long Sleeve Top Matching", url: "\/collections\/black-top", target: "", levels: 0, }, { title: "Contrast Long Sleeve Top Matching", url: "\/collections\/contrast-top", target: "", levels: 0, }, ] }, { title: "Choose The Color of Pants Matching", url: "", target: "", levels: 1, children: [ { title: "Green Plaid Pants Matching", url: "\/collections\/green-plaid", target: "", levels: 0, }, { title: "Blue & Black Plaid Pants Matching", url: "\/collections\/blue-black-plaid", target: "", levels: 0, }, { title: "Red & Blue Plaid Pants Matching", url: "\/collections\/red-blue-plaid", target: "", levels: 0, }, ] }, { title: "Pattern Top Family Matching Pajamas Sets", url: "\/collections\/family-matching-pajamas-sets", target: "", levels: 1, children: [ { title: "Santa Hat Pattern", url: "\/collections\/santa-hat-pattern", target: "", levels: 0, }, { title: "Christmas Tree Pattern", url: "\/collections\/christmas-tree-pattern", target: "", levels: 0, }, { title: "Letter Pattern", url: "\/collections\/letter-pattern", target: "", levels: 0, }, ] }, ] }, { id: 66941231, title: "Mother-daughter Dresses", url: "\/collections\/mom-me", target: "", levels: 2, product0: { id: ("54291a9e-060c-4dfb-8c39-888dcc0bfb5e") }, children: [ { title: "Sleeve", url: "", target: "", levels: 1, children: [ { title: "Long Sleeve ", url: "\/collections\/long-sleeve", target: "", levels: 0, }, { title: "Short Sleeve ", url: "\/collections\/short-sleeve", target: "", levels: 0, }, { title: "Sleeveless", url: "\/collections\/sleeveless-dress", target: "", levels: 0, }, ] }, { title: "Color", url: "", target: "", levels: 1, children: [ { title: "Floral Printed Dress", url: "\/collections\/floral-printed-dress", target: "", levels: 0, }, { title: "Solid Color Dress", url: "\/collections\/solid-color-dress", target: "", levels: 0, }, { title: "Printed Dress", url: "\/collections\/printed-dress", target: "", levels: 0, }, ] }, { title: "Swimsuits", url: "\/collections\/mom-me-swimsuits-bj45", target: "", levels: 0, children: [ ] }, ] }, { id: 66941251, title: "Matching Swimwear", url: "\/collections\/swimwear", target: "", levels: 1, product0: { id: ("2a421e25-7181-4a28-8fde-ce55469be134") }, children: [ { title: "Family Matching Swimsuits", url: "\/collections\/swimwear", target: "", levels: 0, children: [ ] }, { title: "Mom & Me Swimsuits", url: "\/collections\/mom-me-swimsuits-bj45", target: "", levels: 0, children: [ ] }, ] }, { id: 66941257, title: "Family Matching Sets", url: "\/collections\/family-matching-sets-86wx", target: "", levels: 1, product0: { id: ("212e0f1e-94df-4502-a9fc-f6cacdb75d7b") }, children: [ { title: "Family Matching Outfits", url: "\/collections\/family-matching-oufits", target: "", levels: 0, children: [ ] }, { title: "Family Pajamas Sets", url: "\/collections\/family-matching-pajamas-sets", target: "", levels: 0, children: [ ] }, { title: "Swimwear", url: "\/collections\/swimwear", target: "", levels: 0, children: [ ] }, ] }, { id: 66941265, title: "New Arrivals", url: "\/collections\/new-arrival", 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
Best Seller
Family Pajamas Sets
Choose The Color Of Top Matching
White Long Sleeve Top Matching
Blue Long Sleeve Top Matching
Black Long Sleeve Top Matching
Contrast Long Sleeve Top Matching
Choose The Color of Pants Matching
Green Plaid Pants Matching
Blue & Black Plaid Pants Matching
Red & Blue Plaid Pants Matching
Pattern Top Family Matching Pajamas Sets
Santa Hat Pattern
Christmas Tree Pattern
Letter Pattern
Christmas Tree Print Blue Plaid Christmas Family Pajama Set
$46.99
Mother-daughter Dresses
Sleeve
Long Sleeve
Short Sleeve
Sleeveless
Color
Floral Printed Dress
Solid Color Dress
Printed Dress
Swimsuits
Mother and Daughter Matching Floral Print Denim Cami Outfits
from
$27.89
Matching Swimwear
Family Matching Swimsuits
Mom & Me Swimsuits
Family Matching Swimsuit One Piece Floral Print Beach Wear Summer
from
$13.99
Family Matching Sets
Family Matching Outfits
Family Pajamas Sets
Swimwear
Christmas Text Print Black Long Sleeve Top with Blue & Black Plaid Family Matching Pajamas
from
$9.99
New Arrivals
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: 66941197, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 66941199, title: "Best Seller", url: "\/collections\/christmas-tree-pattern", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 66941201, title: "Family Pajamas Sets", url: "\/collections\/family-matching-pajamas-sets", target: "", levels: 2, product0: { id: ("1ff108d1-c535-4f5c-b380-c7081ac9a433") }, children: [ { title: "Choose The Color Of Top Matching", url: "", target: "", levels: 1, children: [ { title: "White Long Sleeve Top Matching", url: "\/collections\/white-top", target: "", levels: 0, }, { title: "Blue Long Sleeve Top Matching", url: "\/collections\/blue-top", target: "", levels: 0, }, { title: "Black Long Sleeve Top Matching", url: "\/collections\/black-top", target: "", levels: 0, }, { title: "Contrast Long Sleeve Top Matching", url: "\/collections\/contrast-top", target: "", levels: 0, }, ] }, { title: "Choose The Color of Pants Matching", url: "", target: "", levels: 1, children: [ { title: "Green Plaid Pants Matching", url: "\/collections\/green-plaid", target: "", levels: 0, }, { title: "Blue & Black Plaid Pants Matching", url: "\/collections\/blue-black-plaid", target: "", levels: 0, }, { title: "Red & Blue Plaid Pants Matching", url: "\/collections\/red-blue-plaid", target: "", levels: 0, }, ] }, { title: "Pattern Top Family Matching Pajamas Sets", url: "\/collections\/family-matching-pajamas-sets", target: "", levels: 1, children: [ { title: "Santa Hat Pattern", url: "\/collections\/santa-hat-pattern", target: "", levels: 0, }, { title: "Christmas Tree Pattern", url: "\/collections\/christmas-tree-pattern", target: "", levels: 0, }, { title: "Letter Pattern", url: "\/collections\/letter-pattern", target: "", levels: 0, }, ] }, ] }, { id: 66941231, title: "Mother-daughter Dresses", url: "\/collections\/mom-me", target: "", levels: 2, product0: { id: ("54291a9e-060c-4dfb-8c39-888dcc0bfb5e") }, children: [ { title: "Sleeve", url: "", target: "", levels: 1, children: [ { title: "Long Sleeve ", url: "\/collections\/long-sleeve", target: "", levels: 0, }, { title: "Short Sleeve ", url: "\/collections\/short-sleeve", target: "", levels: 0, }, { title: "Sleeveless", url: "\/collections\/sleeveless-dress", target: "", levels: 0, }, ] }, { title: "Color", url: "", target: "", levels: 1, children: [ { title: "Floral Printed Dress", url: "\/collections\/floral-printed-dress", target: "", levels: 0, }, { title: "Solid Color Dress", url: "\/collections\/solid-color-dress", target: "", levels: 0, }, { title: "Printed Dress", url: "\/collections\/printed-dress", target: "", levels: 0, }, ] }, { title: "Swimsuits", url: "\/collections\/mom-me-swimsuits-bj45", target: "", levels: 0, children: [ ] }, ] }, { id: 66941251, title: "Matching Swimwear", url: "\/collections\/swimwear", target: "", levels: 1, product0: { id: ("2a421e25-7181-4a28-8fde-ce55469be134") }, children: [ { title: "Family Matching Swimsuits", url: "\/collections\/swimwear", target: "", levels: 0, children: [ ] }, { title: "Mom & Me Swimsuits", url: "\/collections\/mom-me-swimsuits-bj45", target: "", levels: 0, children: [ ] }, ] }, { id: 66941257, title: "Family Matching Sets", url: "\/collections\/family-matching-sets-86wx", target: "", levels: 1, product0: { id: ("212e0f1e-94df-4502-a9fc-f6cacdb75d7b") }, children: [ { title: "Family Matching Outfits", url: "\/collections\/family-matching-oufits", target: "", levels: 0, children: [ ] }, { title: "Family Pajamas Sets", url: "\/collections\/family-matching-pajamas-sets", target: "", levels: 0, children: [ ] }, { title: "Swimwear", url: "\/collections\/swimwear", target: "", levels: 0, children: [ ] }, ] }, { id: 66941265, title: "New Arrivals", url: "\/collections\/new-arrival", 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
Best Seller
Family Pajamas Sets
Family Pajamas Sets
Choose The Color Of Top Matching
Choose The Color Of Top Matching
White Long Sleeve Top Matching
Blue Long Sleeve Top Matching
Black Long Sleeve Top Matching
Contrast Long Sleeve Top Matching
Choose The Color of Pants Matching
Choose The Color of Pants Matching
Green Plaid Pants Matching
Blue & Black Plaid Pants Matching
Red & Blue Plaid Pants Matching
Pattern Top Family Matching Pajamas Sets
Pattern Top Family Matching Pajamas Sets
Santa Hat Pattern
Christmas Tree Pattern
Letter Pattern
Mother-daughter Dresses
Mother-daughter Dresses
Sleeve
Sleeve
Long Sleeve
Short Sleeve
Sleeveless
Color
Color
Floral Printed Dress
Solid Color Dress
Printed Dress
Swimsuits
Matching Swimwear
Matching Swimwear
Family Matching Swimsuits
Mom & Me Swimsuits
Family Matching Sets
Family Matching Sets
Family Matching Outfits
Family Pajamas Sets
Swimwear
New Arrivals
Log in
Create an account
(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(); })();
Mom & Me
143 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Mother and Daughter Matching Floral Long Sleeve Denim Knee-Length Dresses
from
$35.89
Mom and Daughter Matching Striped Ribbed Knit Bodycon Short Sleeve Dress
from
$23.89
Beautiful Floral Sleeveless Family Mtching Dresses & Tshirts
from
$12.89
Boho Print Sleeveless Matching Midi Sling Family Matching Dresses & Tshirts
from
$9.99
Mom and Daughter Matching Color Block Maxi Dress
from
$32.89
Summer Mother and Daughter Matching Maxi Flower Print Cami Dresses
from
$22.59
Patchwork Floral Print Matching Dresses for Mommy and Me in Dark Blue
from
$13.99
Wine Floral Printed Summer Family Matching Sets
from
$12.99
Drak Blue Color Block Stitching Striped Matching Dresses
from
$19.99
Denim Patchwork Family Flowers Pattern Matching Sets in light Blue
from
$12.99
Sleeveless Floral Long Dress for Mom and Me
from
$12.99
Tropical Plants Print Family Matching Swimsuits
from
$13.99
Mom and Daughter Matching Off the Shoulder Flower Print Dress
from
$23.89
Mom and Daughter Matching Bodycon Sleeveless Rib-knit Dress
from
$23.89
Mother and Daughter Matching Sunflower White Maxi Cami Dresses
from
$22.59
Splice Sleveless Matching Dress and Top for Family Matching
from
$8.99
Mother and Daughter Summer Matching Sunflower Dresses
from
$26.89
Allover Colorful Floral Print Family Mtching Dresses & Tshirts
from
$9.99
Sleeveless Floral Long Dress for Mom and Me in Green Q2261
from
$12.99
Denim Stitching Floral Print Matching Midi Family Matching Dresses & Tshirts
from
$9.89
Mom and Daughter Matching Flower Print Halter Dress
from
$23.89
Floral Print Matching Tank Dresses Q1928
from
$16.89
Beautiful Floral Sleeveless Mommy and Me Dress
from
$12.89
Mom and Daughter Matching Polka Dot Off the Shoulder Dress
from
$23.89
Leopard Print With Tassels One Piece Matching Swimsuit Matching Swimsuits
from
$18.99
Mom and Daughter Matching Lace Patchwork Spaghetti Strap Dress
from
$23.89
Mother and Daughter Matching Tie Dye Cami Maxi Dresses
from
$18.89
Mommy and Me Sunflower Print Tank Jumpsuits
from
$11.99
Pink Flamingo Print One-piece Swimsuits for Mommy and Me
from
$19.89
Mom and Daughter Matching Spaghetti Strap Slit Dress
from
$18.89
Mom and Daughter Matching Solid Bodycon Sleeveless Dress
from
$23.89
Mom and Daughter Matching Black Solid Pocket Patched Overall Jumpsuit
from
$23.89
Red Striped Print Ruffle One-piece Swimsuits for Mommy and Me
from
$19.89
Colorblock Ruffle High waisted Swimsuits for Mommy and Me
from
$19.89
Mother and Daughter Matching Denim Patchwork White Floral Print Dresses
from
$27.89
Matching Mom and Daughter Floral Maxi Dresses for Beach Days
from
$26.59
Mother and Daughter Matching Sunflower Skirt
from
$19.89
Mom and Daughter Matching Tie Dye Bodycon Dress
from
$23.89
Floral Print Black Ruffle Bikini Matching Swimsuits for Mom and Me
from
$19.89
Bohemia Floral Printed Matching Dresses for Daughter and Mom
from
$13.99
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}
(-
)
${(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
${(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
Subtotal:
${discount_application.title}:
-
Total:
Check out
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}