${(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 Order $69+
Free Shipping on Order $69+
Log in
Create an account
${data.data && data.data.count}
HOME
NEW IN
TOP RATED
CLOTHING
Linen & Cotton
Linen Dresses
Linen Jumpsuits
Cotton Blouses & Shirts
Cotton Pants
Spring & Summer
HOT
Chic Dresses & Sets
PRIME
Gorgeous Sets & Dresses
Two Piece Sets
Rompers & Jumpsuits
Winter & Fall
Casual Sets
Mini Knit Dress
Sweaters & Cardigans
Coats & Jackets
Split Knitted Dresses
Bottoms
Jeans
Shop By Holiday
Christmas vibe
Shop By Occasion
Glisten Collection
ACCESSORIES
Bags
Earrings
Rings
Waist Chains
Scarfs & Socks
Metal Collection
Necklace & Bracelet
Metal Pearl Necklace and Earring Set
$35.63
FAQs
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 = {"SPRING & SUMMER":{"label":"HOT","bg":"#E62405","color":"#FFFFFF"},"CHIC DRESSES & SETS":{"label":"PRIME","bg":"#E62405","color":"#FFFFFF"}}; let linkList = [ { id: 59402243, title: "HOME", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 59402245, title: "NEW IN", url: "\/collections\/new-in-0rkj", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 59402247, title: "TOP RATED", url: "\/collections\/top-rated", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 59402249, title: "CLOTHING", url: "", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "Linen & Cotton", url: "\/collections\/linen-cotton", target: "", levels: 1, children: [ { title: "Linen Dresses", url: "\/collections\/vintage-linen-dresses", target: "", levels: 0, }, { title: "Linen Jumpsuits", url: "\/collections\/linen-jumpsuit", target: "", levels: 0, }, { title: "Cotton Blouses & Shirts", url: "\/collections\/cotton-blouses", target: "", levels: 0, }, { title: "Cotton Pants", url: "\/collections\/cotton-pants", target: "", levels: 0, }, ] }, { title: "Spring & Summer", url: "", target: "", levels: 1, children: [ { title: "Chic Dresses & Sets", url: "\/collections\/chic-dress-set", target: "", levels: 0, }, { title: "Gorgeous Sets & Dresses", url: "\/collections\/gorgeous-sets-dresses", target: "", levels: 0, }, { title: "Two Piece Sets", url: "\/collections\/chic-two-piece-set", target: "", levels: 0, }, { title: "Rompers & Jumpsuits", url: "\/collections\/rompers-jumpsuits", target: "", levels: 0, }, ] }, { title: "Winter & Fall", url: "", target: "", levels: 1, children: [ { title: "Casual Sets", url: "\/collections\/casual-set", target: "", levels: 0, }, { title: "Mini Knit Dress", url: "\/collections\/mini-knit-dress", target: "", levels: 0, }, { title: "Sweaters & Cardigans", url: "\/collections\/chic-sweaters-cardigans", target: "", levels: 0, }, { title: "Coats & Jackets", url: "\/collections\/coats-jackets", target: "", levels: 0, }, { title: "Split Knitted Dresses", url: "\/collections\/split-casual-knitted-dresses", target: "", levels: 0, }, ] }, { title: "Bottoms", url: "\/collections\/casual-pants", target: "", levels: 1, children: [ { title: "Jeans", url: "\/collections\/jeans", target: "", levels: 0, }, ] }, { title: "Shop By Holiday", url: "", target: "", levels: 1, children: [ { title: "Christmas vibe", url: "\/collections\/christmas-vibe", target: "", levels: 0, }, ] }, { title: "Shop By Occasion", url: "", target: "", levels: 1, children: [ { title: "Glisten Collection", url: "\/collections\/glisten-collection", target: "", levels: 0, }, ] }, ] }, { id: 59402295, title: "ACCESSORIES", url: "\/collections\/pearl-metal-collection", target: "", levels: 1, product0: { id: ("ef8b2875-7a97-4edb-8156-5c624b7a6737") }, children: [ { title: "Bags", url: "\/collections\/woven-accessories", target: "", levels: 0, children: [ ] }, { title: "Earrings", url: "\/collections\/earrings", target: "", levels: 0, children: [ ] }, { title: "Rings", url: "\/collections\/rings", target: "", levels: 0, children: [ ] }, { title: "Waist Chains", url: "\/collections\/waist-chains", target: "", levels: 0, children: [ ] }, { title: "Scarfs & Socks", url: "\/collections\/scarfs-socks", target: "", levels: 0, children: [ ] }, { title: "Metal Collection", url: "\/collections\/metal-collection", target: "", levels: 0, children: [ ] }, { title: "Necklace & Bracelet", url: "\/collections\/necklace-bracelet", target: "", levels: 0, children: [ ] }, ] }, { id: 59402311, title: "FAQs", url: "\/pages\/faqs", target: "", levels: 0, product0: { id: (null) }, 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
NEW IN
TOP RATED
CLOTHING
Linen & Cotton
Linen Dresses
Linen Jumpsuits
Cotton Blouses & Shirts
Cotton Pants
Spring & Summer
HOT
Chic Dresses & Sets
PRIME
Gorgeous Sets & Dresses
Two Piece Sets
Rompers & Jumpsuits
Winter & Fall
Casual Sets
Mini Knit Dress
Sweaters & Cardigans
Coats & Jackets
Split Knitted Dresses
Bottoms
Jeans
Shop By Holiday
Christmas vibe
Shop By Occasion
Glisten Collection
ACCESSORIES
Bags
Earrings
Rings
Waist Chains
Scarfs & Socks
Metal Collection
Necklace & Bracelet
Metal Pearl Necklace and Earring Set
$35.63
FAQs
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 = {"SPRING & SUMMER":{"label":"HOT","bg":"#E62405","color":"#FFFFFF"},"CHIC DRESSES & SETS":{"label":"PRIME","bg":"#E62405","color":"#FFFFFF"}}; let linkList = [ { id: 59402243, title: "HOME", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 59402245, title: "NEW IN", url: "\/collections\/new-in-0rkj", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 59402247, title: "TOP RATED", url: "\/collections\/top-rated", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 59402249, title: "CLOTHING", url: "", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "Linen & Cotton", url: "\/collections\/linen-cotton", target: "", levels: 1, children: [ { title: "Linen Dresses", url: "\/collections\/vintage-linen-dresses", target: "", levels: 0, }, { title: "Linen Jumpsuits", url: "\/collections\/linen-jumpsuit", target: "", levels: 0, }, { title: "Cotton Blouses & Shirts", url: "\/collections\/cotton-blouses", target: "", levels: 0, }, { title: "Cotton Pants", url: "\/collections\/cotton-pants", target: "", levels: 0, }, ] }, { title: "Spring & Summer", url: "", target: "", levels: 1, children: [ { title: "Chic Dresses & Sets", url: "\/collections\/chic-dress-set", target: "", levels: 0, }, { title: "Gorgeous Sets & Dresses", url: "\/collections\/gorgeous-sets-dresses", target: "", levels: 0, }, { title: "Two Piece Sets", url: "\/collections\/chic-two-piece-set", target: "", levels: 0, }, { title: "Rompers & Jumpsuits", url: "\/collections\/rompers-jumpsuits", target: "", levels: 0, }, ] }, { title: "Winter & Fall", url: "", target: "", levels: 1, children: [ { title: "Casual Sets", url: "\/collections\/casual-set", target: "", levels: 0, }, { title: "Mini Knit Dress", url: "\/collections\/mini-knit-dress", target: "", levels: 0, }, { title: "Sweaters & Cardigans", url: "\/collections\/chic-sweaters-cardigans", target: "", levels: 0, }, { title: "Coats & Jackets", url: "\/collections\/coats-jackets", target: "", levels: 0, }, { title: "Split Knitted Dresses", url: "\/collections\/split-casual-knitted-dresses", target: "", levels: 0, }, ] }, { title: "Bottoms", url: "\/collections\/casual-pants", target: "", levels: 1, children: [ { title: "Jeans", url: "\/collections\/jeans", target: "", levels: 0, }, ] }, { title: "Shop By Holiday", url: "", target: "", levels: 1, children: [ { title: "Christmas vibe", url: "\/collections\/christmas-vibe", target: "", levels: 0, }, ] }, { title: "Shop By Occasion", url: "", target: "", levels: 1, children: [ { title: "Glisten Collection", url: "\/collections\/glisten-collection", target: "", levels: 0, }, ] }, ] }, { id: 59402295, title: "ACCESSORIES", url: "\/collections\/pearl-metal-collection", target: "", levels: 1, product0: { id: ("ef8b2875-7a97-4edb-8156-5c624b7a6737") }, children: [ { title: "Bags", url: "\/collections\/woven-accessories", target: "", levels: 0, children: [ ] }, { title: "Earrings", url: "\/collections\/earrings", target: "", levels: 0, children: [ ] }, { title: "Rings", url: "\/collections\/rings", target: "", levels: 0, children: [ ] }, { title: "Waist Chains", url: "\/collections\/waist-chains", target: "", levels: 0, children: [ ] }, { title: "Scarfs & Socks", url: "\/collections\/scarfs-socks", target: "", levels: 0, children: [ ] }, { title: "Metal Collection", url: "\/collections\/metal-collection", target: "", levels: 0, children: [ ] }, { title: "Necklace & Bracelet", url: "\/collections\/necklace-bracelet", target: "", levels: 0, children: [ ] }, ] }, { id: 59402311, title: "FAQs", url: "\/pages\/faqs", target: "", levels: 0, product0: { id: (null) }, 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.
` })()}
HOME
NEW IN
TOP RATED
CLOTHING
CLOTHING
Linen & Cotton
Linen & Cotton
Linen Dresses
Linen Jumpsuits
Cotton Blouses & Shirts
Cotton Pants
Spring & Summer
HOT
Spring & Summer
Chic Dresses & Sets
PRIME
Gorgeous Sets & Dresses
Two Piece Sets
Rompers & Jumpsuits
Winter & Fall
Winter & Fall
Casual Sets
Mini Knit Dress
Sweaters & Cardigans
Coats & Jackets
Split Knitted Dresses
Bottoms
Bottoms
Jeans
Shop By Holiday
Shop By Holiday
Christmas vibe
Shop By Occasion
Shop By Occasion
Glisten Collection
ACCESSORIES
ACCESSORIES
Bags
Earrings
Rings
Waist Chains
Scarfs & Socks
Metal Collection
Necklace & Bracelet
FAQs
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
/
Pearl & Metal Collection
Women
Pearl & Metal Collection
725 Products
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Metal Pearl Necklace and Earring Set
$35.63
Triangle Scarf Bead Piece Scarves Earrings Necklace Set
$28.15
Exaggerated Curved Fishbone Earrings
$27.64
Triangle Scarf Bead Piece Scarves Earrings Necklace Set
$33.35
+2
Full Diamond Long Tassel Earrings
$22.56
Tassel Earrings Metal Earrings
$18.55
Geometric Metal Earrings
$12.57
Exaggerated Personality Big Circle Chain Earrings
$15.70
Exaggerated Irregular Sun Flower Earrings
$12.99
Vintage Pleated Metal Earrings Turquoise Inlay Necklace And Earrings Set
from
$12.48
Exaggerated Tassel Full Diamond Pearl Earrings
$23.98
Rhinestone Tassel Earrings
$19.80
Hammered Color Gemstone Inlaid Chain Stud Earrings
$17.59
Full Diamond Butterfly Tassel Earrings
$17.46
Vintage Rectangular Metal Earrings
$15.40
Geometric Golden Earrings
$15.30
Drop-shaped Gold Earrings
$17.59
Vintage Micro Inlaid Bamboo Butterfly Earrings
$15.63
+1
Semicircle Diamond Tassel Earrings
$25.23
Exaggerated Irregular Metal Earrings
$14.90
Triangle Scarf Bead Piece Scarves Earrings Necklace Set
$28.22
Personality Irregular Spiral Fan Leaf Earrings
$14.20
Retro Metal Matte Exaggerated Snake-shaped Earrings
$19.75
Flower Sun Collar Earring Set
$31.95
Fan-shaped Exaggerated Tassel Geometric Stud Earrings
$15.11
Round Pendant Necklace
$13.79
Buckle Chain Earrings
$16.18
Leaf Sequin Earrings
$14.42
Geometric Irregular Earrings
$13.80
Exaggerated Metal Piece Nnecklace Collar
$29.31
Vintage Metal Hoop Earrings
$13.61
Rhinestone C-shaped Earrings
$19.30
Gold Super Fairy Earrings With Tassels And Diamonds
$19.98
Metallic Snake Bone Chain Braided Necklace
$28.84
Personality Exaggerated Lion Head Necklace
$29.31
Simple Multilayer Necklace
$17.13
Metal Necklace And Earring Set
$26.56
Vintage Metal Thick Chain Necklace
$29.03
Geometric Diamond Chain Earrings
$15.51
Geometric Shape Alloy Earrings
$13.33
Large hHoop Metal Earrings
$15.70
Long Tassel Necklace Shiny Rhinestone Necklace
$37.61
Vintage Square Checkerboard Necklace
$29.14
Turquoise Flower Pendant Alloy Necklace
$35.90
+3
Metal Tassel Necklace And Earring Set
$28.50
Diamond And Pearl Square Earrings
$19.03
Twist Chain Bracelet
$14.28
Simple Pearl Serpentine Double Necklace
$23.80
Circle Geometric Snake Earrings
$16.18
Sun Flower Necklace
$22.19
Leopard Geometric Shaped Necklace and Earrings Set
$23.88
Metal Geometric O-chain Necklace
$29.98
Diamond-studded Geometric Personality Snake-shaped Bracelet
$15.70
Full Diamond Snake Head Long Necklace
$44.53
Exaggerated Metal Collar Necklace and Earring Set
$32.78
+3
Exaggerated Snake Necklace
$36.18
Darkness Earrings Ear Buckle
$13.04
Multi-layer Pendant With Cross Human Head
$23.99
Full Rhinestone Snap Button Cuban Chain Hollow Bracelet Set
$28.41
Save 38%
Save 38%
Metallic temperament accessories set
$29.75
$48.00
+3
Save 39%
Save 39%
Fashion big butterfly clavicle necklace
$35.16
$58.00
Save 32%
Save 32%
Fashion Metal Punk Necklace
$25.78
$38.00
Save 33%
Save 33%
Punk Metal All-match Necklace
$33.41
$50.00
Save 34%
Save 34%
Thick chain punk color block necklace
$23.85
$36.00
+1
Save 27%
Save 27%
Geometric Metal Peach Heart Necklace
$25.48
$35.00
Save 29%
Save 29%
Punk Metal Cold Wind Melange Necklace
$28.51
$40.00
Save 30%
Save 30%
Temperament simple big butterfly earrings
$24.61
$35.00
Save 38%
Save 38%
Personalized vintage clavicle chain necklace
$27.99
$45.00
Save 31%
Save 31%
Vintage Butterfly Short Necklace Set
$24.93
$36.00
Save 35%
Save 35%
Fashion metal clavicle necklace
$27.99
$43.00
Save 28%
Save 28%
Metal tassel all-match earrings
$23.15
$32.00
Save 25%
Save 25%
Fashion retro hollow necklace
$28.64
$38.00
Save 31%
Save 31%
Chic Clavicle Chain Necklace
$23.45
$34.00
+1
Save 24%
Save 24%
Geometric Punk Metal Clavicle Necklace
$31.79
$42.00
Save 34%
Save 34%
Fashion tassel necklace
$30.26
$46.00
Save 27%
Save 27%
Fashion Leaf String Necklace
$31.55
$43.00
Save 28%
Save 28%
Hollow geometric multilayer circle necklace
$28.14
$39.00
Save 29%
Save 29%
Fashion texture multilayer metal chain necklace
$38.79
$55.00
Save 29%
Save 29%
Vintage cutout metal necklace
$26.34
$37.00
Save 19%
Save 19%
Vintage twist circle chain necklace
$31.75
$39.00
No products found
Use fewer filters or
clear all
Recently Viewed
Cart
Your shopping bag is empty
Continue shopping
${item.product_title}
${item.options.map(option => option.value).join('/')}
${propertie.name}/${propertie.isImage ? `
View image
` : propertie.value}
Free gift
Mixed Lot
*${item.quantity}
${item.item_text}
${discount_item.title}
(-
)
${(function(){ var total_price = data.total_price; var postageFreeAmount = 69; var freeAmount = postageFreeAmount - total_price; var isFreeShipping = freeAmount <= 0; var rate = Math.min(total_price / postageFreeAmount * 100, 100).toFixed(2); const textArray = ("Spend {{ amount }} more and get free shipping!").split(/\{\{\s*amount\s*\}\}/); const textArrayHtml = textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); return `
${textArrayHtml}
You've got free shipping
${rate}%
` })()}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
${(function(){ var total_price = data.total_price; var postageFreeAmount = 69; var freeAmount = postageFreeAmount - total_price; var isFreeShipping = freeAmount <= 0; var rate = Math.min(total_price / postageFreeAmount * 100, 100).toFixed(2); const textArray = ("Spend {{ amount }} more and get free shipping!").split(/\{\{\s*amount\s*\}\}/); const textArrayHtml = textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); return `
${textArrayHtml}
You've got free shipping
${rate}%
` })()}
${data.invalid_msg}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
Check out
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
Subtotal:
${discount_application.title}:
-
Total:
Check out
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
View Cart
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { 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}