${(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 = 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}
Add to cart
Add to cart
Choose an option
${variant.title}/
Sold out
` })()}
Search
Log in
Create an account
${data.data && data.data.count}
CATEGORIES
Lace Closure & Frontal
5x5 Lace Closure
4x4 Lace Closure
13x4 Lace Frontal
360 Lace Size 22.5x4
Synthetic Hair
Synthetic Wigs
Synthetic Ponytail
Synthetic Braiding Hair
Synthetic Clip Ins
BEAUTY ACCESSORIES
Hair Band & Hair Cap
Hot Combs & Hair Scissors
Eyelashes & Makeup Tools
HUMAN HAIR WEAVE
Premium Virgin Grade Bundles
Platinum Virgin Grade Bundles
Diamond Virgin Grade Bundles
Bundles With Closure & Frontal
3 Bundles With Closure
3 Bundles With Frontal
Virgin Hair Sample-12g/pcs
613 Blonde & Ombre Hair
Remy Human Hair
HD LACE SERIES
HD Lace Wigs
HD Lace Closure With Bundles
HD Lace Closure
HD Lace Frontal
HUMAN HAIR WIGS
Lace Front Wigs
4*4 Lace Closure Wig
13*4 / 6*6 / 5*5 Lace Front Wig
Thickened Customized Wigs
Natural Color
Piano Mix Color
U-Part Wigs
Thinnest Size U-Part Wig
Natural Size U-Part Wig
Full Lace Wigs
Headband Wigs
Full Machine Wigs
360 Lace Frontal Wigs
CLIP INS & TAPE INS
Clip-Ins Hair Extensions
18Clips 7Pcs/Set
32Clips 10Pcs/Set
14clips 7pcs/set
Tape-In Hair Extensions
Platinum Grade - 50g/Pack
Platinum Grade - 100g/Pack
PONYTAILS
Drawstring Ponytail
Wrap Around Ponytail
PROMOTION
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: 64746293, title: "CATEGORIES", url: "", target: "", levels: 2, product0: null || {}, children: [ { title: "Lace Closure & Frontal ", url: "", target: "", levels: 1, children: [ { title: "5x5 Lace Closure", url: "\/collections\/lace-closure", target: "_blank", levels: 0, }, { title: "4x4 Lace Closure", url: "\/collections\/4x4-lace-closure", target: "_blank", levels: 0, }, { title: "13x4 Lace Frontal", url: "\/collections\/13x4-lace-frontal-h10y", target: "_blank", levels: 0, }, { title: "360 Lace Size 22.5x4", url: "\/collections\/360-lace-size-22-5x4", target: "_blank", levels: 0, }, ] }, { title: "Synthetic Hair", url: "", target: "", levels: 1, children: [ { title: "Synthetic Wigs", url: "\/collections\/synthetic-wigs", target: "_blank", levels: 0, }, { title: "Synthetic Ponytail", url: "\/collections\/synthetic-ponytail", target: "_blank", levels: 0, }, { title: "Synthetic Braiding Hair", url: "\/collections\/synthetic-braiding-hair", target: "_blank", levels: 0, }, { title: "Synthetic Clip Ins", url: "\/collections\/synthetic-clip-ins", target: "_blank", levels: 0, }, ] }, { title: "BEAUTY ACCESSORIES", url: "", target: "", levels: 1, children: [ { title: "Hair Band & Hair Cap", url: "\/collections\/hair-band-hair-cap", target: "_blank", levels: 0, }, { title: "Hot Combs & Hair Scissors", url: "\/collections\/hot-combs-hair-scissors", target: "_blank", levels: 0, }, { title: "Eyelashes & Makeup Tools", url: "\/collections\/eyelashes-makeup-tools", target: "_blank", levels: 0, }, ] }, ] }, { id: 64746323, title: "HUMAN HAIR WEAVE", url: "", target: "", levels: 2, product0: null || {}, children: [ { title: "Premium Virgin Grade Bundles", url: "\/collections\/premium-virgin-grade-hair-weaves", target: "_blank", levels: 0, children: [ ] }, { title: "Platinum Virgin Grade Bundles", url: "\/collections\/platinum-virgin-hair", target: "_blank", levels: 0, children: [ ] }, { title: "Diamond Virgin Grade Bundles", url: "\/collections\/diamond-virgin-grade", target: "_blank", levels: 0, children: [ ] }, { title: "Bundles With Closure & Frontal", url: "", target: "", levels: 1, children: [ { title: "3 Bundles With Closure", url: "\/collections\/3-bundles-with-closure", target: "_blank", levels: 0, }, { title: "3 Bundles With Frontal", url: "\/collections\/3-bundles-with-frontal", target: "_blank", levels: 0, }, ] }, { title: "Virgin Hair Sample-12g\/pcs", url: "\/collections\/virgin-hair-sample-12g-pcs", target: "_blank", levels: 0, children: [ ] }, { title: "613 Blonde & Ombre Hair", url: "\/collections\/613-blonde-ombre-hair", target: "_blank", levels: 0, children: [ ] }, { title: "Remy Human Hair", url: "\/collections\/remy-human-hair", target: "_blank", levels: 0, children: [ ] }, ] }, { id: 64746343, title: "HD LACE SERIES", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "HD Lace Wigs", url: "\/collections\/hd-lace-front-wigs", target: "_blank", levels: 0, children: [ ] }, { title: "HD Lace Closure With Bundles", url: "\/collections\/hd-lace-closure-with-bundles", target: "_blank", levels: 0, children: [ ] }, { title: "HD Lace Closure", url: "\/collections\/hd-lace-closures", target: "_blank", levels: 0, children: [ ] }, { title: "HD Lace Frontal", url: "\/collections\/hd-lace-frontals", target: "_blank", levels: 0, children: [ ] }, ] }, { id: 64746353, title: "HUMAN HAIR WIGS", url: "", target: "", levels: 2, product0: null || {}, children: [ { title: "Lace Front Wigs", url: "\/collections\/lace-front-wigs", target: "_blank", levels: 1, children: [ { title: "4*4 Lace Closure Wig", url: "\/collections\/4-4-lace-closure-wig", target: "_blank", levels: 0, }, { title: "13*4 \/ 6*6 \/ 5*5 Lace Front Wig", url: "\/collections\/13-4-6-6-5-5-lace-front-wig", target: "_blank", levels: 0, }, ] }, { title: "Thickened Customized Wigs", url: "\/collections\/customized-high-density-wigs", target: "_blank", levels: 1, children: [ { title: "Natural Color", url: "\/collections\/natural-color", target: "_blank", levels: 0, }, { title: "Piano Mix Color", url: "\/collections\/piano-mix-color", target: "_blank", levels: 0, }, ] }, { title: "U-Part Wigs", url: "\/collections\/u-part-wigs", target: "_blank", levels: 1, children: [ { title: "Thinnest Size U-Part Wig", url: "\/collections\/thinnest-size-u-part-wig", target: "_blank", levels: 0, }, { title: "Natural Size U-Part Wig", url: "\/collections\/natural-size-u-part-wig", target: "_blank", levels: 0, }, ] }, { title: "Full Lace Wigs", url: "\/collections\/full-lace-wigs", target: "_blank", levels: 0, children: [ ] }, { title: "Headband Wigs", url: "\/collections\/headband-wigs", target: "_blank", levels: 0, children: [ ] }, { title: "Full Machine Wigs", url: "\/collections\/full-machine-wigs", target: "_blank", levels: 0, children: [ ] }, { title: "360 Lace Frontal Wigs", url: "\/collections\/360-lace-frontal-wigs", target: "_blank", levels: 0, children: [ ] }, ] }, { id: 64746381, title: "CLIP INS & TAPE INS", url: "", target: "", levels: 2, product0: null || {}, children: [ { title: "Clip-Ins Hair Extensions", url: "\/collections\/clip-ins-hair-extensions", target: "_blank", levels: 1, children: [ { title: "18Clips 7Pcs\/Set", url: "\/collections\/18clips-7pcs-set", target: "_blank", levels: 0, }, { title: "32Clips 10Pcs\/Set", url: "\/collections\/32clips-10pcs-set", target: "_blank", levels: 0, }, { title: "14clips 7pcs\/set", url: "\/collections\/14clips-7pcs-set", target: "_blank", levels: 0, }, ] }, { title: "Tape-In Hair Extensions", url: "", target: "", levels: 1, children: [ { title: "Platinum Grade - 50g\/Pack", url: "\/collections\/platinum-grade-50g-pack", target: "_blank", levels: 0, }, { title: "Platinum Grade - 100g\/Pack", url: "\/collections\/platinum-grade-100g-pack", target: "_blank", levels: 0, }, ] }, ] }, { id: 64746397, title: "PONYTAILS", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Drawstring Ponytail", url: "\/collections\/drawstring-ponytail", target: "_blank", levels: 0, children: [ ] }, { title: "Wrap Around Ponytail", url: "\/collections\/wrap-around-ponytail", target: "_blank", levels: 0, children: [ ] }, ] }, { id: 64746403, title: "PROMOTION", url: "\/collections\/special-price", target: "_blank", levels: 0, product0: 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}
` })()}
CATEGORIES
Lace Closure & Frontal
5x5 Lace Closure
4x4 Lace Closure
13x4 Lace Frontal
360 Lace Size 22.5x4
Synthetic Hair
Synthetic Wigs
Synthetic Ponytail
Synthetic Braiding Hair
Synthetic Clip Ins
BEAUTY ACCESSORIES
Hair Band & Hair Cap
Hot Combs & Hair Scissors
Eyelashes & Makeup Tools
HUMAN HAIR WEAVE
Premium Virgin Grade Bundles
Platinum Virgin Grade Bundles
Diamond Virgin Grade Bundles
Bundles With Closure & Frontal
3 Bundles With Closure
3 Bundles With Frontal
Virgin Hair Sample-12g/pcs
613 Blonde & Ombre Hair
Remy Human Hair
HD LACE SERIES
HD Lace Wigs
HD Lace Closure With Bundles
HD Lace Closure
HD Lace Frontal
HUMAN HAIR WIGS
Lace Front Wigs
4*4 Lace Closure Wig
13*4 / 6*6 / 5*5 Lace Front Wig
Thickened Customized Wigs
Natural Color
Piano Mix Color
U-Part Wigs
Thinnest Size U-Part Wig
Natural Size U-Part Wig
Full Lace Wigs
Headband Wigs
Full Machine Wigs
360 Lace Frontal Wigs
CLIP INS & TAPE INS
Clip-Ins Hair Extensions
18Clips 7Pcs/Set
32Clips 10Pcs/Set
14clips 7pcs/set
Tape-In Hair Extensions
Platinum Grade - 50g/Pack
Platinum Grade - 100g/Pack
PONYTAILS
Drawstring Ponytail
Wrap Around Ponytail
PROMOTION
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: 64746293, title: "CATEGORIES", url: "", target: "", levels: 2, product0: null || {}, children: [ { title: "Lace Closure & Frontal ", url: "", target: "", levels: 1, children: [ { title: "5x5 Lace Closure", url: "\/collections\/lace-closure", target: "_blank", levels: 0, }, { title: "4x4 Lace Closure", url: "\/collections\/4x4-lace-closure", target: "_blank", levels: 0, }, { title: "13x4 Lace Frontal", url: "\/collections\/13x4-lace-frontal-h10y", target: "_blank", levels: 0, }, { title: "360 Lace Size 22.5x4", url: "\/collections\/360-lace-size-22-5x4", target: "_blank", levels: 0, }, ] }, { title: "Synthetic Hair", url: "", target: "", levels: 1, children: [ { title: "Synthetic Wigs", url: "\/collections\/synthetic-wigs", target: "_blank", levels: 0, }, { title: "Synthetic Ponytail", url: "\/collections\/synthetic-ponytail", target: "_blank", levels: 0, }, { title: "Synthetic Braiding Hair", url: "\/collections\/synthetic-braiding-hair", target: "_blank", levels: 0, }, { title: "Synthetic Clip Ins", url: "\/collections\/synthetic-clip-ins", target: "_blank", levels: 0, }, ] }, { title: "BEAUTY ACCESSORIES", url: "", target: "", levels: 1, children: [ { title: "Hair Band & Hair Cap", url: "\/collections\/hair-band-hair-cap", target: "_blank", levels: 0, }, { title: "Hot Combs & Hair Scissors", url: "\/collections\/hot-combs-hair-scissors", target: "_blank", levels: 0, }, { title: "Eyelashes & Makeup Tools", url: "\/collections\/eyelashes-makeup-tools", target: "_blank", levels: 0, }, ] }, ] }, { id: 64746323, title: "HUMAN HAIR WEAVE", url: "", target: "", levels: 2, product0: null || {}, children: [ { title: "Premium Virgin Grade Bundles", url: "\/collections\/premium-virgin-grade-hair-weaves", target: "_blank", levels: 0, children: [ ] }, { title: "Platinum Virgin Grade Bundles", url: "\/collections\/platinum-virgin-hair", target: "_blank", levels: 0, children: [ ] }, { title: "Diamond Virgin Grade Bundles", url: "\/collections\/diamond-virgin-grade", target: "_blank", levels: 0, children: [ ] }, { title: "Bundles With Closure & Frontal", url: "", target: "", levels: 1, children: [ { title: "3 Bundles With Closure", url: "\/collections\/3-bundles-with-closure", target: "_blank", levels: 0, }, { title: "3 Bundles With Frontal", url: "\/collections\/3-bundles-with-frontal", target: "_blank", levels: 0, }, ] }, { title: "Virgin Hair Sample-12g\/pcs", url: "\/collections\/virgin-hair-sample-12g-pcs", target: "_blank", levels: 0, children: [ ] }, { title: "613 Blonde & Ombre Hair", url: "\/collections\/613-blonde-ombre-hair", target: "_blank", levels: 0, children: [ ] }, { title: "Remy Human Hair", url: "\/collections\/remy-human-hair", target: "_blank", levels: 0, children: [ ] }, ] }, { id: 64746343, title: "HD LACE SERIES", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "HD Lace Wigs", url: "\/collections\/hd-lace-front-wigs", target: "_blank", levels: 0, children: [ ] }, { title: "HD Lace Closure With Bundles", url: "\/collections\/hd-lace-closure-with-bundles", target: "_blank", levels: 0, children: [ ] }, { title: "HD Lace Closure", url: "\/collections\/hd-lace-closures", target: "_blank", levels: 0, children: [ ] }, { title: "HD Lace Frontal", url: "\/collections\/hd-lace-frontals", target: "_blank", levels: 0, children: [ ] }, ] }, { id: 64746353, title: "HUMAN HAIR WIGS", url: "", target: "", levels: 2, product0: null || {}, children: [ { title: "Lace Front Wigs", url: "\/collections\/lace-front-wigs", target: "_blank", levels: 1, children: [ { title: "4*4 Lace Closure Wig", url: "\/collections\/4-4-lace-closure-wig", target: "_blank", levels: 0, }, { title: "13*4 \/ 6*6 \/ 5*5 Lace Front Wig", url: "\/collections\/13-4-6-6-5-5-lace-front-wig", target: "_blank", levels: 0, }, ] }, { title: "Thickened Customized Wigs", url: "\/collections\/customized-high-density-wigs", target: "_blank", levels: 1, children: [ { title: "Natural Color", url: "\/collections\/natural-color", target: "_blank", levels: 0, }, { title: "Piano Mix Color", url: "\/collections\/piano-mix-color", target: "_blank", levels: 0, }, ] }, { title: "U-Part Wigs", url: "\/collections\/u-part-wigs", target: "_blank", levels: 1, children: [ { title: "Thinnest Size U-Part Wig", url: "\/collections\/thinnest-size-u-part-wig", target: "_blank", levels: 0, }, { title: "Natural Size U-Part Wig", url: "\/collections\/natural-size-u-part-wig", target: "_blank", levels: 0, }, ] }, { title: "Full Lace Wigs", url: "\/collections\/full-lace-wigs", target: "_blank", levels: 0, children: [ ] }, { title: "Headband Wigs", url: "\/collections\/headband-wigs", target: "_blank", levels: 0, children: [ ] }, { title: "Full Machine Wigs", url: "\/collections\/full-machine-wigs", target: "_blank", levels: 0, children: [ ] }, { title: "360 Lace Frontal Wigs", url: "\/collections\/360-lace-frontal-wigs", target: "_blank", levels: 0, children: [ ] }, ] }, { id: 64746381, title: "CLIP INS & TAPE INS", url: "", target: "", levels: 2, product0: null || {}, children: [ { title: "Clip-Ins Hair Extensions", url: "\/collections\/clip-ins-hair-extensions", target: "_blank", levels: 1, children: [ { title: "18Clips 7Pcs\/Set", url: "\/collections\/18clips-7pcs-set", target: "_blank", levels: 0, }, { title: "32Clips 10Pcs\/Set", url: "\/collections\/32clips-10pcs-set", target: "_blank", levels: 0, }, { title: "14clips 7pcs\/set", url: "\/collections\/14clips-7pcs-set", target: "_blank", levels: 0, }, ] }, { title: "Tape-In Hair Extensions", url: "", target: "", levels: 1, children: [ { title: "Platinum Grade - 50g\/Pack", url: "\/collections\/platinum-grade-50g-pack", target: "_blank", levels: 0, }, { title: "Platinum Grade - 100g\/Pack", url: "\/collections\/platinum-grade-100g-pack", target: "_blank", levels: 0, }, ] }, ] }, { id: 64746397, title: "PONYTAILS", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Drawstring Ponytail", url: "\/collections\/drawstring-ponytail", target: "_blank", levels: 0, children: [ ] }, { title: "Wrap Around Ponytail", url: "\/collections\/wrap-around-ponytail", target: "_blank", levels: 0, children: [ ] }, ] }, { id: 64746403, title: "PROMOTION", url: "\/collections\/special-price", target: "_blank", levels: 0, product0: 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}
Search
${(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.
` })()}
CATEGORIES
CATEGORIES
Lace Closure & Frontal
Lace Closure & Frontal
5x5 Lace Closure
4x4 Lace Closure
13x4 Lace Frontal
360 Lace Size 22.5x4
Synthetic Hair
Synthetic Hair
Synthetic Wigs
Synthetic Ponytail
Synthetic Braiding Hair
Synthetic Clip Ins
BEAUTY ACCESSORIES
BEAUTY ACCESSORIES
Hair Band & Hair Cap
Hot Combs & Hair Scissors
Eyelashes & Makeup Tools
HUMAN HAIR WEAVE
HUMAN HAIR WEAVE
Premium Virgin Grade Bundles
Platinum Virgin Grade Bundles
Diamond Virgin Grade Bundles
Bundles With Closure & Frontal
Bundles With Closure & Frontal
3 Bundles With Closure
3 Bundles With Frontal
Virgin Hair Sample-12g/pcs
613 Blonde & Ombre Hair
Remy Human Hair
HD LACE SERIES
HD LACE SERIES
HD Lace Wigs
HD Lace Closure With Bundles
HD Lace Closure
HD Lace Frontal
HUMAN HAIR WIGS
HUMAN HAIR WIGS
Lace Front Wigs
Lace Front Wigs
4*4 Lace Closure Wig
13*4 / 6*6 / 5*5 Lace Front Wig
Thickened Customized Wigs
Thickened Customized Wigs
Natural Color
Piano Mix Color
U-Part Wigs
U-Part Wigs
Thinnest Size U-Part Wig
Natural Size U-Part Wig
Full Lace Wigs
Headband Wigs
Full Machine Wigs
360 Lace Frontal Wigs
CLIP INS & TAPE INS
CLIP INS & TAPE INS
Clip-Ins Hair Extensions
Clip-Ins Hair Extensions
18Clips 7Pcs/Set
32Clips 10Pcs/Set
14clips 7pcs/set
Tape-In Hair Extensions
Tape-In Hair Extensions
Platinum Grade - 50g/Pack
Platinum Grade - 100g/Pack
PONYTAILS
PONYTAILS
Drawstring Ponytail
Wrap Around Ponytail
PROMOTION
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(); })();
Product Inquiry
Find and click the entrance/button of "Live Chat".
2.
Enter and then send your message
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}
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}