${(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 = 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
` : `
` }
` })()}
🎉 Start 2025 with 10% OFF! 🎉
✈️Ship in 3 Days📦️Free Shipping Over $69✅️
🎉 Start 2025 with 10% OFF! 🎉
✈️Ship in 3 Days📦️Free Shipping Over $69✅️
Log in
Create an account
${data.data && data.data.count}
HOME
Tanks Collection
HOT
SHOP BY PRINTS
🟠Dragon Ball🐉
🌀Naruto🥷
👒One Piece🏴☠️
👹Jujutsu Kaisen🔮
⚔️Solo Leveling💪
🐗Demon Slayer👺
🪽Attack on Titan⚔️
🧛♂️BLEACH🗡️
💪Gym🏋️
CATEGORIES
Tops
Tank Top
T-Shirts
Hoodies
Sweatshirts
Vintage Long Sleeve T-Shirt
Bottoms
Shorts
Harem Pants
Vintage Outfits
Hats
Anime Shoe
Men's Casual Dragon Ball Anime Printed Fitness Tank Top
from
$19.99
NEW IN
HELP CENTER
FAQs
How To Order
How To Track
Payment Method
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 = {"TANKS COLLECTION":{"label":"HOT","bg":"#E62405","color":"#FFFFFF"},"TANK TOPS":{"label":" Most Bought","bg":"#E62405","color":"#FFFFFF"}}; let linkList = [ { id: 76766973, title: "HOME", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76766975, title: "Tanks Collection", url: "\/collections\/tanks-collection", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76766977, title: "SHOP BY PRINTS", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "\ud83d\udfe0Dragon Ball\ud83d\udc09", url: "\/collections\/dragon-ball", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf00Naruto\ud83e\udd77", url: "\/collections\/naruto", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc52One Piece\ud83c\udff4\u200d\u2620\ufe0f", url: "\/collections\/one-piece", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc79Jujutsu Kaisen\ud83d\udd2e", url: "\/collections\/jujutsu-kaisen", target: "", levels: 0, children: [ ] }, { title: "\u2694\ufe0fSolo Leveling\ud83d\udcaa", url: "\/collections\/solo-leveling", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc17Demon Slayer\ud83d\udc7a", url: "\/collections\/demon-slayer", target: "", levels: 0, children: [ ] }, { title: "\ud83e\udebdAttack on Titan\u2694\ufe0f", url: "\/collections\/attack-on-titan", target: "", levels: 0, children: [ ] }, { title: "\ud83e\udddb\u200d\u2642\ufe0fBLEACH\ud83d\udde1\ufe0f", url: "\/collections\/bleach", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udcaaGym\ud83c\udfcb\ufe0f\u200d", url: "\/collections\/gym-design", target: "", levels: 0, children: [ ] }, ] }, { id: 76767001, title: "CATEGORIES", url: "\/collections\/gym-design", target: "", levels: 2, product0: { id: ("bcc32164-056d-47c6-82b5-1e45204e9737") }, children: [ { title: "Tops", url: "", target: "", levels: 1, children: [ { title: "Tank Top", url: "\/collections\/tanks-collection", target: "", levels: 0, }, { title: "T-Shirts", url: "\/collections\/t-shirt-size", target: "", levels: 0, }, { title: "Hoodies", url: "\/collections\/hoodie", target: "", levels: 0, }, { title: "Sweatshirts", url: "\/collections\/sweatshirts", target: "", levels: 0, }, { title: "Vintage Long Sleeve T-Shirt", url: "\/collections\/vintage-long-sleeve-t-shirt", target: "", levels: 0, }, ] }, { title: "Bottoms", url: "", target: "", levels: 1, children: [ { title: "Shorts", url: "\/collections\/exercise-mens-shorts", target: "", levels: 0, }, { title: "Harem Pants", url: "\/collections\/harem-pants", target: "", levels: 0, }, ] }, { title: "Vintage Outfits", url: "\/collections\/vintage-outfits", target: "", levels: 0, children: [ ] }, { title: "Hats", url: "\/collections\/hat", target: "", levels: 0, children: [ ] }, { title: "Anime Shoe", url: "\/collections\/anime-shoe", target: "", levels: 0, children: [ ] }, ] }, { id: 76767027, title: "NEW IN", url: "\/collections\/new-in-xvmw", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76767029, title: "HELP CENTER", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "FAQs", url: "\/pages\/faqs", target: "", levels: 0, children: [ ] }, { title: "How To Order", url: "\/pages\/how-to-order", target: "", levels: 0, children: [ ] }, { title: "How To Track", url: "\/pages\/how-to-track", target: "", levels: 0, children: [ ] }, { title: "Payment Method", url: "\/pages\/payment-method", 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}
` })()}
HOME
Tanks Collection
HOT
SHOP BY PRINTS
🟠Dragon Ball🐉
🌀Naruto🥷
👒One Piece🏴☠️
👹Jujutsu Kaisen🔮
⚔️Solo Leveling💪
🐗Demon Slayer👺
🪽Attack on Titan⚔️
🧛♂️BLEACH🗡️
💪Gym🏋️
CATEGORIES
Tops
Tank Top
T-Shirts
Hoodies
Sweatshirts
Vintage Long Sleeve T-Shirt
Bottoms
Shorts
Harem Pants
Vintage Outfits
Hats
Anime Shoe
Men's Casual Dragon Ball Anime Printed Fitness Tank Top
from
$19.99
NEW IN
HELP CENTER
FAQs
How To Order
How To Track
Payment Method
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 = {"TANKS COLLECTION":{"label":"HOT","bg":"#E62405","color":"#FFFFFF"},"TANK TOPS":{"label":" Most Bought","bg":"#E62405","color":"#FFFFFF"}}; let linkList = [ { id: 76766973, title: "HOME", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76766975, title: "Tanks Collection", url: "\/collections\/tanks-collection", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76766977, title: "SHOP BY PRINTS", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "\ud83d\udfe0Dragon Ball\ud83d\udc09", url: "\/collections\/dragon-ball", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf00Naruto\ud83e\udd77", url: "\/collections\/naruto", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc52One Piece\ud83c\udff4\u200d\u2620\ufe0f", url: "\/collections\/one-piece", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc79Jujutsu Kaisen\ud83d\udd2e", url: "\/collections\/jujutsu-kaisen", target: "", levels: 0, children: [ ] }, { title: "\u2694\ufe0fSolo Leveling\ud83d\udcaa", url: "\/collections\/solo-leveling", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc17Demon Slayer\ud83d\udc7a", url: "\/collections\/demon-slayer", target: "", levels: 0, children: [ ] }, { title: "\ud83e\udebdAttack on Titan\u2694\ufe0f", url: "\/collections\/attack-on-titan", target: "", levels: 0, children: [ ] }, { title: "\ud83e\udddb\u200d\u2642\ufe0fBLEACH\ud83d\udde1\ufe0f", url: "\/collections\/bleach", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udcaaGym\ud83c\udfcb\ufe0f\u200d", url: "\/collections\/gym-design", target: "", levels: 0, children: [ ] }, ] }, { id: 76767001, title: "CATEGORIES", url: "\/collections\/gym-design", target: "", levels: 2, product0: { id: ("bcc32164-056d-47c6-82b5-1e45204e9737") }, children: [ { title: "Tops", url: "", target: "", levels: 1, children: [ { title: "Tank Top", url: "\/collections\/tanks-collection", target: "", levels: 0, }, { title: "T-Shirts", url: "\/collections\/t-shirt-size", target: "", levels: 0, }, { title: "Hoodies", url: "\/collections\/hoodie", target: "", levels: 0, }, { title: "Sweatshirts", url: "\/collections\/sweatshirts", target: "", levels: 0, }, { title: "Vintage Long Sleeve T-Shirt", url: "\/collections\/vintage-long-sleeve-t-shirt", target: "", levels: 0, }, ] }, { title: "Bottoms", url: "", target: "", levels: 1, children: [ { title: "Shorts", url: "\/collections\/exercise-mens-shorts", target: "", levels: 0, }, { title: "Harem Pants", url: "\/collections\/harem-pants", target: "", levels: 0, }, ] }, { title: "Vintage Outfits", url: "\/collections\/vintage-outfits", target: "", levels: 0, children: [ ] }, { title: "Hats", url: "\/collections\/hat", target: "", levels: 0, children: [ ] }, { title: "Anime Shoe", url: "\/collections\/anime-shoe", target: "", levels: 0, children: [ ] }, ] }, { id: 76767027, title: "NEW IN", url: "\/collections\/new-in-xvmw", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76767029, title: "HELP CENTER", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "FAQs", url: "\/pages\/faqs", target: "", levels: 0, children: [ ] }, { title: "How To Order", url: "\/pages\/how-to-order", target: "", levels: 0, children: [ ] }, { title: "How To Track", url: "\/pages\/how-to-track", target: "", levels: 0, children: [ ] }, { title: "Payment Method", url: "\/pages\/payment-method", 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.
` })()}
${item}
Search
Recently searched
${item}
Hot searches
${item.word}
Results
${item.highlightHtml}
HOME
Tanks Collection
HOT
SHOP BY PRINTS
SHOP BY PRINTS
🟠Dragon Ball🐉
🌀Naruto🥷
👒One Piece🏴☠️
👹Jujutsu Kaisen🔮
⚔️Solo Leveling💪
🐗Demon Slayer👺
🪽Attack on Titan⚔️
🧛♂️BLEACH🗡️
💪Gym🏋️
CATEGORIES
CATEGORIES
Tops
Tops
Tank Top
T-Shirts
Hoodies
Sweatshirts
Vintage Long Sleeve T-Shirt
Bottoms
Bottoms
Shorts
Harem Pants
Vintage Outfits
Hats
Anime Shoe
NEW IN
HELP CENTER
HELP CENTER
FAQs
How To Order
How To Track
Payment Method
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(); })();
Home
/
INTELLECTUAL PROPERTY RIGHTS
INTELLECTUAL PROPERTY RIGHTS
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
/** @private {string} */ class SpzCustomAnchorScroll extends SPZ.BaseElement { static deferredMount() { return false; } constructor(element) { super(element); /** @private {Element} */ this.scrollableContainer_ = null; } isLayoutSupported(layout) { return layout == SPZCore.Layout.LOGIC; } buildCallback() { this.viewport_ = this.getViewport(); this.initActions_(); } setTarget(containerId, targetId) { this.containerId = '#' + containerId; this.targetId = '#' + targetId; } scrollToTarget() { const container = document.querySelector(this.containerId); const target = container.querySelector(this.targetId); const {scrollTop} = container; const eleOffsetTop = this.getOffsetTop_(target, container); this.viewport_ .interpolateScrollIntoView_( container, scrollTop, scrollTop + eleOffsetTop ); } initActions_() { this.registerAction( 'scrollToTarget', (invocation) => this.scrollToTarget(invocation?.caller) ); this.registerAction( 'setTarget', (invocation) => this.setTarget(invocation?.args?.containerId, invocation?.args?.targetId) ); } /** * @param {Element} element * @param {Element} container * @return {number} * @private */ getOffsetTop_(element, container) { if (!element./*OK*/ getClientRects().length) { return 0; } const rect = element./*OK*/ getBoundingClientRect(); if (rect.width || rect.height) { return rect.top - container./*OK*/ getBoundingClientRect().top; } return rect.top; } } SPZ.defineElement('spz-custom-anchor-scroll', SpzCustomAnchorScroll);
const STRENGTHEN_TRUST_URL = "/api/strengthen_trust/settings"; class SpzCustomStrengthenTrust extends SPZ.BaseElement { constructor(element) { super(element); this.renderElement_ = null; } isLayoutSupported(layout) { return layout == SPZCore.Layout.CONTAINER; } buildCallback() { this.xhr_ = SPZServices.xhrFor(this.win); const renderId = this.element.getAttribute('render-id'); SPZCore.Dom.waitForChild( document.body, () => !!document.getElementById(renderId), () => { this.renderElement_ = SPZCore.Dom.scopedQuerySelector( document.body, `#${renderId}` ); if (this.renderElement_) { this.render_(); } this.registerAction('track', (invocation) => { this.track_(invocation.args); }); } ); } render_() { this.fetchData_().then((data) => { if (!data) { return; } SPZ.whenApiDefined(this.renderElement_).then((apis) => { apis?.render(data); document.querySelector('#strengthen-trust-render-cart_drawer').addEventListener('click',(event)=>{ if(event.target.nodeName == 'A'){ this.track_({type: 'trust_content_click'}); } }) }); }); } track_(data = {}) { const track = window.sa && window.sa.track; if (!track) { return; } track('trust_enhancement_event', data); } parseJSON_(string) { let result = {}; try { result = JSON.parse(string); } catch (e) {} return result; } fetchData_() { return this.xhr_ .fetchJson(STRENGTHEN_TRUST_URL) .then((responseData) => { if (!responseData || !responseData.data) { return null; } const data = responseData.data; const moduleSettings = (data.module_settings || []).reduce((result, moduleSetting) => { return result.concat(Object.assign(moduleSetting, { logos: (moduleSetting.logos || []).map((item) => { return moduleSetting.logos_type == 'custom' ? this.parseJSON_(item) : item; }) })); }, []); return Object.assign(data, { module_settings: moduleSettings, isEditor: window.self !== window.top, }); }); } } SPZ.defineElement('spz-custom-strengthen-trust', SpzCustomStrengthenTrust);
${data.module_title}
To display this card to customers, you need to go to "Booster & Store Conversion" to turn on the trust enhancement feature.
${data.module_title}
${item.title}
${item.title}
${item.content.replaceAll("{store_name}","FROMSPARCOO")}
To display this card to customers, you need to go to "Booster & Store Conversion" to turn on the trust enhancement feature.
${data.module_title}
${item.title}
${data.module_title}
${item.title}
${item.content.replaceAll("{store_name}","FROMSPARCOO")}
${(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}