${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "100%"; const product_image = data.image; const secondary_image = data.secondImage; const image_width = product_image.width; let image_height = product_image.height; if(setting_product_image_display == '100%'){ image_height = image_width }else if(setting_product_image_display == '133.33%'){ image_height = image_width * 1.3333; }; const product_image_hover_on = true && !!secondary_image.src; const has_save_label = true && ((+data.compare_at_price) > (+data.price)); const is_single_variant = data.variants.length == 1; const min_price_variant_href = (data.min_price_variant && data.min_price_variant.available) ? data.min_price_variant.withinUrl : data.withinUrl; const retail_price_max = data.retail_price_max || data.compare_at_price_max; const THUMBNAILS_MAX_SIZE = 3; const thumbnails = data.thumbVariants.slice(0, THUMBNAILS_MAX_SIZE); const image_wrap_id = 'image_wrap_' + get_random_six_digits(); const image_carousel_id = 'image_carousel_' + get_random_six_digits(); const thumbnails_selector_id = 'thumbnails_selector_' + get_random_six_digits(); const form_id = 'form_' + get_random_six_digits(); const mixed_wholesale = data.mixed_wholesale; return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Save
` : '' }` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `from
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
🚛FREE SHIPPING ON ALL ORDERS $35 USD+
🚛FREE SHIPPING ON ALL ORDERS $35 USD+
Log in
Create an account
${data.data && data.data.count}
Home
View All
NEW IN
Dresses👗
Mini dress
Midi dress
Long dress
Custom dress
OLCooL Vintage Lace Up Chic Velvet Mini Dress Elegant Fashion Korean Square Collar Cloth Spaghetti Strap Cute Solid Dress Cuteandpsycho
from
$33.99
Tops👚
T-shirt
Blouse & Shirt
Tank top & Crop top
Jackets & Coats
Sweaters & Cardigans
Sweatshirts & Hoodies
OLCooL American Street Pullover Tee Shirts Men Y2k Harajuku Retro Casual Long Sleeve Letter Print Oversized T-shirt Loose Blouse Tops
from
$25.77
Bottoms🩳
Skirts
Shorts
Jeans
Pants
OLCooL Pink Y2k Camouflage Denim Pants Women Hip Hop Vintage Baggy Embroidery Straight Wide Leg Jeans Streetwear Chic Trousers
$49.99
Y2K🎭
Y2K's Top
Y2K's Pant
Y2k's Hoodie
Women's Y2K
Men's Y2K
OLCooL Backless Camises De Mujer Summer Shirts for Women Long Sleeve Bandage Hollow Out Blouses Oversized Tops See Through Y2k Blouse
$28.99
+4
Sets👙
Skirt Sets
Dress Sets
Pant Sets
Bikini sets
OLCooL Women Casual Outfit Loose Lapel Neck Short Sleeve Button Down Shirt+Elastic Waist Shorts with Pockets 2Pcs Summer Set
from
$31.99
Swimwear🩱
One piece swimsuit
Two piece Bikini
OLCooL AliExpress Amazon Separates Swimsuit Triangle Bikini Three-Piece Swimsuit Fashion Women's Sexy Bikini
$21.99
+12
Accessories🧢
Phone Case
Hats
Bags
Nails
OLCooL Oversize Women Sweatpants Fashion Black Plaid Casual Pants Baggy Elastic Waist Pockets Student Unisex Hip Hop Loose Trousers
from
$20.88
Bedding Set
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: 76790049, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76790051, title: "View All", url: "\/collections\/home", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76790053, title: "NEW IN", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76790055, title: "Dresses\ud83d\udc57", url: "\/collections\/dresses", target: "", levels: 1, product0: { id: ("6459ec9c-fae7-4f7e-8ba2-8de9b36daa1e") }, children: [ { title: "Mini dress", url: "\/collections\/mini-dress", target: "", levels: 0, children: [ ] }, { title: "Midi dress", url: "\/collections\/midi-dress", target: "", levels: 0, children: [ ] }, { title: "Long dress", url: "\/collections\/long-dress", target: "", levels: 0, children: [ ] }, { title: "Custom dress", url: "\/collections\/custom-dress", target: "", levels: 0, children: [ ] }, ] }, { id: 76790065, title: "Tops\ud83d\udc5a", url: "\/collections\/top", target: "", levels: 1, product0: { id: ("1da01cad-a544-471c-86bd-336a4e67d366") }, children: [ { title: "T-shirt", url: "\/collections\/t-shirt", target: "", levels: 0, children: [ ] }, { title: "Blouse & Shirt", url: "\/collections\/blouse", target: "", levels: 0, children: [ ] }, { title: "Tank top & Crop top", url: "\/collections\/tank-top", target: "", levels: 0, children: [ ] }, { title: "Jackets & Coats", url: "\/collections\/jacket-coat", target: "", levels: 0, children: [ ] }, { title: "Sweaters & Cardigans", url: "\/collections\/sweaters-cardigans", target: "", levels: 0, children: [ ] }, { title: "Sweatshirts & Hoodies", url: "\/collections\/sweatshirts-hoodies", target: "", levels: 0, children: [ ] }, ] }, { id: 76790079, title: "Bottoms\ud83e\ude73", url: "\/collections\/shoes", target: "", levels: 1, product0: { id: ("3765db96-4e7a-42a7-b480-3f51ad9c2df0") }, children: [ { title: "Skirts", url: "\/collections\/skirts", target: "", levels: 0, children: [ ] }, { title: "Shorts", url: "\/collections\/shorts", target: "", levels: 0, children: [ ] }, { title: "Jeans", url: "\/collections\/jeans", target: "", levels: 0, children: [ ] }, { title: "Pants", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, ] }, { id: 76790089, title: "Y2K\ud83c\udfad", url: "\/collections\/y2k", target: "", levels: 1, product0: { id: ("00c6ce3c-7f76-4afd-a817-1aed5f61339d") }, children: [ { title: "Y2K's Top", url: "\/collections\/y2ks-top", target: "", levels: 0, children: [ ] }, { title: "Y2K's Pant", url: "\/collections\/y2ks-pant", target: "", levels: 0, children: [ ] }, { title: "Y2k's Hoodie", url: "\/collections\/y2ks-hoodie-1", target: "", levels: 0, children: [ ] }, { title: "Women's Y2K", url: "\/collections\/womens-y2k", target: "", levels: 0, children: [ ] }, { title: "Men's Y2K", url: "\/collections\/mens-y2k", target: "", levels: 0, children: [ ] }, ] }, { id: 76790101, title: "Sets\ud83d\udc59", url: "\/collections\/sets", target: "", levels: 1, product0: { id: ("026fe603-4b83-4312-bdf7-77b7b5e52b60") }, children: [ { title: "Skirt Sets", url: "\/collections\/skirt-sets", target: "", levels: 0, children: [ ] }, { title: "Dress Sets", url: "\/collections\/dress-sets", target: "", levels: 0, children: [ ] }, { title: "Pant Sets", url: "\/collections\/pant-sets", target: "", levels: 0, children: [ ] }, { title: "Bikini sets", url: "\/collections\/bikini-sets", target: "", levels: 0, children: [ ] }, ] }, { id: 76790111, title: "Swimwear\ud83e\ude71", url: "\/collections\/swimsuits", target: "", levels: 1, product0: { id: ("0012c9db-b765-47a2-ba71-1404b956da31") }, children: [ { title: "One piece swimsuit", url: "\/collections\/one-piece-swimsuit", target: "", levels: 0, children: [ ] }, { title: "Two piece Bikini", url: "\/collections\/bikini", target: "", levels: 0, children: [ ] }, ] }, { id: 76790117, title: "Accessories\ud83e\udde2", url: "\/collections\/accessories", target: "", levels: 1, product0: { id: ("00ce18f5-d7e3-4445-9b02-9ede9525991f") }, children: [ { title: "Phone Case", url: "\/collections\/phone-case", target: "", levels: 0, children: [ ] }, { title: "Hats", url: "\/collections\/hats", target: "", levels: 0, children: [ ] }, { title: "Bags", url: "\/collections\/bags", target: "", levels: 0, children: [ ] }, { title: "Nails", url: "\/collections\/nails", target: "", levels: 0, children: [ ] }, ] }, { id: 76790127, title: "Bedding Set", url: "\/collections\/bedding-set", 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
View All
NEW IN
Dresses👗
Mini dress
Midi dress
Long dress
Custom dress
OLCooL Vintage Lace Up Chic Velvet Mini Dress Elegant Fashion Korean Square Collar Cloth Spaghetti Strap Cute Solid Dress Cuteandpsycho
from
$33.99
Tops👚
T-shirt
Blouse & Shirt
Tank top & Crop top
Jackets & Coats
Sweaters & Cardigans
Sweatshirts & Hoodies
OLCooL American Street Pullover Tee Shirts Men Y2k Harajuku Retro Casual Long Sleeve Letter Print Oversized T-shirt Loose Blouse Tops
from
$25.77
Bottoms🩳
Skirts
Shorts
Jeans
Pants
OLCooL Pink Y2k Camouflage Denim Pants Women Hip Hop Vintage Baggy Embroidery Straight Wide Leg Jeans Streetwear Chic Trousers
$49.99
Y2K🎭
Y2K's Top
Y2K's Pant
Y2k's Hoodie
Women's Y2K
Men's Y2K
OLCooL Backless Camises De Mujer Summer Shirts for Women Long Sleeve Bandage Hollow Out Blouses Oversized Tops See Through Y2k Blouse
$28.99
+4
Sets👙
Skirt Sets
Dress Sets
Pant Sets
Bikini sets
OLCooL Women Casual Outfit Loose Lapel Neck Short Sleeve Button Down Shirt+Elastic Waist Shorts with Pockets 2Pcs Summer Set
from
$31.99
Swimwear🩱
One piece swimsuit
Two piece Bikini
OLCooL AliExpress Amazon Separates Swimsuit Triangle Bikini Three-Piece Swimsuit Fashion Women's Sexy Bikini
$21.99
+12
Accessories🧢
Phone Case
Hats
Bags
Nails
OLCooL Oversize Women Sweatpants Fashion Black Plaid Casual Pants Baggy Elastic Waist Pockets Student Unisex Hip Hop Loose Trousers
from
$20.88
Bedding Set
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: 76790049, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76790051, title: "View All", url: "\/collections\/home", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76790053, title: "NEW IN", url: "\/collections\/new-in", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 76790055, title: "Dresses\ud83d\udc57", url: "\/collections\/dresses", target: "", levels: 1, product0: { id: ("6459ec9c-fae7-4f7e-8ba2-8de9b36daa1e") }, children: [ { title: "Mini dress", url: "\/collections\/mini-dress", target: "", levels: 0, children: [ ] }, { title: "Midi dress", url: "\/collections\/midi-dress", target: "", levels: 0, children: [ ] }, { title: "Long dress", url: "\/collections\/long-dress", target: "", levels: 0, children: [ ] }, { title: "Custom dress", url: "\/collections\/custom-dress", target: "", levels: 0, children: [ ] }, ] }, { id: 76790065, title: "Tops\ud83d\udc5a", url: "\/collections\/top", target: "", levels: 1, product0: { id: ("1da01cad-a544-471c-86bd-336a4e67d366") }, children: [ { title: "T-shirt", url: "\/collections\/t-shirt", target: "", levels: 0, children: [ ] }, { title: "Blouse & Shirt", url: "\/collections\/blouse", target: "", levels: 0, children: [ ] }, { title: "Tank top & Crop top", url: "\/collections\/tank-top", target: "", levels: 0, children: [ ] }, { title: "Jackets & Coats", url: "\/collections\/jacket-coat", target: "", levels: 0, children: [ ] }, { title: "Sweaters & Cardigans", url: "\/collections\/sweaters-cardigans", target: "", levels: 0, children: [ ] }, { title: "Sweatshirts & Hoodies", url: "\/collections\/sweatshirts-hoodies", target: "", levels: 0, children: [ ] }, ] }, { id: 76790079, title: "Bottoms\ud83e\ude73", url: "\/collections\/shoes", target: "", levels: 1, product0: { id: ("3765db96-4e7a-42a7-b480-3f51ad9c2df0") }, children: [ { title: "Skirts", url: "\/collections\/skirts", target: "", levels: 0, children: [ ] }, { title: "Shorts", url: "\/collections\/shorts", target: "", levels: 0, children: [ ] }, { title: "Jeans", url: "\/collections\/jeans", target: "", levels: 0, children: [ ] }, { title: "Pants", url: "\/collections\/pants", target: "", levels: 0, children: [ ] }, ] }, { id: 76790089, title: "Y2K\ud83c\udfad", url: "\/collections\/y2k", target: "", levels: 1, product0: { id: ("00c6ce3c-7f76-4afd-a817-1aed5f61339d") }, children: [ { title: "Y2K's Top", url: "\/collections\/y2ks-top", target: "", levels: 0, children: [ ] }, { title: "Y2K's Pant", url: "\/collections\/y2ks-pant", target: "", levels: 0, children: [ ] }, { title: "Y2k's Hoodie", url: "\/collections\/y2ks-hoodie-1", target: "", levels: 0, children: [ ] }, { title: "Women's Y2K", url: "\/collections\/womens-y2k", target: "", levels: 0, children: [ ] }, { title: "Men's Y2K", url: "\/collections\/mens-y2k", target: "", levels: 0, children: [ ] }, ] }, { id: 76790101, title: "Sets\ud83d\udc59", url: "\/collections\/sets", target: "", levels: 1, product0: { id: ("026fe603-4b83-4312-bdf7-77b7b5e52b60") }, children: [ { title: "Skirt Sets", url: "\/collections\/skirt-sets", target: "", levels: 0, children: [ ] }, { title: "Dress Sets", url: "\/collections\/dress-sets", target: "", levels: 0, children: [ ] }, { title: "Pant Sets", url: "\/collections\/pant-sets", target: "", levels: 0, children: [ ] }, { title: "Bikini sets", url: "\/collections\/bikini-sets", target: "", levels: 0, children: [ ] }, ] }, { id: 76790111, title: "Swimwear\ud83e\ude71", url: "\/collections\/swimsuits", target: "", levels: 1, product0: { id: ("0012c9db-b765-47a2-ba71-1404b956da31") }, children: [ { title: "One piece swimsuit", url: "\/collections\/one-piece-swimsuit", target: "", levels: 0, children: [ ] }, { title: "Two piece Bikini", url: "\/collections\/bikini", target: "", levels: 0, children: [ ] }, ] }, { id: 76790117, title: "Accessories\ud83e\udde2", url: "\/collections\/accessories", target: "", levels: 1, product0: { id: ("00ce18f5-d7e3-4445-9b02-9ede9525991f") }, children: [ { title: "Phone Case", url: "\/collections\/phone-case", target: "", levels: 0, children: [ ] }, { title: "Hats", url: "\/collections\/hats", target: "", levels: 0, children: [ ] }, { title: "Bags", url: "\/collections\/bags", target: "", levels: 0, children: [ ] }, { title: "Nails", url: "\/collections\/nails", target: "", levels: 0, children: [ ] }, ] }, { id: 76790127, title: "Bedding Set", url: "\/collections\/bedding-set", 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}
` })()}
Accessories🧢
Bedding Set
Phone Case
Hats
Bags
Nails
Log in
Create an account
${data.data && data.data.count}
Home
View All
NEW IN
Dresses👗
Mini dress
Midi dress
Long dress
Custom dress
Tops👚
T-shirt
Blouse & Shirt
Tank top & Crop top
Jackets & Coats
Sweaters & Cardigans
Sweatshirts & Hoodies
Bottoms🩳
Skirts
Shorts
Jeans
Pants
Y2K🎭
Y2K's Top
Y2K's Pant
Y2k's Hoodie
Women's Y2K
Men's Y2K
Sets👙
Skirt Sets
Dress Sets
Pant Sets
Bikini sets
Swimwear🩱
One piece swimsuit
Two piece Bikini
Accessories🧢
Phone Case
Hats
Bags
Nails
Bedding Set
${(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
View All
NEW IN
Dresses👗
Dresses👗
Mini dress
Midi dress
Long dress
Custom dress
Tops👚
Tops👚
T-shirt
Blouse & Shirt
Tank top & Crop top
Jackets & Coats
Sweaters & Cardigans
Sweatshirts & Hoodies
Bottoms🩳
Bottoms🩳
Skirts
Shorts
Jeans
Pants
Y2K🎭
Y2K🎭
Y2K's Top
Y2K's Pant
Y2k's Hoodie
Women's Y2K
Men's Y2K
Sets👙
Sets👙
Skirt Sets
Dress Sets
Pant Sets
Bikini sets
Swimwear🩱
Swimwear🩱
One piece swimsuit
Two piece Bikini
Accessories🧢
Accessories🧢
Phone Case
Hats
Bags
Nails
Bedding Set
Log in
Create an account
(function(){ let w = window.innerWidth; function setHeaderCssVar() { const headerEle = document.getElementById('shoplaza-section-header'); if(!headerEle){ return }; document.body.style.setProperty('--window-height', `${window.innerHeight}px`); document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`); const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide'); if (mdScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`); } const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide'); if (pcScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`); } } function handlResize() { if(w == window.innerWidth){return}; w = window.innerWidth; setHeaderCssVar(); }; function init(){ setHeaderCssVar(); window.removeEventListener('resize', window._theme_header_listener) window._theme_header_listener = handlResize; window.addEventListener('resize', window._theme_header_listener); } init(); })();
Reset password with email
${data.errors && data.errors[0]}
Email
Email is required
Please enter a valid email.
Send
Verification code
Please enter a valid code
Password
Password is required.
Password must be between 6-16 characters long.
Confirm password
Please enter the same value again
Password must be between 6-16 characters long.
Your password and confirmation password do not match
Confirm
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 = 35; 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 = 35; var freeAmount = postageFreeAmount - total_price; var isFreeShipping = freeAmount <= 0; var rate = Math.min(total_price / postageFreeAmount * 100, 100).toFixed(2); const textArray = ("Spend {{ amount }} more and get free shipping!").split(/\{\{\s*amount\s*\}\}/); const textArrayHtml = textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); return `
${textArrayHtml}
You've got free shipping
${rate}%
` })()}
${data.invalid_msg}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
Check out
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
Subtotal:
${discount_application.title}:
-
Total:
Check out
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
View Cart
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { const nameEscape = opt.name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, '') product_change_event = product_change_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `@${nameEscape}Mouseout="quick-shop-selected-variant-${opt.id}.rerender(data=event.selectData.${opt.name}, redo=true);"`; mouse_over_event = mouse_over_event + `@${nameEscape}Mouseover="quick-shop-selected-variant-${opt.id}.rerender(data=event, redo=true);"`; } 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}