${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "133.33%"; 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
` : '' }` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `from
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
Log in
Create an account
${data.data && data.data.count}
🔥BEST SELLER
Faith
Music
Animals
🐭Mouse&Hamster
🐦️Raven&Owl
🐇Bunny
🐶Dog
😸Cat
Cute Animals
Save
$14.00
Save
$14.00
Unisex Funny Cat Illustration Print Casual Round Neck T-Shirt
$19.99
$33.99
Festivals
Valentine's Day
Mardi Gras
St. Patrick's Day
Christmas
Rabbit Cult of the Forest Halloween T-shirt
$19.99
Women's Clothing
Long Sleeve Dress
Loose Pants
Mini Skirt
Leggings
Dresses
Irregular
Tops
Pant
Save
$13.01
Save
$13.01
Unisex Retro Wrestling Art Illustration Printed Casual Tank Top
from
$19.99
$33.00
Men's Clothing
Men's Tops
Men's Bottoms
Men's Outerwear
Save
$31.01
Save
$31.01
Men's Cat Pattern Print Fleece Hooded Coat
$45.99
$77.00
Unisex
Hoodies&Sweatshirts
T-Shirts
Tank Top
Save
$13.01
Save
$13.01
Unisex Retro Wrestling Art Illustration Printed Casual Tank Top
from
$19.99
$33.00
ACCESSORIES
Canvas Bag
Necklace
Earrings
Ring
Tapestry
Save
$9.00
Save
$9.00
New Christmas Bell Earrings
$9.99
$18.99
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: 62436861, title: "\ud83d\udd25BEST SELLER", url: "\/collections\/best-seller", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 62436863, title: "Faith", url: "\/collections\/faith", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 62436865, title: "Music", url: "\/collections\/music", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 62436867, title: "Animals", url: "\/collections\/animals", target: "", levels: 1, product0: { id: ("7e364d9e-b893-4a54-a8b5-ee4c9211806b") }, children: [ { title: "\ud83d\udc2dMouse&Hamster", url: "\/collections\/\ud83d\udc2dmouse-hamster", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc26\ufe0fRaven&Owl", url: "\/collections\/\ud83d\udc26-raven-owl", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc07Bunny", url: "\/collections\/\ud83d\udc07bunny", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc36Dog", url: "\/collections\/\ud83d\udc36dog", target: "", levels: 0, children: [ ] }, { title: "\ud83d\ude38Cat", url: "\/collections\/\ud83d\ude38cat", target: "", levels: 0, children: [ ] }, { title: "Cute Animals", url: "\/collections\/cute-animals", target: "", levels: 0, children: [ ] }, ] }, { id: 62436881, title: "Festivals", url: "\/collections\/festival", target: "", levels: 1, product0: { id: ("6ad2c5d1-b0c4-4e45-aeaf-d0f3423619cb") }, children: [ { title: "Valentine's Day", url: "\/collections\/valentines-day", target: "", levels: 0, children: [ ] }, { title: "Mardi Gras", url: "\/collections\/mardi-gras", target: "", levels: 0, children: [ ] }, { title: "St. Patrick's Day", url: "\/collections\/st-patricks-day", target: "", levels: 0, children: [ ] }, { title: "Christmas", url: "\/collections\/christmas", target: "", levels: 0, children: [ ] }, ] }, { id: 62436891, title: "Women's Clothing", url: "\/collections\/womens-clothing", target: "", levels: 1, product0: { id: ("72aac5f0-9c88-4485-b987-053e6e906288") }, children: [ { title: "Long Sleeve Dress", url: "\/collections\/long-sleeve-dress", target: "", levels: 0, children: [ ] }, { title: "Loose Pants", url: "\/collections\/womens-loose-pants", target: "", levels: 0, children: [ ] }, { title: "Mini Skirt", url: "\/collections\/mini-skirt", target: "", levels: 0, children: [ ] }, { title: "Leggings", url: "\/collections\/womens-leggings", target: "", levels: 0, children: [ ] }, { title: "Dresses", url: "\/collections\/dresses-skirts", target: "", levels: 0, children: [ ] }, { title: "Irregular", url: "\/collections\/irregular", target: "", levels: 0, children: [ ] }, { title: "Tops", url: "\/collections\/womens-tops", target: "", levels: 0, children: [ ] }, { title: "Pant", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, ] }, { id: 62436909, title: "Men's Clothing", url: "\/collections\/mens-clothing", target: "", levels: 1, product0: { id: ("76d7ee5e-b943-4f3c-bd5c-ad216b39d66f") }, children: [ { title: "Men's Tops", url: "\/collections\/mens-tops", target: "", levels: 0, children: [ ] }, { title: "Men's Bottoms", url: "\/collections\/mens-bottoms", target: "", levels: 0, children: [ ] }, { title: "Men's Outerwear", url: "\/collections\/mens-outerwear", target: "", levels: 0, children: [ ] }, ] }, { id: 62436917, title: "Unisex", url: "\/collections\/unisex", target: "", levels: 1, product0: { id: ("72aac5f0-9c88-4485-b987-053e6e906288") }, children: [ { title: "Hoodies&Sweatshirts", url: "\/collections\/hoodies-sweatshirts", target: "", levels: 0, children: [ ] }, { title: "T-Shirts", url: "\/collections\/t-shirts", target: "", levels: 0, children: [ ] }, { title: "Tank Top", url: "\/collections\/tank-top", target: "", levels: 0, children: [ ] }, ] }, { id: 62436925, title: "ACCESSORIES", url: "\/collections\/accessories", target: "", levels: 1, product0: { id: ("4f82fb8f-436e-4187-b619-4ecbecb67683") }, children: [ { title: "Canvas Bag", url: "\/collections\/canvas-bag", target: "", levels: 0, children: [ ] }, { title: "Necklace", url: "\/collections\/necklace", target: "", levels: 0, children: [ ] }, { title: "Earrings", url: "\/collections\/earrings", target: "", levels: 0, children: [ ] }, { title: "Ring", url: "\/collections\/ring", target: "", levels: 0, children: [ ] }, { title: "Tapestry", url: "\/collections\/tapestry", 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}
` })()}
🔥BEST SELLER
Faith
Music
Animals
🐭Mouse&Hamster
🐦️Raven&Owl
🐇Bunny
🐶Dog
😸Cat
Cute Animals
Save
$14.00
Save
$14.00
Unisex Funny Cat Illustration Print Casual Round Neck T-Shirt
$19.99
$33.99
Festivals
Valentine's Day
Mardi Gras
St. Patrick's Day
Christmas
Rabbit Cult of the Forest Halloween T-shirt
$19.99
Women's Clothing
Long Sleeve Dress
Loose Pants
Mini Skirt
Leggings
Dresses
Irregular
Tops
Pant
Save
$13.01
Save
$13.01
Unisex Retro Wrestling Art Illustration Printed Casual Tank Top
from
$19.99
$33.00
Men's Clothing
Men's Tops
Men's Bottoms
Men's Outerwear
Save
$31.01
Save
$31.01
Men's Cat Pattern Print Fleece Hooded Coat
$45.99
$77.00
Unisex
Hoodies&Sweatshirts
T-Shirts
Tank Top
Save
$13.01
Save
$13.01
Unisex Retro Wrestling Art Illustration Printed Casual Tank Top
from
$19.99
$33.00
ACCESSORIES
Canvas Bag
Necklace
Earrings
Ring
Tapestry
Save
$9.00
Save
$9.00
New Christmas Bell Earrings
$9.99
$18.99
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: 62436861, title: "\ud83d\udd25BEST SELLER", url: "\/collections\/best-seller", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 62436863, title: "Faith", url: "\/collections\/faith", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 62436865, title: "Music", url: "\/collections\/music", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 62436867, title: "Animals", url: "\/collections\/animals", target: "", levels: 1, product0: { id: ("7e364d9e-b893-4a54-a8b5-ee4c9211806b") }, children: [ { title: "\ud83d\udc2dMouse&Hamster", url: "\/collections\/\ud83d\udc2dmouse-hamster", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc26\ufe0fRaven&Owl", url: "\/collections\/\ud83d\udc26-raven-owl", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc07Bunny", url: "\/collections\/\ud83d\udc07bunny", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc36Dog", url: "\/collections\/\ud83d\udc36dog", target: "", levels: 0, children: [ ] }, { title: "\ud83d\ude38Cat", url: "\/collections\/\ud83d\ude38cat", target: "", levels: 0, children: [ ] }, { title: "Cute Animals", url: "\/collections\/cute-animals", target: "", levels: 0, children: [ ] }, ] }, { id: 62436881, title: "Festivals", url: "\/collections\/festival", target: "", levels: 1, product0: { id: ("6ad2c5d1-b0c4-4e45-aeaf-d0f3423619cb") }, children: [ { title: "Valentine's Day", url: "\/collections\/valentines-day", target: "", levels: 0, children: [ ] }, { title: "Mardi Gras", url: "\/collections\/mardi-gras", target: "", levels: 0, children: [ ] }, { title: "St. Patrick's Day", url: "\/collections\/st-patricks-day", target: "", levels: 0, children: [ ] }, { title: "Christmas", url: "\/collections\/christmas", target: "", levels: 0, children: [ ] }, ] }, { id: 62436891, title: "Women's Clothing", url: "\/collections\/womens-clothing", target: "", levels: 1, product0: { id: ("72aac5f0-9c88-4485-b987-053e6e906288") }, children: [ { title: "Long Sleeve Dress", url: "\/collections\/long-sleeve-dress", target: "", levels: 0, children: [ ] }, { title: "Loose Pants", url: "\/collections\/womens-loose-pants", target: "", levels: 0, children: [ ] }, { title: "Mini Skirt", url: "\/collections\/mini-skirt", target: "", levels: 0, children: [ ] }, { title: "Leggings", url: "\/collections\/womens-leggings", target: "", levels: 0, children: [ ] }, { title: "Dresses", url: "\/collections\/dresses-skirts", target: "", levels: 0, children: [ ] }, { title: "Irregular", url: "\/collections\/irregular", target: "", levels: 0, children: [ ] }, { title: "Tops", url: "\/collections\/womens-tops", target: "", levels: 0, children: [ ] }, { title: "Pant", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, ] }, { id: 62436909, title: "Men's Clothing", url: "\/collections\/mens-clothing", target: "", levels: 1, product0: { id: ("76d7ee5e-b943-4f3c-bd5c-ad216b39d66f") }, children: [ { title: "Men's Tops", url: "\/collections\/mens-tops", target: "", levels: 0, children: [ ] }, { title: "Men's Bottoms", url: "\/collections\/mens-bottoms", target: "", levels: 0, children: [ ] }, { title: "Men's Outerwear", url: "\/collections\/mens-outerwear", target: "", levels: 0, children: [ ] }, ] }, { id: 62436917, title: "Unisex", url: "\/collections\/unisex", target: "", levels: 1, product0: { id: ("72aac5f0-9c88-4485-b987-053e6e906288") }, children: [ { title: "Hoodies&Sweatshirts", url: "\/collections\/hoodies-sweatshirts", target: "", levels: 0, children: [ ] }, { title: "T-Shirts", url: "\/collections\/t-shirts", target: "", levels: 0, children: [ ] }, { title: "Tank Top", url: "\/collections\/tank-top", target: "", levels: 0, children: [ ] }, ] }, { id: 62436925, title: "ACCESSORIES", url: "\/collections\/accessories", target: "", levels: 1, product0: { id: ("4f82fb8f-436e-4187-b619-4ecbecb67683") }, children: [ { title: "Canvas Bag", url: "\/collections\/canvas-bag", target: "", levels: 0, children: [ ] }, { title: "Necklace", url: "\/collections\/necklace", target: "", levels: 0, children: [ ] }, { title: "Earrings", url: "\/collections\/earrings", target: "", levels: 0, children: [ ] }, { title: "Ring", url: "\/collections\/ring", target: "", levels: 0, children: [ ] }, { title: "Tapestry", url: "\/collections\/tapestry", 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.
` })()}
🔥BEST SELLER
Faith
Music
Animals
Animals
🐭Mouse&Hamster
🐦️Raven&Owl
🐇Bunny
🐶Dog
😸Cat
Cute Animals
Festivals
Festivals
Valentine's Day
Mardi Gras
St. Patrick's Day
Christmas
Women's Clothing
Women's Clothing
Long Sleeve Dress
Loose Pants
Mini Skirt
Leggings
Dresses
Irregular
Tops
Pant
Men's Clothing
Men's Clothing
Men's Tops
Men's Bottoms
Men's Outerwear
Unisex
Unisex
Hoodies&Sweatshirts
T-Shirts
Tank Top
ACCESSORIES
ACCESSORIES
Canvas Bag
Necklace
Earrings
Ring
Tapestry
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(); })();
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
` }()}
BEST SELLER
Save
$13.01
Save
$13.01
Unisex Retro Wrestling Art Illustration Printed Casual Tank Top
from
$19.99
$33.00
Save
$13.01
Save
$13.01
Unisex Christ Mary Graffiti Art Print Casual Tank Top
from
$19.99
$33.00
Save
$20.01
Save
$20.01
Unisex Wrestling Superstar Art Illustration Print Casual Tank Top
from
$19.99
$40.00
Save
$14.00
Save
$14.00
Unisex Wrestling Illustration Printed Casual Short Sleeve T-Shirt
$19.99
$33.99
Save
$13.01
Save
$13.01
Unisex Retro Zombie Art Illustration Print Casual Tank Top
$19.99
$33.00
Save
$14.00
Save
$14.00
Unisex Funny Music Jesus God Music Print Casual Short Sleeve T-Shirt
from
$19.99
$33.99
Save
$13.01
Save
$13.01
Unisex Retro Graffiti Art Print Casual Tank Top
$19.99
$33.00
Save
$13.01
Save
$13.01
Unisex Retro Wrestling Art Illustration Printed Casual Tank Top
$19.99
$33.00
Save
$14.00
Save
$14.00
Unisex Art Illustration Print Casual Round Neck T-Shirt
$19.99
$33.99
Save
$13.01
Save
$13.01
Unisex Vintage Western Print Casual Tank Top
$19.99
$33.00
Save
$14.00
Save
$14.00
Unisex Music Funny Jesus Art Illustration Print Casual Short Sleeve T-Shirt
from
$19.99
$33.99
Save
$14.00
Save
$14.00
Unisex Retro Funny Christian Rock Music Art Pattern Printed Casual Short Sleeve T-Shirt
from
$19.99
$33.99
Save
$14.00
Save
$14.00
Unisex Steam Engine Train Art Printed Casual Short Sleeve T-Shirt
from
$19.99
$33.99
Save
$13.01
Save
$13.01
Unisex Outer Space World Art Illustration Print Casual Tank Top
$19.99
$33.00
Save
$13.01
Save
$13.01
Unisex Retro Punk Music Art Illustration Casual Tank Top
from
$19.99
$33.00
Save
$13.01
Save
$13.01
Unisex Wrestling Art Illustration Printed Casual Tank Top
$19.99
$33.00
Save
$13.01
Save
$13.01
Unisex Retro Wrestling Sports Superstar Art Illustration Printed Casual Tank Top
$19.99
$33.00
Save
$14.00
Save
$14.00
Unisex Steam Engine Train Art Printed Casual Short Sleeve T-Shirt
from
$19.99
$33.99
Save
$13.01
Save
$13.01
Unisex Vintage Western Print Casual Tank Top
$19.99
$33.00
Save
$20.01
Save
$20.01
Unisex Wrestling Superstar Art Illustration Print Casual Tank Top
from
$19.99
$40.00
Save
$13.01
Save
$13.01
Unisex Retro Wrestling Art Illustration Printed Casual Tank Top
from
$19.99
$33.00
Save
$13.01
Save
$13.01
Unisex Christ Mary Graffiti Art Print Casual Tank Top
from
$19.99
$33.00
Save
$20.01
Save
$20.01
Unisex Wrestling Superstar Art Illustration Print Casual Tank Top
from
$19.99
$40.00
Save
$14.00
Save
$14.00
Unisex Wrestling Illustration Printed Casual Short Sleeve T-Shirt
$19.99
$33.99
Save
$13.01
Save
$13.01
Unisex Retro Zombie Art Illustration Print Casual Tank Top
$19.99
$33.00
Save
$14.00
Save
$14.00
Unisex Funny Music Jesus God Music Print Casual Short Sleeve T-Shirt
from
$19.99
$33.99
Save
$13.01
Save
$13.01
Unisex Retro Graffiti Art Print Casual Tank Top
$19.99
$33.00
Save
$13.01
Save
$13.01
Unisex Retro Wrestling Art Illustration Printed Casual Tank Top
$19.99
$33.00
View more
SHOP BY COLLECTION
T-Shirt
Tank Top
Hoodies&Sweatshirts
Accessoeies
Cart
Your shopping bag is empty
Continue shopping
${item.product_title}
${item.options.map(option => option.value).join('/')}
${propertie.name}/${propertie.isImage ? `
View image
` : propertie.value}
Free gift
Mixed Lot
*${item.quantity}
${item.item_text}
${discount_item.title}
(-
)
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
${data.invalid_msg}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
Check out
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
Subtotal:
${discount_application.title}:
-
Total:
Check out
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
View Cart
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { const nameEscape = opt.name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, '') product_change_event = product_change_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${nameEscape}Mouseover="quick-shop-selected-variant-${opt.id}.rerender(data=event);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Sold out" : "Add to cart"; return `
${statusLan}
` }()}
${function(){ const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const variantData = currentSelectVariant || defaultVariant || data; const retail_price = variantData.retail_price || 0; return `
Retail
` }()}
${function(){ const wholesale_enabled = false; const qty = data.quantity || 1; const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const productVariant = null; const variantData = currentSelectVariant || defaultVariant || productVariant; const wholesale_price = variantData.wholesale_price || []; if(wholesale_enabled && wholesale_price.length > 0) { let wholesaleIndex = wholesale_price.findIndex(item => { return item.min_quantity > qty; }); if(wholesaleIndex < 0){ wholesaleIndex = wholesale_price.length - 1; }else if(wholesaleIndex > 0){ wholesaleIndex = wholesaleIndex - 1; } const wholesalePrice = wholesale_price[wholesaleIndex] || ''; return `
` }else { const price = variantData && variantData.price; return price != undefined ? `
` : '
'; } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; const optionId = option.id || ''; const position = `option${index + 1}`; let isThumbImage = false; if (currentProduct.need_variant_image && !variantImageShowed) { const variantNames = ["color"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; variantImageShowed = true; } } } const variantType = "button"; const thumbStyle = "image_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}