${(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) ? `节省
` : '' }` : "\u552e\u7f44" }
混批
${data.title}
${ data.price_min != data.price_max ? `从
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
czeni
czeni
登录
创建一个帐户
${data.data && data.data.count}
123
6787
77
6767
产品1234567
7654
tuf
单品
其他
hciodhfiowfoiwb
keyi 18978u564545
66
hero
order track
推荐的好产品
welcome to my playground
end to start
查订单
加长
专辑
鞋子
二级
3及
新专辑
11
12345
更多链接
${(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: 68945943, title: "123", url: "\/pages\/123", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "6787", url: "\/collections\/222", target: "", levels: 1, children: [ { title: "77", url: "", target: "", levels: 0, }, ] }, { title: "6767", url: "\/blog\/6677", target: "", levels: 0, children: [ ] }, ] }, { id: 68945951, title: "\u4ea7\u54c11234567", url: "\/collections\/\u563b\u563b\u563b", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "7654", url: "\/collections\/\u84dd\u9cb8", target: "", levels: 0, children: [ ] }, { title: "tuf", url: "\/collections\/\u563b\u563b\u563b", target: "", levels: 0, children: [ ] }, { title: "\u5355\u54c1", url: "\/collections\/\u563b\u563b\u563b", target: "", levels: 0, children: [ ] }, { title: "\u5176\u4ed6", url: "\/collections\/\u563b\u563b\u563b", target: "", levels: 0, children: [ ] }, { title: "hciodhfiowfoiwb", url: "\/collections\/\u563b\u563b\u563b", target: "", levels: 1, children: [ { title: "keyi 18978u564545", url: "\/collections\/yes", target: "", levels: 0, }, { title: "66", url: "", target: "", levels: 0, }, ] }, ] }, { id: 68945967, title: "hero", url: "\/collections\/1234", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945969, title: "order track", url: "\/account\/order-lookup", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945971, title: "\u63a8\u8350\u7684\u597d\u4ea7\u54c1", url: "\/products\/yeah", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945973, title: "welcome to my playground", url: "\/blog\/\u4e50\u56ed", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945975, title: "end to start", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945977, title: "\u67e5\u8ba2\u5355", url: "\/account\/order-lookup", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945979, title: "\u52a0\u957f", url: "", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945981, title: "\u4e13\u8f91", url: "", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945983, title: "\u978b\u5b50", url: "", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "\u4e8c\u7ea7", url: "", target: "", levels: 1, children: [ { title: "3\u53ca", url: "", target: "", levels: 0, }, ] }, ] }, { id: 68945989, title: "\u65b0\u4e13\u8f91", url: "\/collections\/\u897f\u73cd\u59ae", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945991, title: "11", url: "", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945993, title: "12345", url: "", 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}
` })()}
123
6787
77
6767
产品1234567
7654
tuf
单品
其他
hciodhfiowfoiwb
keyi 18978u564545
66
hero
order track
推荐的好产品
welcome to my playground
end to start
查订单
加长
专辑
鞋子
二级
3及
新专辑
11
12345
更多链接
${(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: 68945943, title: "123", url: "\/pages\/123", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "6787", url: "\/collections\/222", target: "", levels: 1, children: [ { title: "77", url: "", target: "", levels: 0, }, ] }, { title: "6767", url: "\/blog\/6677", target: "", levels: 0, children: [ ] }, ] }, { id: 68945951, title: "\u4ea7\u54c11234567", url: "\/collections\/\u563b\u563b\u563b", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "7654", url: "\/collections\/\u84dd\u9cb8", target: "", levels: 0, children: [ ] }, { title: "tuf", url: "\/collections\/\u563b\u563b\u563b", target: "", levels: 0, children: [ ] }, { title: "\u5355\u54c1", url: "\/collections\/\u563b\u563b\u563b", target: "", levels: 0, children: [ ] }, { title: "\u5176\u4ed6", url: "\/collections\/\u563b\u563b\u563b", target: "", levels: 0, children: [ ] }, { title: "hciodhfiowfoiwb", url: "\/collections\/\u563b\u563b\u563b", target: "", levels: 1, children: [ { title: "keyi 18978u564545", url: "\/collections\/yes", target: "", levels: 0, }, { title: "66", url: "", target: "", levels: 0, }, ] }, ] }, { id: 68945967, title: "hero", url: "\/collections\/1234", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945969, title: "order track", url: "\/account\/order-lookup", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945971, title: "\u63a8\u8350\u7684\u597d\u4ea7\u54c1", url: "\/products\/yeah", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945973, title: "welcome to my playground", url: "\/blog\/\u4e50\u56ed", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945975, title: "end to start", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945977, title: "\u67e5\u8ba2\u5355", url: "\/account\/order-lookup", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945979, title: "\u52a0\u957f", url: "", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945981, title: "\u4e13\u8f91", url: "", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945983, title: "\u978b\u5b50", url: "", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "\u4e8c\u7ea7", url: "", target: "", levels: 1, children: [ { title: "3\u53ca", url: "", target: "", levels: 0, }, ] }, ] }, { id: 68945989, title: "\u65b0\u4e13\u8f91", url: "\/collections\/\u897f\u73cd\u59ae", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945991, title: "11", url: "", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 68945993, title: "12345", url: "", 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}
` })()}
czeni
czeni
登录
创建一个帐户
${data.data && data.data.count}
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return '
'; const keyword = encodeURIComponent(data); return `
查看更多
您对“${data}”的搜索没有产生任何结果。
` })()}
123
123
6787
6787
77
6767
产品1234567
产品1234567
7654
tuf
单品
其他
hciodhfiowfoiwb
hciodhfiowfoiwb
keyi 18978u564545
66
hero
order track
推荐的好产品
welcome to my playground
end to start
查订单
加长
专辑
鞋子
鞋子
二级
二级
3及
新专辑
11
12345
登录
创建一个帐户
(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(); })();
1/1
${data.index + 1}/${data.total}
7
$70
(已含稅)
${function() { const variantData = data.variant || {"id":"d4ffd137-faca-45f4-a9e9-353b3a73a34f","product_id":"e9e2d07d-7e70-457d-8416-b08a5b80928a","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"--A009005","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":70,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"70","retail_price":"0","available":true,"url":"\/products\/7-835y?variant=d4ffd137-faca-45f4-a9e9-353b3a73a34f","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0}; const saveType = "amount"; const productLabelDiscountOn = true; return `
-
(已含稅)
${saveType == 'percentage' ? `
-${variantData.off_ratio}%
` : `
-
` }
(已含稅)
`; }()}
数量
添加到购物车
$70
${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 = {"id":"d4ffd137-faca-45f4-a9e9-353b3a73a34f","product_id":"e9e2d07d-7e70-457d-8416-b08a5b80928a","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"--A009005","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":70,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"70","retail_price":"0","available":true,"url":"\/products\/7-835y?variant=d4ffd137-faca-45f4-a9e9-353b3a73a34f","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0}; 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 ? `
` : '
'; } }()}
立即购买
商品已售空。
商品不存在。
Sku :
--A009005
${function(){ const variantData = data.variant || {"id":"d4ffd137-faca-45f4-a9e9-353b3a73a34f","product_id":"e9e2d07d-7e70-457d-8416-b08a5b80928a","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"--A009005","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":70,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"70","retail_price":"0","available":true,"url":"\/products\/7-835y?variant=d4ffd137-faca-45f4-a9e9-353b3a73a34f","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0}; return `
Sku :
${variantData && variantData.sku}
重量 :
${variantData && variantData.weight}${variantData && variantData.weight_unit}
条码 :
${variantData && variantData.barcode}
` }()}
You may also like
最近浏览过的
购物车
你的购物袋是空的
继续购物
${item.product_title}
${item.options.map(option => option.value).join('/')}
${propertie.name}/${propertie.isImage ? `
查看图片
` : propertie.value}
免费礼品
混批
*${item.quantity}
${item.item_text}
${discount_item.title}
(-
)
全部的:
(已含稅)
${function() { const textArray = ("\u8282\u7701{{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 = ("\u8282\u7701{{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}
结账
税费和运费将在结账时计算
${data.invalid_msg}
全部的:
(已含稅)
(已含稅)
${function() { const textArray = ("\u8282\u7701{{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 = ("\u8282\u7701{{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 = ("\u8282\u7701{{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}
结账
税费和运费将在结账时计算
小计:
${discount_application.title}:
-
全部的:
(已含稅)
结账
税费和运费将在结账时计算
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
查看购物车
${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)) ? "\u5546\u54c1\u5df2\u552e\u7a7a" : "\u6dfb\u52a0\u5230\u8d2d\u7269\u8f66"; 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 `
建议零售价:
` }()}
${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 = {"id":"d4ffd137-faca-45f4-a9e9-353b3a73a34f","product_id":"e9e2d07d-7e70-457d-8416-b08a5b80928a","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"--A009005","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":70,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"70","retail_price":"0","available":true,"url":"\/products\/7-835y?variant=d4ffd137-faca-45f4-a9e9-353b3a73a34f","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0}; 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}