${(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 ${ data.off_ratio }% ` : '' }` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `From
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
🚀Free Shipping On Orders Over
$69+
🎁Buy 5 get 6th FREE!🎁
🚀Free Shipping On Orders Over
$69+
🎁Buy 5 get 6th FREE!🎁
Search
Log in
Create an account
${data.data && data.data.count}
New Arrival🆕
🔥Best Seller🔥
👻Halloween👻
🎅Christmas 🎅
🍁F/W Style🍁
🐶Animal Lovers🐶
Women Tops
🌈Tie-dye Style🌈
🎀Ethnic Western Style🎀
☮Hippie Style☮
✝Faith Series✝
🍃Linen Blouses🍃
Wordy Edit Tee✍
Marble Style📌
🍁F/W Tops🍁
Bottoms
Pants
Leggings
⚡CLEARANCE SALE⚡
Dresses & Jumpsuits
Accessories
Jewelry
Women's Shoes 🆕
Holiday
❤Valentine's Day❤
🐰Happy Easter🐰
🍀St. Patrick's Day🍀
🇺🇸Flag Element🇺🇸
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: 53963931, title: "New Arrival\ud83c\udd95", url: "\/collections\/new", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963933, title: "\ud83d\udd25Best Seller\ud83d\udd25", url: "\/collections\/best-seller", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963935, title: "\ud83d\udc7bHalloween\ud83d\udc7b", url: "\/collections\/halloween", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963937, title: "\ud83c\udf85Christmas \ud83c\udf85", url: "\/collections\/christmas", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963939, title: "\ud83c\udf41F\/W Style\ud83c\udf41", url: "\/collections\/best-sellers", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963941, title: "\ud83d\udc36Animal Lovers\ud83d\udc36", url: "\/collections\/animal-lovers", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963943, title: "Women Tops", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "\ud83c\udf08Tie-dye Style\ud83c\udf08", url: "\/collections\/tie-dye-style", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf80Ethnic Western Style\ud83c\udf80", url: "\/collections\/ethnic-western-style", target: "", levels: 0, children: [ ] }, { title: "\u262eHippie Style\u262e", url: "\/collections\/hippie-style", target: "", levels: 0, children: [ ] }, { title: "\u271dFaith Series\u271d", url: "\/collections\/\u271dfaith-series-kge2", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf43Linen Blouses\ud83c\udf43", url: "\/collections\/casual-blouses", target: "", levels: 0, children: [ ] }, { title: "Wordy Edit Tee\u270d", url: "\/collections\/trendy-wordy-womens-tops", target: "", levels: 0, children: [ ] }, { title: "Marble Style\ud83d\udccc", url: "\/collections\/marble-style", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf41F\/W Tops\ud83c\udf41", url: "\/collections\/trendy-tops", target: "", levels: 0, children: [ ] }, ] }, { id: 53963961, title: "Bottoms", url: "\/collections\/bottoms", target: "", levels: 1, product0: null || {}, children: [ { title: "Pants", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, { title: "Leggings", url: "\/collections\/leggings", target: "", levels: 0, children: [ ] }, ] }, { id: 53963967, title: "\u26a1CLEARANCE SALE\u26a1", url: "\/collections\/flash-sale", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963969, title: "Dresses & Jumpsuits", url: "\/collections\/dresses-jumpsuits", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963971, title: "Accessories", url: "\/collections\/accessories", target: "", levels: 1, product0: null || {}, children: [ { title: "Jewelry", url: "\/collections\/jewelry", target: "", levels: 0, children: [ ] }, { title: "Women's Shoes \ud83c\udd95", url: "\/collections\/shoes", target: "", levels: 0, children: [ ] }, ] }, { id: 53963977, title: "Holiday", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "\u2764Valentine's Day\u2764", url: "\/collections\/valentines-day", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc30Happy Easter\ud83d\udc30", url: "\/collections\/easter-bunny", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf40St. Patrick's Day\ud83c\udf40", url: "\/collections\/\u2618saint-patricks-day\u2618", target: "", levels: 0, children: [ ] }, { title: "\ud83c\uddfa\ud83c\uddf8Flag Element\ud83c\uddfa\ud83c\uddf8", url: "\/collections\/flag-tops", 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}
` })()}
New Arrival🆕
🔥Best Seller🔥
👻Halloween👻
🎅Christmas 🎅
🍁F/W Style🍁
🐶Animal Lovers🐶
Women Tops
🌈Tie-dye Style🌈
🎀Ethnic Western Style🎀
☮Hippie Style☮
✝Faith Series✝
🍃Linen Blouses🍃
Wordy Edit Tee✍
Marble Style📌
🍁F/W Tops🍁
Bottoms
Pants
Leggings
⚡CLEARANCE SALE⚡
Dresses & Jumpsuits
Accessories
Jewelry
Women's Shoes 🆕
Holiday
❤Valentine's Day❤
🐰Happy Easter🐰
🍀St. Patrick's Day🍀
🇺🇸Flag Element🇺🇸
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: 53963931, title: "New Arrival\ud83c\udd95", url: "\/collections\/new", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963933, title: "\ud83d\udd25Best Seller\ud83d\udd25", url: "\/collections\/best-seller", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963935, title: "\ud83d\udc7bHalloween\ud83d\udc7b", url: "\/collections\/halloween", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963937, title: "\ud83c\udf85Christmas \ud83c\udf85", url: "\/collections\/christmas", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963939, title: "\ud83c\udf41F\/W Style\ud83c\udf41", url: "\/collections\/best-sellers", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963941, title: "\ud83d\udc36Animal Lovers\ud83d\udc36", url: "\/collections\/animal-lovers", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963943, title: "Women Tops", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "\ud83c\udf08Tie-dye Style\ud83c\udf08", url: "\/collections\/tie-dye-style", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf80Ethnic Western Style\ud83c\udf80", url: "\/collections\/ethnic-western-style", target: "", levels: 0, children: [ ] }, { title: "\u262eHippie Style\u262e", url: "\/collections\/hippie-style", target: "", levels: 0, children: [ ] }, { title: "\u271dFaith Series\u271d", url: "\/collections\/\u271dfaith-series-kge2", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf43Linen Blouses\ud83c\udf43", url: "\/collections\/casual-blouses", target: "", levels: 0, children: [ ] }, { title: "Wordy Edit Tee\u270d", url: "\/collections\/trendy-wordy-womens-tops", target: "", levels: 0, children: [ ] }, { title: "Marble Style\ud83d\udccc", url: "\/collections\/marble-style", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf41F\/W Tops\ud83c\udf41", url: "\/collections\/trendy-tops", target: "", levels: 0, children: [ ] }, ] }, { id: 53963961, title: "Bottoms", url: "\/collections\/bottoms", target: "", levels: 1, product0: null || {}, children: [ { title: "Pants", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, { title: "Leggings", url: "\/collections\/leggings", target: "", levels: 0, children: [ ] }, ] }, { id: 53963967, title: "\u26a1CLEARANCE SALE\u26a1", url: "\/collections\/flash-sale", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963969, title: "Dresses & Jumpsuits", url: "\/collections\/dresses-jumpsuits", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 53963971, title: "Accessories", url: "\/collections\/accessories", target: "", levels: 1, product0: null || {}, children: [ { title: "Jewelry", url: "\/collections\/jewelry", target: "", levels: 0, children: [ ] }, { title: "Women's Shoes \ud83c\udd95", url: "\/collections\/shoes", target: "", levels: 0, children: [ ] }, ] }, { id: 53963977, title: "Holiday", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "\u2764Valentine's Day\u2764", url: "\/collections\/valentines-day", target: "", levels: 0, children: [ ] }, { title: "\ud83d\udc30Happy Easter\ud83d\udc30", url: "\/collections\/easter-bunny", target: "", levels: 0, children: [ ] }, { title: "\ud83c\udf40St. Patrick's Day\ud83c\udf40", url: "\/collections\/\u2618saint-patricks-day\u2618", target: "", levels: 0, children: [ ] }, { title: "\ud83c\uddfa\ud83c\uddf8Flag Element\ud83c\uddfa\ud83c\uddf8", url: "\/collections\/flag-tops", 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}
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.
` })()}
New Arrival🆕
🔥Best Seller🔥
👻Halloween👻
🎅Christmas 🎅
🍁F/W Style🍁
🐶Animal Lovers🐶
Women Tops
Women Tops
🌈Tie-dye Style🌈
🎀Ethnic Western Style🎀
☮Hippie Style☮
✝Faith Series✝
🍃Linen Blouses🍃
Wordy Edit Tee✍
Marble Style📌
🍁F/W Tops🍁
Bottoms
Bottoms
Pants
Leggings
⚡CLEARANCE SALE⚡
Dresses & Jumpsuits
Accessories
Accessories
Jewelry
Women's Shoes 🆕
Holiday
Holiday
❤Valentine's Day❤
🐰Happy Easter🐰
🍀St. Patrick's Day🍀
🇺🇸Flag Element🇺🇸
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(); })();
Home
/
Jewelry
${function() { return `
0 ? (data.index - 1) : (data.total - 1)},animate=true,direct=-1);" data-type="prev">
` }()}
Jewelry
65 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Filter
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
Save 56%
Save 56%
Sister Heart Bracelets, Gifts for Sister, Sister Matching Bracelets
$8.88
$19.98
Save 47%
Save 47%
Retro Funny Frog Women's Earrings
$10.88
$20.48
Save 42%
Save 42%
Retro bee drop amber exaggerated Earrings
$11.88
$20.48
Save 42%
Save 42%
Colorful cicada wings gradient earrings
$11.88
$20.48
Save 0%
Save 0%
Hat Wine Glass Gradient Earrings
$5.98
$6.00
Save 19%
Save 19%
Halloween Ghost Festival Party Prom Witch Hat
$16.98
$20.98
Save 21%
Save 21%
Women Vintage Green Leaf Pearl Earrings
$10.98
$13.98
Save 17%
Save 17%
Ladies Retro Colorful Glaze Earrings
$9.98
$11.98
Save 17%
Save 17%
Women Retro Bohemian Creative Curved Wavy Earrings
$9.98
$11.98
Sister Heart Necklace, Friendship Bracelet, Gifts for Sister, Sister Matching Necklace
$9.98
Save 42%
Save 42%
Fashion retro ladies finger bracelet
$11.88
$20.48
Save 17%
Save 17%
Round spiral exaggerated retro ladies earrings
$9.98
$11.98
Save 4%
Save 4%
Classic Retro Plaid Earrings
From
$6.68
$6.98
+1
Save 42%
Save 42%
Love balloon cartoon heart-shaped glass necklace
$6.99
$11.98
Save 50%
Save 50%
Christmas Tree Bells Set Earrings
From
$3.98
$7.98
+2
Save 17%
Save 17%
Exaggerated circle vintage turquoise earrings
$9.98
$11.98
Heart-shaped Red Plaid Retro Earrings
$6.98
Halloween Funny Pumpkin Earrings
$6.98
Bohemian vintage colorful bead tassels earrings
$9.98
Quirky Halloween Pumpkin Earrings
$5.98
Save 45%
Save 45%
Bohemian Turquoise Vintage Earrings
From
$4.98
$8.98
+2
Save 17%
Save 17%
Wood Life Tree time gem Glass Pendant Necklace
$9.98
$11.98
+3
Save 17%
Save 17%
Ethnic style ceramic flower glaze bead bracelet
$9.98
$11.98
Alloy retro round colorful floral earrings
$9.98
Save 57%
Save 57%
Snowflake Christmas Tree Earrings
From
$2.98
$6.98
+1
Save 20%
Save 20%
Western style buffalo head water drop geometric embossing Earrings
$11.98
$14.98
Punk retro woven leather bracelet and peace logo Bracelet
$9.98
Save 21%
Save 21%
Green heart-shaped retro ring
$10.98
$13.98
Save 40%
Save 40%
Hat Wine Glass Gradient Earrings
$5.98
$10.00
Save 21%
Save 21%
Retro color separation Blue Gold Natural Stone Earrings songshilan Earrings
$10.98
$13.98
Fashion temperament star moon clavicle necklace
$9.98
Save 18%
Save 18%
Multi-layer ladies trendy alloy ladies thick chain necklace
$13.98
$16.98
Save 17%
Save 17%
Skeleton Punk Halloween Metal Earrings
$9.98
$11.98
+2
Save 31%
Save 31%
Retro punk skull finger bracelet
$12.98
$18.71
Save 20%
Save 20%
Seaside geometric triangle long tassel shell Leaf Pendant Earrings
$11.98
$14.98
Save 24%
Save 24%
Fashion ladies all-match tasseled vintage earrings
$12.98
$16.98
+3
Vintage triangle tasseled ladies earrings
$10.98
Save 21%
Save 21%
Vintage colorful gem ladies 8-piece ring set
$10.98
$13.98
Save 21%
Save 21%
Fan-shaped tasseled ladies retro earrings
$10.98
$13.98
Save 21%
Save 21%
Vintage turquoise flower cactus ring 9 piece set
$10.98
$13.98
Geometric Circle Ethnic Lotus Printed Earrings
$9.98
Retro Floral Printed Circle Earrings
$9.98
Save 33%
Save 33%
Bohemian holiday style beads pearl ladies multi-layer necklace
$13.98
$20.99
Retro national pattern moon Turquoise Earrings
$9.98
Leopard sunflower leather Earrings
$9.98
Save 17%
Save 17%
Alloy hollow butterfly bracelet ring conjoined suit
$9.98
$11.98
Save 17%
Save 17%
Punk style skull-hand fashion necklace
$9.98
$11.98
Save 50%
Save 50%
Western denim Water Drop Earrings
$4.98
$9.99
Save 17%
Save 17%
All-match Alloy Peace Dove Pendant Necklace
$9.98
$11.98
Save 17%
Save 17%
Ethnic Style Vintage Design Cobra Pendant Necklace
$9.98
$11.98
Save 21%
Save 21%
Multicolored beads summer ladies star shell pendant necklace
$10.98
$13.98
Save 19%
Save 19%
Colorful diamond floral trapezoid ladies fashion earrings
$12.98
$16.95
Save 30%
Save 30%
Punk Personality Monkey King Gold Rod Titanium Steel Ring Ring
$12.98
$18.52
Save 17%
Save 17%
Hollow Out Leaf Design Turquoise Ethnic Earrings
$9.98
$11.98
Save 17%
Save 17%
Punk tramp Indian motorcycle-style rings
$9.98
$11.98
Save 19%
Save 19%
Ice Out letter Bracelet In Rose Gold
$16.98
$20.98
No products found
Use fewer filters or
clear all
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}