${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = true; 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 `
Mixed Lot
${data.title}
-
Retail
+${data.remainInvisibleThumbCount}
` })()}
Hassle-free returns. 30-day postage paid returns
Hassle-free returns. 30-day postage paid returns
Search
Log in
Create an account
${data.data && data.data.count}
Home
Collections
Alex Demo Page
demo
demo page
Track Your Order
Hot Selling Items
Contact us
Hot Selling Items
Sign up as B2B Member
Demo
Joao Partner Store
Demo for Rose
Ali's Life Story
Stripe Affiliate
Dear_Parsa
Rockel Store
Track order#2
Sophia
JK Rolling
Stephen Hero
Stephanie Demo
Erik Demo Page
Mike Demo Page
Yigu's demo
Track Order Demo
For_Ayham
Cindy_page
Sylvia
Demo
Tyler's Demo
Marco
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 = {"CONTACT US":{"label":"Hot Selling Items","bg":"#E62405","color":"rgba(255, 255, 255, 1)"},"TRACK YOUR ORDER":{"label":"Hot Selling Items","bg":"#E62405","color":"rgba(255, 255, 255, 1)"}}; let linkList = [ { id: 68735403, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735405, title: "Collections", url: "\/pages\/rose-demo-1", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735407, title: "Alex Demo Page", url: "\/pages\/alex-demo-page", target: "_blank", levels: 1, product0: { id: (null) }, children: [ { title: "demo", url: "\/collections\/single_product_demo", target: "_blank", levels: 0, children: [ ] }, { title: "demo page", url: "\/collections\/demo_collection", target: "", levels: 0, children: [ ] }, ] }, { id: 68735413, title: "Track Your Order", url: "\/account\/order-lookup", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735415, title: "Contact us", url: "\/pages\/contact-us", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735417, title: "Sign up as B2B Member", url: "\/pages\/signup-as-b2b", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735419, title: "Demo", url: "\/pages\/demo-page-1", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735421, title: "Joao Partner Store", url: "\/pages\/joaopartnerstore", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735423, title: "Demo for Rose", url: "\/pages\/rose-demo-1", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735425, title: "Ali's Life Story", url: "\/pages\/ali-story", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735427, title: "Stripe Affiliate", url: "\/pages\/stripe-payment-link", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735429, title: "Dear_Parsa", url: "\/pages\/parsa-demo", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735431, title: "Rockel Store", url: "\/pages\/rockel-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735433, title: "Track order#2", url: "\/account\/order-lookup", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735435, title: "Sophia", url: "\/account\/order-lookup", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735437, title: "JK Rolling", url: "\/pages\/jk-demo-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735439, title: "Stephen Hero", url: "\/pages\/stephensun", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735441, title: "Stephanie Demo", url: "\/pages\/stephanie-demo-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735443, title: "Erik Demo Page", url: "\/pages\/erik-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735445, title: "Mike Demo Page", url: "\/pages\/mike-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735447, title: "Yigu's demo", url: "\/pages\/yigus-demo-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735449, title: "Track Order Demo", url: "\/account\/order-lookup", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735451, title: "For_Ayham", url: "\/pages\/ayham-demo", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735453, title: "Cindy_page", url: "\/pages\/cindy-demo-page", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735455, title: "Sylvia", url: "\/pages\/sylvia-demo", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735457, title: "Demo", url: "\/pages\/demo", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735459, title: "Tyler's Demo", url: "\/pages\/for-tyler", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735461, title: "Marco", url: "\/pages\/marcos-page", target: "_blank", 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
Collections
Alex Demo Page
demo
demo page
Track Your Order
Hot Selling Items
Contact us
Hot Selling Items
Sign up as B2B Member
Demo
Joao Partner Store
Demo for Rose
Ali's Life Story
Stripe Affiliate
Dear_Parsa
Rockel Store
Track order#2
Sophia
JK Rolling
Stephen Hero
Stephanie Demo
Erik Demo Page
Mike Demo Page
Yigu's demo
Track Order Demo
For_Ayham
Cindy_page
Sylvia
Demo
Tyler's Demo
Marco
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 = {"CONTACT US":{"label":"Hot Selling Items","bg":"#E62405","color":"rgba(255, 255, 255, 1)"},"TRACK YOUR ORDER":{"label":"Hot Selling Items","bg":"#E62405","color":"rgba(255, 255, 255, 1)"}}; let linkList = [ { id: 68735403, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735405, title: "Collections", url: "\/pages\/rose-demo-1", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735407, title: "Alex Demo Page", url: "\/pages\/alex-demo-page", target: "_blank", levels: 1, product0: { id: (null) }, children: [ { title: "demo", url: "\/collections\/single_product_demo", target: "_blank", levels: 0, children: [ ] }, { title: "demo page", url: "\/collections\/demo_collection", target: "", levels: 0, children: [ ] }, ] }, { id: 68735413, title: "Track Your Order", url: "\/account\/order-lookup", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735415, title: "Contact us", url: "\/pages\/contact-us", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735417, title: "Sign up as B2B Member", url: "\/pages\/signup-as-b2b", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735419, title: "Demo", url: "\/pages\/demo-page-1", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735421, title: "Joao Partner Store", url: "\/pages\/joaopartnerstore", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735423, title: "Demo for Rose", url: "\/pages\/rose-demo-1", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735425, title: "Ali's Life Story", url: "\/pages\/ali-story", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735427, title: "Stripe Affiliate", url: "\/pages\/stripe-payment-link", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735429, title: "Dear_Parsa", url: "\/pages\/parsa-demo", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735431, title: "Rockel Store", url: "\/pages\/rockel-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735433, title: "Track order#2", url: "\/account\/order-lookup", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735435, title: "Sophia", url: "\/account\/order-lookup", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735437, title: "JK Rolling", url: "\/pages\/jk-demo-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735439, title: "Stephen Hero", url: "\/pages\/stephensun", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735441, title: "Stephanie Demo", url: "\/pages\/stephanie-demo-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735443, title: "Erik Demo Page", url: "\/pages\/erik-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735445, title: "Mike Demo Page", url: "\/pages\/mike-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735447, title: "Yigu's demo", url: "\/pages\/yigus-demo-page", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735449, title: "Track Order Demo", url: "\/account\/order-lookup", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735451, title: "For_Ayham", url: "\/pages\/ayham-demo", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735453, title: "Cindy_page", url: "\/pages\/cindy-demo-page", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735455, title: "Sylvia", url: "\/pages\/sylvia-demo", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735457, title: "Demo", url: "\/pages\/demo", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735459, title: "Tyler's Demo", url: "\/pages\/for-tyler", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68735461, title: "Marco", url: "\/pages\/marcos-page", target: "_blank", 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}
Search
Home
Collections
Alex Demo Page
demo
demo page
Track Your Order
Contact us
Sign up as B2B Member
Demo
Joao Partner Store
Demo for Rose
Ali's Life Story
Stripe Affiliate
Dear_Parsa
Rockel Store
Track order#2
Sophia
JK Rolling
Stephen Hero
Stephanie Demo
Erik Demo Page
Mike Demo Page
Yigu's demo
Track Order Demo
For_Ayham
Cindy_page
Sylvia
Demo
Tyler's Demo
Marco
${(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.
` })()}
${(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
Collections
Alex Demo Page
Alex Demo Page
demo
demo page
Track Your Order
Hot Selling Items
Contact us
Hot Selling Items
Sign up as B2B Member
Demo
Joao Partner Store
Demo for Rose
Ali's Life Story
Stripe Affiliate
Dear_Parsa
Rockel Store
Track order#2
Sophia
JK Rolling
Stephen Hero
Stephanie Demo
Erik Demo Page
Mike Demo Page
Yigu's demo
Track Order Demo
For_Ayham
Cindy_page
Sylvia
Demo
Tyler's Demo
Marco
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(); })();
Demo for Ali
Cart
Your shopping bag is empty
Continue shopping
${item.product_title}
${item.options.map(option => option.value).join('/')}
${propertie.name}/${propertie.isImage ? `
View image
` : propertie.value}
Free gift
Mixed Lot
*${item.quantity}
${item.item_text}
${discount_item.title}
(-
)
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
${data.invalid_msg}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
Check out
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
Subtotal:
${discount_application.title}:
-
Total:
Check out
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
View Cart
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { const nameEscape = opt.name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, '') product_change_event = product_change_event + `quick-shop-selected-variant-${opt.id}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `@${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 `
Quantity
Mixed Lot
${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 = true; 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() { const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const productVariant = null; const variantData = currentSelectVariant || defaultVariant || productVariant; const wholesalePrice = variantData.wholesale_price || []; const wholesaleQuantity = +data.quantity || 0; let hasHighlight = false; return `
${wholesalePrice.map((item, index) => { const nextWholesale = wholesalePrice[index + 1] || {}; let isHighlight = false; let quantity_html = ''; if(wholesalePrice.length > (index + 1)){ quantity_html = item.min_quantity + "-" + (nextWholesale.min_quantity - 1); if( wholesaleQuantity < +nextWholesale.min_quantity && !hasHighlight ){ isHighlight = true; hasHighlight = true; }; }else{ quantity_html = ">=" + item.min_quantity; if( !hasHighlight ){ isHighlight = true; hasHighlight = true; }; }; return `
${quantity_html}
Pieces
` }).join('')}
`; }()}
${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}