${(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.url : data.url; 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(); return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Save
` : '' }` : "Sold out" }
${data.title}
${ data.price_min != data.price_max ? `From
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
Free Shipping Order $59
Buy 5 get 6th free(code:FREE1)
Free Shipping Order $59
Buy 5 get 6th free(code:FREE1)
Search
Log in
Create an account
${data.data && data.data.count}
HOME
NEW ARRIVALS
New In Today
Short Sleeve Shirts
Back In Stock
Up To 50% Off
In Stock
BEST SELLING
Best Selling
Best Selling Tops
Best Selling Bottom
Best Selling Accessories
☮️HIPPIES SHIRT☮️
⚡UNDER $13⚡
🔥CLEARANCE SALE🔥
SWEATSHIRT
TOPS
WOMEN
🔥Tank Tops🔥
🌈Crew Neck🌈
✨3/4 Sleeve Shirt✨
🍂Long Sleeve🍂
SHOP BY CATEGORY
☮️Hippies Shirts☮️
➰Slogan Shirts➰
✝Faith Shirts✝
🐥Funny Shirt🐥
SHOP BY ELEMENT
🎸Woodstock🎸
🦋Butterfly🦋
🍀Dragonfly🍀
🐮Animal🐮
Men
Men Shirt
BOTTOM
Bottom
💃Skirt💃
💄Short Dresses💄
💃Maxi Dresses💃
👖Pants👖
ACCESSORIES
Accessories
✨Earrings✨
💐Bracelet💐
👜Bags👜
👒Hat👒
🎁Tapestry🎁
🛒Blanket🛒
💫Necklaces💫
🎀Hair Band🎀
💍Rings💍
🍄Pillowcase🍄
🏃Socks🏃
FEATURED
HOLIDAY
🎃Halloween🎃
🎄Christmas🎄
☘St's Patrick's Day☘
🚩Independence Day🚩
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: 53060167, title: "HOME", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53060169, title: "NEW ARRIVALS", url: "\/collections\/new-in", target: "", levels: 2, product0: null || {}, children: [ { title: "New In Today", url: "\/collections\/new-in", target: "", levels: 1, children: [ { title: "Short Sleeve Shirts", url: "\/collections\/short-sleeved-shirts", target: "", levels: 0, }, ] }, { title: "Back In Stock", url: "\/collections\/in-stock", target: "", levels: 1, children: [ { title: "Up To 50% Off", url: "\/collections\/under-15", target: "", levels: 0, }, { title: "In Stock", url: "\/collections\/in-stock", target: "", levels: 0, }, ] }, ] }, { id: 53060181, title: "BEST SELLING", url: "\/collections\/hot-sale", target: "", levels: 2, product0: null || {}, children: [ { title: "Best Selling", url: "\/collections\/hot-sale", target: "", levels: 1, children: [ { title: "Best Selling Tops", url: "\/collections\/best-selling-tops", target: "", levels: 0, }, { title: "Best Selling Bottom", url: "\/collections\/best-selling-bottom", target: "", levels: 0, }, { title: "Best Selling Accessories", url: "\/collections\/accessories", target: "", levels: 0, }, ] }, ] }, { id: 53060191, title: "\u262e\ufe0fHIPPIES SHIRT\u262e\ufe0f", url: "\/collections\/hippie-shirt", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53060193, title: "\u26a1UNDER $13\u26a1", url: "\/collections\/under-13", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53060195, title: "\ud83d\udd25CLEARANCE SALE\ud83d\udd25", url: "\/collections\/flash-sale", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53060197, title: "SWEATSHIRT", url: "\/collections\/sweatshirts-hoodies", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53060199, title: "TOPS", url: "\/collections\/hot-sale", target: "", levels: 2, product0: null || {}, children: [ { title: "WOMEN", url: "\/collections\/women-tops", target: "", levels: 1, children: [ { title: "\ud83d\udd25Tank Tops\ud83d\udd25", url: "\/collections\/tank-tops", target: "", levels: 0, }, { title: "\ud83c\udf08Crew Neck\ud83c\udf08", url: "\/collections\/crew-neck-tees", target: "", levels: 0, }, { title: "\u27283\/4 Sleeve Shirt\u2728", url: "\/collections\/34-sleeve", target: "", levels: 0, }, { title: "\ud83c\udf42Long Sleeve\ud83c\udf42", url: "\/collections\/long-sleeve-shirts", target: "", levels: 0, }, ] }, { title: "SHOP BY CATEGORY", url: "\/collections\/shop-by-category", target: "", levels: 1, children: [ { title: "\u262e\ufe0fHippies Shirts\u262e\ufe0f", url: "\/collections\/hippie-shirt", target: "", levels: 0, }, { title: "\u27b0Slogan Shirts\u27b0", url: "\/collections\/slogan-shirts", target: "", levels: 0, }, { title: "\u271dFaith Shirts\u271d", url: "\/collections\/faith-shirts", target: "", levels: 0, }, { title: "\ud83d\udc25Funny Shirt\ud83d\udc25", url: "\/collections\/funny-shirt", target: "", levels: 0, }, ] }, { title: "SHOP BY ELEMENT", url: "\/collections\/shop-by-elements", target: "", levels: 1, children: [ { title: "\ud83c\udfb8Woodstock\ud83c\udfb8", url: "\/collections\/woodstock-festival", target: "", levels: 0, }, { title: "\ud83e\udd8bButterfly\ud83e\udd8b", url: "\/collections\/butterfly", target: "", levels: 0, }, { title: "\ud83c\udf40Dragonfly\ud83c\udf40", url: "\/collections\/dragonfly", target: "", levels: 0, }, { title: "\ud83d\udc2eAnimal\ud83d\udc2e", url: "\/collections\/animal", target: "", levels: 0, }, ] }, { title: "Men", url: "\/collections\/men-shirts", target: "", levels: 1, children: [ { title: "Men Shirt", url: "\/collections\/men-shirts", target: "", levels: 0, }, ] }, ] }, { id: 53060235, title: "BOTTOM", url: "\/collections\/bottom", target: "", levels: 2, product0: null || {}, children: [ { title: "Bottom", url: "\/collections\/bottom", target: "", levels: 1, children: [ { title: "\ud83d\udc83Skirt\ud83d\udc83", url: "\/collections\/skirt", target: "", levels: 0, }, { title: "\ud83d\udc84Short Dresses\ud83d\udc84", url: "\/collections\/short-dresses", target: "", levels: 0, }, { title: "\ud83d\udc83Maxi Dresses\ud83d\udc83", url: "\/collections\/maxi-dresses", target: "", levels: 0, }, { title: "\ud83d\udc56Pants\ud83d\udc56", url: "\/collections\/pants", target: "", levels: 0, }, ] }, ] }, { id: 53060247, title: "ACCESSORIES", url: "\/collections\/accessories", target: "", levels: 2, product0: null || {}, children: [ { title: "Accessories", url: "\/collections\/accessories", target: "", levels: 1, children: [ { title: "\u2728Earrings\u2728", url: "\/collections\/earrings", target: "", levels: 0, }, { title: "\ud83d\udc90Bracelet\ud83d\udc90", url: "\/collections\/bracelet", target: "", levels: 0, }, { title: "\ud83d\udc5cBags\ud83d\udc5c", url: "\/collections\/bags", target: "", levels: 0, }, { title: "\ud83d\udc52Hat\ud83d\udc52", url: "\/collections\/hat", target: "", levels: 0, }, { title: "\ud83c\udf81Tapestry\ud83c\udf81", url: "\/collections\/tapestry", target: "", levels: 0, }, { title: "\ud83d\uded2Blanket\ud83d\uded2", url: "\/collections\/blanket", target: "", levels: 0, }, { title: "\ud83d\udcabNecklaces\ud83d\udcab", url: "\/collections\/necklaces", target: "", levels: 0, }, { title: "\ud83c\udf80Hair Band\ud83c\udf80", url: "\/collections\/hair-band", target: "", levels: 0, }, { title: "\ud83d\udc8dRings\ud83d\udc8d", url: "\/collections\/rings", target: "", levels: 0, }, { title: "\ud83c\udf44Pillowcase\ud83c\udf44", url: "\/collections\/pillowcase", target: "", levels: 0, }, { title: "\ud83c\udfc3Socks\ud83c\udfc3", url: "\/collections\/socks", target: "", levels: 0, }, ] }, ] }, { id: 53060273, title: "FEATURED", url: "\/collections\/holiday", target: "", levels: 2, product0: null || {}, children: [ { title: "HOLIDAY", url: "\/collections\/holiday", target: "", levels: 1, children: [ { title: "\ud83c\udf83Halloween\ud83c\udf83", url: "\/collections\/halloween", target: "", levels: 0, }, { title: "\ud83c\udf84Christmas\ud83c\udf84", url: "\/collections\/christmas", target: "", levels: 0, }, { title: "\u2618St's Patrick's Day\u2618", url: "\/collections\/sts-patricks-day", target: "", levels: 0, }, { title: "\ud83d\udea9Independence Day\ud83d\udea9", url: "\/collections\/independence-day", 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 ARRIVALS
New In Today
Short Sleeve Shirts
Back In Stock
Up To 50% Off
In Stock
BEST SELLING
Best Selling
Best Selling Tops
Best Selling Bottom
Best Selling Accessories
☮️HIPPIES SHIRT☮️
⚡UNDER $13⚡
🔥CLEARANCE SALE🔥
SWEATSHIRT
TOPS
WOMEN
🔥Tank Tops🔥
🌈Crew Neck🌈
✨3/4 Sleeve Shirt✨
🍂Long Sleeve🍂
SHOP BY CATEGORY
☮️Hippies Shirts☮️
➰Slogan Shirts➰
✝Faith Shirts✝
🐥Funny Shirt🐥
SHOP BY ELEMENT
🎸Woodstock🎸
🦋Butterfly🦋
🍀Dragonfly🍀
🐮Animal🐮
Men
Men Shirt
BOTTOM
Bottom
💃Skirt💃
💄Short Dresses💄
💃Maxi Dresses💃
👖Pants👖
ACCESSORIES
Accessories
✨Earrings✨
💐Bracelet💐
👜Bags👜
👒Hat👒
🎁Tapestry🎁
🛒Blanket🛒
💫Necklaces💫
🎀Hair Band🎀
💍Rings💍
🍄Pillowcase🍄
🏃Socks🏃
FEATURED
HOLIDAY
🎃Halloween🎃
🎄Christmas🎄
☘St's Patrick's Day☘
🚩Independence Day🚩
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: 53060167, title: "HOME", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53060169, title: "NEW ARRIVALS", url: "\/collections\/new-in", target: "", levels: 2, product0: null || {}, children: [ { title: "New In Today", url: "\/collections\/new-in", target: "", levels: 1, children: [ { title: "Short Sleeve Shirts", url: "\/collections\/short-sleeved-shirts", target: "", levels: 0, }, ] }, { title: "Back In Stock", url: "\/collections\/in-stock", target: "", levels: 1, children: [ { title: "Up To 50% Off", url: "\/collections\/under-15", target: "", levels: 0, }, { title: "In Stock", url: "\/collections\/in-stock", target: "", levels: 0, }, ] }, ] }, { id: 53060181, title: "BEST SELLING", url: "\/collections\/hot-sale", target: "", levels: 2, product0: null || {}, children: [ { title: "Best Selling", url: "\/collections\/hot-sale", target: "", levels: 1, children: [ { title: "Best Selling Tops", url: "\/collections\/best-selling-tops", target: "", levels: 0, }, { title: "Best Selling Bottom", url: "\/collections\/best-selling-bottom", target: "", levels: 0, }, { title: "Best Selling Accessories", url: "\/collections\/accessories", target: "", levels: 0, }, ] }, ] }, { id: 53060191, title: "\u262e\ufe0fHIPPIES SHIRT\u262e\ufe0f", url: "\/collections\/hippie-shirt", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53060193, title: "\u26a1UNDER $13\u26a1", url: "\/collections\/under-13", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53060195, title: "\ud83d\udd25CLEARANCE SALE\ud83d\udd25", url: "\/collections\/flash-sale", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53060197, title: "SWEATSHIRT", url: "\/collections\/sweatshirts-hoodies", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53060199, title: "TOPS", url: "\/collections\/hot-sale", target: "", levels: 2, product0: null || {}, children: [ { title: "WOMEN", url: "\/collections\/women-tops", target: "", levels: 1, children: [ { title: "\ud83d\udd25Tank Tops\ud83d\udd25", url: "\/collections\/tank-tops", target: "", levels: 0, }, { title: "\ud83c\udf08Crew Neck\ud83c\udf08", url: "\/collections\/crew-neck-tees", target: "", levels: 0, }, { title: "\u27283\/4 Sleeve Shirt\u2728", url: "\/collections\/34-sleeve", target: "", levels: 0, }, { title: "\ud83c\udf42Long Sleeve\ud83c\udf42", url: "\/collections\/long-sleeve-shirts", target: "", levels: 0, }, ] }, { title: "SHOP BY CATEGORY", url: "\/collections\/shop-by-category", target: "", levels: 1, children: [ { title: "\u262e\ufe0fHippies Shirts\u262e\ufe0f", url: "\/collections\/hippie-shirt", target: "", levels: 0, }, { title: "\u27b0Slogan Shirts\u27b0", url: "\/collections\/slogan-shirts", target: "", levels: 0, }, { title: "\u271dFaith Shirts\u271d", url: "\/collections\/faith-shirts", target: "", levels: 0, }, { title: "\ud83d\udc25Funny Shirt\ud83d\udc25", url: "\/collections\/funny-shirt", target: "", levels: 0, }, ] }, { title: "SHOP BY ELEMENT", url: "\/collections\/shop-by-elements", target: "", levels: 1, children: [ { title: "\ud83c\udfb8Woodstock\ud83c\udfb8", url: "\/collections\/woodstock-festival", target: "", levels: 0, }, { title: "\ud83e\udd8bButterfly\ud83e\udd8b", url: "\/collections\/butterfly", target: "", levels: 0, }, { title: "\ud83c\udf40Dragonfly\ud83c\udf40", url: "\/collections\/dragonfly", target: "", levels: 0, }, { title: "\ud83d\udc2eAnimal\ud83d\udc2e", url: "\/collections\/animal", target: "", levels: 0, }, ] }, { title: "Men", url: "\/collections\/men-shirts", target: "", levels: 1, children: [ { title: "Men Shirt", url: "\/collections\/men-shirts", target: "", levels: 0, }, ] }, ] }, { id: 53060235, title: "BOTTOM", url: "\/collections\/bottom", target: "", levels: 2, product0: null || {}, children: [ { title: "Bottom", url: "\/collections\/bottom", target: "", levels: 1, children: [ { title: "\ud83d\udc83Skirt\ud83d\udc83", url: "\/collections\/skirt", target: "", levels: 0, }, { title: "\ud83d\udc84Short Dresses\ud83d\udc84", url: "\/collections\/short-dresses", target: "", levels: 0, }, { title: "\ud83d\udc83Maxi Dresses\ud83d\udc83", url: "\/collections\/maxi-dresses", target: "", levels: 0, }, { title: "\ud83d\udc56Pants\ud83d\udc56", url: "\/collections\/pants", target: "", levels: 0, }, ] }, ] }, { id: 53060247, title: "ACCESSORIES", url: "\/collections\/accessories", target: "", levels: 2, product0: null || {}, children: [ { title: "Accessories", url: "\/collections\/accessories", target: "", levels: 1, children: [ { title: "\u2728Earrings\u2728", url: "\/collections\/earrings", target: "", levels: 0, }, { title: "\ud83d\udc90Bracelet\ud83d\udc90", url: "\/collections\/bracelet", target: "", levels: 0, }, { title: "\ud83d\udc5cBags\ud83d\udc5c", url: "\/collections\/bags", target: "", levels: 0, }, { title: "\ud83d\udc52Hat\ud83d\udc52", url: "\/collections\/hat", target: "", levels: 0, }, { title: "\ud83c\udf81Tapestry\ud83c\udf81", url: "\/collections\/tapestry", target: "", levels: 0, }, { title: "\ud83d\uded2Blanket\ud83d\uded2", url: "\/collections\/blanket", target: "", levels: 0, }, { title: "\ud83d\udcabNecklaces\ud83d\udcab", url: "\/collections\/necklaces", target: "", levels: 0, }, { title: "\ud83c\udf80Hair Band\ud83c\udf80", url: "\/collections\/hair-band", target: "", levels: 0, }, { title: "\ud83d\udc8dRings\ud83d\udc8d", url: "\/collections\/rings", target: "", levels: 0, }, { title: "\ud83c\udf44Pillowcase\ud83c\udf44", url: "\/collections\/pillowcase", target: "", levels: 0, }, { title: "\ud83c\udfc3Socks\ud83c\udfc3", url: "\/collections\/socks", target: "", levels: 0, }, ] }, ] }, { id: 53060273, title: "FEATURED", url: "\/collections\/holiday", target: "", levels: 2, product0: null || {}, children: [ { title: "HOLIDAY", url: "\/collections\/holiday", target: "", levels: 1, children: [ { title: "\ud83c\udf83Halloween\ud83c\udf83", url: "\/collections\/halloween", target: "", levels: 0, }, { title: "\ud83c\udf84Christmas\ud83c\udf84", url: "\/collections\/christmas", target: "", levels: 0, }, { title: "\u2618St's Patrick's Day\u2618", url: "\/collections\/sts-patricks-day", target: "", levels: 0, }, { title: "\ud83d\udea9Independence Day\ud83d\udea9", url: "\/collections\/independence-day", 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}
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.
` })()}
HOME
NEW ARRIVALS
NEW ARRIVALS
New In Today
New In Today
Short Sleeve Shirts
Back In Stock
Back In Stock
Up To 50% Off
In Stock
BEST SELLING
BEST SELLING
Best Selling
Best Selling
Best Selling Tops
Best Selling Bottom
Best Selling Accessories
☮️HIPPIES SHIRT☮️
⚡UNDER $13⚡
🔥CLEARANCE SALE🔥
SWEATSHIRT
TOPS
TOPS
WOMEN
WOMEN
🔥Tank Tops🔥
🌈Crew Neck🌈
✨3/4 Sleeve Shirt✨
🍂Long Sleeve🍂
SHOP BY CATEGORY
SHOP BY CATEGORY
☮️Hippies Shirts☮️
➰Slogan Shirts➰
✝Faith Shirts✝
🐥Funny Shirt🐥
SHOP BY ELEMENT
SHOP BY ELEMENT
🎸Woodstock🎸
🦋Butterfly🦋
🍀Dragonfly🍀
🐮Animal🐮
Men
Men
Men Shirt
BOTTOM
BOTTOM
Bottom
Bottom
💃Skirt💃
💄Short Dresses💄
💃Maxi Dresses💃
👖Pants👖
ACCESSORIES
ACCESSORIES
Accessories
Accessories
✨Earrings✨
💐Bracelet💐
👜Bags👜
👒Hat👒
🎁Tapestry🎁
🛒Blanket🛒
💫Necklaces💫
🎀Hair Band🎀
💍Rings💍
🍄Pillowcase🍄
🏃Socks🏃
FEATURED
FEATURED
HOLIDAY
HOLIDAY
🎃Halloween🎃
🎄Christmas🎄
☘St's Patrick's Day☘
🚩Independence Day🚩
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(); })();
BLOG
Hippie Symbols And Their Meanings | Part 2
custompupshirt
Hippie Symbols And Their Meanings | Part 1
custompupshirt
6 Ways to dress like a hippie
custompupshirt
Custompupshirt Captures The Latest Hippie Clothing Collection
custompupshirt
Halloween Outfit and Accessories Ideas Without Wearing a Full Costume
custompupshirt
The Best Boho Dress for Hippie Ladies
custompupshirt
${data.title}
${data.author}
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_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}
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_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}