${(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}
` })()}
Free worldwide shipping over $69
Free worldwide shipping over $69
Log in
Create an account
${data.data && data.data.count}
HOME
NEW IN
🔥HOT SALE🔥
T-SHIRTS
TANKS
HOODIES
MEN
PANTS
ACCESSORIES
Tattoo Stickers
Hats
Bags
Others
LAMODOR POPULAR
FEATURED DESIGNS
Skeleton Design💀
Moto Design🏍️
Slogan Design
Dark Design
Double Side Design
Western Design
SHOP BY THEME
Thick Thighs🦵
Cactus🌵
Women's Power
Mom
Nature
SHOP BY HOBBY
Tattoo
Liquor
Fitness
Tarot
HOLIDAY
Halloween🎃
Christmas🎄
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: 68410073, title: "HOME", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410075, title: "NEW IN", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410077, title: "\ud83d\udd25HOT SALE\ud83d\udd25", url: "\/collections\/hot-sale", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410079, title: "T-SHIRTS", url: "\/collections\/t-shirts", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410081, title: "TANKS", url: "\/collections\/tanks", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410083, title: "HOODIES", url: "\/collections\/hoodies", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410085, title: "MEN", url: "\/collections\/men", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410087, title: "PANTS", url: "\/collections\/pants", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410089, title: "ACCESSORIES", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Tattoo Stickers", url: "\/collections\/tattoo-stickers", target: "", levels: 0, children: [ ] }, { title: "Hats", url: "\/collections\/hats", target: "", levels: 0, children: [ ] }, { title: "Bags", url: "\/collections\/bags", target: "", levels: 0, children: [ ] }, { title: "Others", url: "\/collections\/others", target: "", levels: 0, children: [ ] }, ] }, { id: 68410099, title: "LAMODOR POPULAR", url: "", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "FEATURED DESIGNS", url: "", target: "", levels: 1, children: [ { title: "Skeleton Design\ud83d\udc80", url: "\/collections\/skeleton-design", target: "", levels: 0, }, { title: "Moto Design\ud83c\udfcd\ufe0f", url: "\/collections\/moto-design", target: "", levels: 0, }, { title: "Slogan Design", url: "\/collections\/slogan-design", target: "", levels: 0, }, { title: "Dark Design", url: "\/collections\/dark-design", target: "", levels: 0, }, { title: "Double Side Design", url: "\/collections\/double-side-design", target: "", levels: 0, }, { title: "Western Design", url: "\/collections\/western-design", target: "", levels: 0, }, ] }, { title: "SHOP BY THEME", url: "", target: "", levels: 1, children: [ { title: "Thick Thighs\ud83e\uddb5", url: "\/collections\/thick-thighs", target: "", levels: 0, }, { title: "Cactus\ud83c\udf35", url: "\/collections\/cactus", target: "", levels: 0, }, { title: "Women's Power", url: "\/collections\/womens-power", target: "", levels: 0, }, { title: "Mom", url: "\/collections\/mom", target: "", levels: 0, }, { title: "Nature", url: "\/collections\/nature", target: "", levels: 0, }, ] }, { title: "SHOP BY HOBBY", url: "", target: "", levels: 1, children: [ { title: "Tattoo", url: "\/collections\/tattoo", target: "", levels: 0, }, { title: "Liquor", url: "\/collections\/liquor", target: "", levels: 0, }, { title: "Fitness", url: "\/collections\/fitness", target: "", levels: 0, }, { title: "Tarot", url: "\/collections\/tarot", target: "", levels: 0, }, ] }, { title: "HOLIDAY", url: "", target: "", levels: 1, children: [ { title: "Halloween\ud83c\udf83", url: "", target: "", levels: 0, }, { title: "Christmas\ud83c\udf84", url: "", target: "", levels: 0, }, ] }, ] }, ].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
🔥HOT SALE🔥
T-SHIRTS
TANKS
HOODIES
MEN
PANTS
ACCESSORIES
Tattoo Stickers
Hats
Bags
Others
LAMODOR POPULAR
FEATURED DESIGNS
Skeleton Design💀
Moto Design🏍️
Slogan Design
Dark Design
Double Side Design
Western Design
SHOP BY THEME
Thick Thighs🦵
Cactus🌵
Women's Power
Mom
Nature
SHOP BY HOBBY
Tattoo
Liquor
Fitness
Tarot
HOLIDAY
Halloween🎃
Christmas🎄
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: 68410073, title: "HOME", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410075, title: "NEW IN", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410077, title: "\ud83d\udd25HOT SALE\ud83d\udd25", url: "\/collections\/hot-sale", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410079, title: "T-SHIRTS", url: "\/collections\/t-shirts", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410081, title: "TANKS", url: "\/collections\/tanks", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410083, title: "HOODIES", url: "\/collections\/hoodies", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410085, title: "MEN", url: "\/collections\/men", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410087, title: "PANTS", url: "\/collections\/pants", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68410089, title: "ACCESSORIES", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "Tattoo Stickers", url: "\/collections\/tattoo-stickers", target: "", levels: 0, children: [ ] }, { title: "Hats", url: "\/collections\/hats", target: "", levels: 0, children: [ ] }, { title: "Bags", url: "\/collections\/bags", target: "", levels: 0, children: [ ] }, { title: "Others", url: "\/collections\/others", target: "", levels: 0, children: [ ] }, ] }, { id: 68410099, title: "LAMODOR POPULAR", url: "", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "FEATURED DESIGNS", url: "", target: "", levels: 1, children: [ { title: "Skeleton Design\ud83d\udc80", url: "\/collections\/skeleton-design", target: "", levels: 0, }, { title: "Moto Design\ud83c\udfcd\ufe0f", url: "\/collections\/moto-design", target: "", levels: 0, }, { title: "Slogan Design", url: "\/collections\/slogan-design", target: "", levels: 0, }, { title: "Dark Design", url: "\/collections\/dark-design", target: "", levels: 0, }, { title: "Double Side Design", url: "\/collections\/double-side-design", target: "", levels: 0, }, { title: "Western Design", url: "\/collections\/western-design", target: "", levels: 0, }, ] }, { title: "SHOP BY THEME", url: "", target: "", levels: 1, children: [ { title: "Thick Thighs\ud83e\uddb5", url: "\/collections\/thick-thighs", target: "", levels: 0, }, { title: "Cactus\ud83c\udf35", url: "\/collections\/cactus", target: "", levels: 0, }, { title: "Women's Power", url: "\/collections\/womens-power", target: "", levels: 0, }, { title: "Mom", url: "\/collections\/mom", target: "", levels: 0, }, { title: "Nature", url: "\/collections\/nature", target: "", levels: 0, }, ] }, { title: "SHOP BY HOBBY", url: "", target: "", levels: 1, children: [ { title: "Tattoo", url: "\/collections\/tattoo", target: "", levels: 0, }, { title: "Liquor", url: "\/collections\/liquor", target: "", levels: 0, }, { title: "Fitness", url: "\/collections\/fitness", target: "", levels: 0, }, { title: "Tarot", url: "\/collections\/tarot", target: "", levels: 0, }, ] }, { title: "HOLIDAY", url: "", target: "", levels: 1, children: [ { title: "Halloween\ud83c\udf83", url: "", target: "", levels: 0, }, { title: "Christmas\ud83c\udf84", url: "", target: "", levels: 0, }, ] }, ] }, ].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.
` })()}
${item}
Search
Recently searched
${item}
Hot searches
${item.word}
Results
${item.highlightHtml}
HOME
NEW IN
🔥HOT SALE🔥
T-SHIRTS
TANKS
HOODIES
MEN
PANTS
ACCESSORIES
ACCESSORIES
Tattoo Stickers
Hats
Bags
Others
LAMODOR POPULAR
LAMODOR POPULAR
FEATURED DESIGNS
FEATURED DESIGNS
Skeleton Design💀
Moto Design🏍️
Slogan Design
Dark Design
Double Side Design
Western Design
SHOP BY THEME
SHOP BY THEME
Thick Thighs🦵
Cactus🌵
Women's Power
Mom
Nature
SHOP BY HOBBY
SHOP BY HOBBY
Tattoo
Liquor
Fitness
Tarot
HOLIDAY
HOLIDAY
Halloween🎃
Christmas🎄
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(); })();
MEN
76 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
FUCK AROUND AND FIND OUT PRINTED MEN'S T-SHIRT
$19.98
$28.99
CAFFEINE & GASOLINE SKULL PRINTED MEN'S T-SHIRT
$19.98
$28.99
KEEP IT TWISTED PRINTED MEN'S T-SHIRT
$19.98
$28.99
DIE WITH MEMORIES NOT DREAMS PRINTED MEN'S T-SHIRT
$19.98
$28.99
DO NOT FEED THE WHORES DRUGS PRINTED MEN'S T-SHIRT
$19.98
$28.99
NOBODY CARES WORK HARDER PRINTED MEN'S T-SHIRT
$19.98
$28.99
TO THE MOON AND BACK PRINTED MEN'S T-SHIRT
$19.98
$28.99
LIFE'S TOO SHORT TO GIVE A SHIT PRINTED MEN'S HOODIE
$31.98
$45.99
FUCKS I GIVE NUN PRINTED MEN'S T-SHIRT
$19.98
$28.99
I SUCK AT APOLOGIES SO UNFUCK YOU OR WHATEVER PRINT MEN'S T-SHIRT
$19.98
$28.99
I'M NOT RUDE LETTERS PRINTING MEN'S T-SHIRT
$19.98
$28.99
I DON'T DATE ANYMORE I JUST FOSTER WOMEN UNTIL THEY FIND THEIR FOREVER HOMES PRINT MEN'S T-SHIRT
$19.98
$28.99
LAUGH WITH MANY DON'T TRUST ANY PRINTED MEN'S T-SHIRT
$19.98
$28.99
IT IS WHAT IT IS PRINTED MEN'S HOODIE
$31.98
$45.99
+1
I'M OLD BUT I'M LIKE COOL OLD PRINTED MEN'S HOODIE
$31.98
$45.99
NOBODY CARES WORK HARDER PRINTED MEN'S HOODIE
$31.98
$45.99
WILD HEART PRINTED MEN'S HOODIE
$31.98
$45.99
YOU ARE NOT YOUR PAST PRINTED MEN'S HOODIE
$31.98
$45.99
DO IT FOR THE PEOPLE WHO WANT TO SEE YOU FAIL PRINTED MEN'S HOODIE
$31.98
$45.99
I WANNA BE THERE WHEN KARMA DRY FUCKS YOUR ASS WITH A CACTUS PRINT MEN'S T-SHIRT
$19.98
$28.99
I NEED SOME SPACE PRINTED MEN'S T-SHIRT
$19.98
$28.99
SMELLS LIKE SLUT IN HERE PRINTED MEN'S T-SHIRT
$19.98
$28.99
FEAR DOES NOT STOP DEATH IT STOPS LIFE PRINTED MEN'S T-SHIRT
$19.98
$28.99
WIN THE WAR THAT YOU TELL NOBODY ABOUT DOUBLE SIDE PRINTED MEN'S T-SHIRT
$21.98
$31.49
I'M BROKEN PRINT MEN'S T-SHIRT
$19.98
$28.99
IT IS WHAT IT IS PRINT MEN'S T-SHIRT
$19.98
$28.99
I'M COMING FOR EVERYTHING THEY SAID I COULDN'T HAVE PRINTED MEN'S T-SHIRT
$19.98
$28.99
LIFE IS TOO SHORT TO GIVE A SHIT PRINTED MEN'S T-SHIRT
$19.98
$28.99
IF YOU'RE FLIRTING WITH ME PLEASE LET ME KNOW PRINTED MEN'S T-SHIRT
$19.98
$28.99
IN MEMORY OF WHEN I GAVE A FUCK PRINT MEN'S T-SHIRT
$19.98
$28.99
I'M COMING FOR EVERYTHING THEY SAID I COULDN'T HAVE PRINT MEN'S HOODIE
$31.98
$45.99
I'M BROKEN PRINT MEN'S HOODIE
$31.98
$45.99
IF YOU'RE FLIRTING WITH ME PLEASE LET ME KNOW PRINTED MEN'S HOODIE
$31.98
$45.99
I'M BROKEN PRINTED MEN'S COMFORT HOODIE
$31.98
$45.99
+1
IT IS WHAT IT IS PRINT MEN'S HOODIE
$31.98
$45.99
NOT DEAD YET PRINTED MEN'S HOODIE
$31.98
$45.99
SOMETIMES YOU WIN SOMETIMES YOU LEARN PRINTED MEN'S HOODIE
$31.98
$45.99
KILL YOUR LOCAL PEDOPHILE PRINTED MEN'S HOODIE
$31.98
$45.99
NOBODY CARES WORK HARDER PRINT MEN'S HOODIE
$31.98
$45.99
IN MY DEFENSE I WAS LEFT UNSUPERVISED PRINT MEN'S HOODIE
$31.98
$45.99
LIFE IS BETTER WHEN YOU STOP CARING TOO MUCH PRINTED MEN'S HOODIE
$31.98
$45.99
SEE NO EVIL! HEAR NO EVIL! SPEAK NO EVIL! PRINTED MEN'S HOODIE
$31.98
$45.99
JUDGE ME WHEN YOU ARE PERFECT PRINTED MEN'S HOODIE
$31.98
$45.99
+1
MY HEAD IS A VERY DARK PLACE PRINTED MEN'S HOODIE
$31.98
$45.99
I'M OK WITH MY CRAZY PRINTED MEN'S HOODIE
$31.98
$45.99
IN MEMORY OF WHEN I GAVE A FUCK PRINTED MEN'S HOODIE
$31.98
$45.99
I DON'T TRUST ME EITHER PRINTED MEN'S HOODIE
$31.98
$45.99
I AM WHO I AM YOUR APPROVAL IS NOT NEEDED PRINT MEN'S HOODIE
$31.98
$45.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 = 69; var freeAmount = postageFreeAmount - total_price; var isFreeShipping = freeAmount <= 0; var rate = Math.min(total_price / postageFreeAmount * 100, 100).toFixed(2); const textArray = ("Spend {{ amount }} more and get free shipping!").split(/\{\{\s*amount\s*\}\}/); const textArrayHtml = textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); return `
${textArrayHtml}
You've got free shipping
${rate}%
` })()}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
${(function(){ var total_price = data.total_price; var postageFreeAmount = 69; var freeAmount = postageFreeAmount - total_price; var isFreeShipping = freeAmount <= 0; var rate = Math.min(total_price / postageFreeAmount * 100, 100).toFixed(2); const textArray = ("Spend {{ amount }} more and get free shipping!").split(/\{\{\s*amount\s*\}\}/); const textArrayHtml = textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); return `
${textArrayHtml}
You've got free shipping
${rate}%
` })()}
${data.invalid_msg}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
Check out
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
Subtotal:
${discount_application.title}:
-
Total:
Check out
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
View Cart
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { const nameEscape = opt.name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, '') product_change_event = product_change_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${nameEscape}Mouseover="quick-shop-selected-variant-${opt.id}.rerender(data=event);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Sold out" : "Add to cart"; return `
${statusLan}
` }()}
${function(){ const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const variantData = currentSelectVariant || defaultVariant || data; const retail_price = variantData.retail_price || 0; return `
Retail
` }()}
${function(){ const wholesale_enabled = false; const qty = data.quantity || 1; const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const productVariant = null; const variantData = currentSelectVariant || defaultVariant || productVariant; const wholesale_price = variantData.wholesale_price || []; if(wholesale_enabled && wholesale_price.length > 0) { let wholesaleIndex = wholesale_price.findIndex(item => { return item.min_quantity > qty; }); if(wholesaleIndex < 0){ wholesaleIndex = wholesale_price.length - 1; }else if(wholesaleIndex > 0){ wholesaleIndex = wholesaleIndex - 1; } const wholesalePrice = wholesale_price[wholesaleIndex] || ''; return `
` }else { const price = variantData && variantData.price; return price != undefined ? `
` : '
'; } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; const optionId = option.id || ''; const position = `option${index + 1}`; let isThumbImage = false; if (currentProduct.need_variant_image && !variantImageShowed) { const variantNames = ["color"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; variantImageShowed = true; } } } const variantType = "button"; const thumbStyle = "image_with_text"; return `
${optionName}:
${option.values.map((value, idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = currentProduct.variants; for (let i = 0, len = variants.length; i < len; i++) { const variant = variants[i]; if (variant[position] == value && thumbImage == null) { thumbImage = variant.image; break; } } } return `
${value}
` }).join('')}
${optionName}
${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
` }).join('')}
` }).join(''); }()}
${data.originData && data.originData.value || data.value}