${(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.url : data.url; 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(); return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Save
` : '' }` : "Sold out" }
${data.title}
${ data.price_min != data.price_max ? `From
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
Search
Log in
Create an account
${data.data && data.data.count}
Home
All
Handmade Crafts
Chinoiserie
Custom Gifts
Trending Items
Air Fryer Silicone Liners Easy Cleaning Food Safe Reusable Baking Tray
From
$2.99
Source4me
.CN
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: 47274399, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 47274401, title: "All", url: "\/collections\/all-products", target: "", levels: 1, product0: {"id":"2e4b37d1-9542-48a3-8cae-a6e049b04ca9","title":"Air Fryer Silicone Liners Easy Cleaning Food Safe Reusable Baking Tray","brief":"","vendor":"","vendor_url":"","has_only_default_variant":false,"requires_shipping":true,"taxable":false,"published":true,"handle":"air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray","spu":"","need_variant_image":true,"updated_at":"2023-06-13T09:46:54Z","created_at":"2023-06-13T09:44:27Z","mixed_wholesale":false,"min_price_variant":{"id":"04d958cb-1005-4ca6-b9d8-c3c97cb1da5a","title":"Blue 110g 24*19*6CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":6,"option1":"Blue 110g 24*19*6CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/9ce585b72bcda133ec86de5ea6f26768.jpeg","path":"9ce585b72bcda133ec86de5ea6f26768.jpeg","width":500,"height":500,"alt":""},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"1.39","price":"2.99","retail_price":"1.39","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=04d958cb-1005-4ca6-b9d8-c3c97cb1da5a","available_quantity":999999999,"options":[{"name":"Color classification","value":"Blue 110g 24*19*6CM"}],"off_ratio":0},"tags":"silicone,baking","available":true,"price_min":"2.99","price":"2.99","price_max":"3.99","compare_at_price_min":"1.39","compare_at_price":"1.39","compare_at_price_max":"2.37","retail_price_min":"1.39","retail_price_max":"2.37","url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray","published_at":"2023-06-13T09:44:27Z","image":{"src":"\/\/img.staticdj.com\/0b37547d18473570102f1565b7fddbdb.jpeg","path":"0b37547d18473570102f1565b7fddbdb.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"options":[{"id":"108bd55e-19b2-4119-95e3-63fa7f29b5db","name":"Color classification","position":1,"values":["Red 60g 20*17*5CM","Pink 60g 20*17*5CM","Brown 60g 20*17*5CM","Blue 60g 20*17*5CM","Grey 60g 20*17*5CM","Blue 110g 24*19*6CM","Red 110g 24*19*6CM","Pink 110g 24*19*6CM","Brown 110g 24*19*6CM","Grey 110g 24*19*6CM"]}],"variants":[{"id":"4c85007c-2a80-4262-b16e-02a5ff9b93b7","title":"Red 60g 20*17*5CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Red 60g 20*17*5CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/32eee500185e84e1ba142cd735fc0680.jpeg","path":"32eee500185e84e1ba142cd735fc0680.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"2.37","price":"3.99","retail_price":"2.37","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=4c85007c-2a80-4262-b16e-02a5ff9b93b7","available_quantity":999999999,"options":[{"name":"Color classification","value":"Red 60g 20*17*5CM"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"79069f3d-0274-4b65-b794-8eda895f46c3","title":"Pink 60g 20*17*5CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":2,"option1":"Pink 60g 20*17*5CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/3d55ddc8e7f15babb9a4e8c7929d9e4c.jpeg","path":"3d55ddc8e7f15babb9a4e8c7929d9e4c.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"2.37","price":"3.99","retail_price":"2.37","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=79069f3d-0274-4b65-b794-8eda895f46c3","available_quantity":999999999,"options":[{"name":"Color classification","value":"Pink 60g 20*17*5CM"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"af503f9b-a16c-4f46-a0c7-0bd7a8c2086a","title":"Brown 60g 20*17*5CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"Brown 60g 20*17*5CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/43db2a86974460b6680fe012fdca8766.jpeg","path":"43db2a86974460b6680fe012fdca8766.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"2.37","price":"3.99","retail_price":"2.37","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=af503f9b-a16c-4f46-a0c7-0bd7a8c2086a","available_quantity":999999999,"options":[{"name":"Color classification","value":"Brown 60g 20*17*5CM"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"69d3b5a0-64e3-4cab-9a40-92e35589258f","title":"Blue 60g 20*17*5CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":4,"option1":"Blue 60g 20*17*5CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/9ce585b72bcda133ec86de5ea6f26768.jpeg","path":"9ce585b72bcda133ec86de5ea6f26768.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"2.37","price":"3.99","retail_price":"2.37","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=69d3b5a0-64e3-4cab-9a40-92e35589258f","available_quantity":999999999,"options":[{"name":"Color classification","value":"Blue 60g 20*17*5CM"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"cef3e521-c5f6-49ec-baa5-fd165c67245c","title":"Grey 60g 20*17*5CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":5,"option1":"Grey 60g 20*17*5CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/d5bde18a73ea6f3b24d10ba24ff246d4.jpeg","path":"d5bde18a73ea6f3b24d10ba24ff246d4.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"2.37","price":"3.99","retail_price":"2.37","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=cef3e521-c5f6-49ec-baa5-fd165c67245c","available_quantity":999999999,"options":[{"name":"Color classification","value":"Grey 60g 20*17*5CM"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"04d958cb-1005-4ca6-b9d8-c3c97cb1da5a","title":"Blue 110g 24*19*6CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":6,"option1":"Blue 110g 24*19*6CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/9ce585b72bcda133ec86de5ea6f26768.jpeg","path":"9ce585b72bcda133ec86de5ea6f26768.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"1.39","price":"2.99","retail_price":"1.39","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=04d958cb-1005-4ca6-b9d8-c3c97cb1da5a","available_quantity":999999999,"options":[{"name":"Color classification","value":"Blue 110g 24*19*6CM"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"c5fd80dd-c7fe-4b9b-b854-48265d4101b5","title":"Red 110g 24*19*6CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":7,"option1":"Red 110g 24*19*6CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/32eee500185e84e1ba142cd735fc0680.jpeg","path":"32eee500185e84e1ba142cd735fc0680.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"1.39","price":"2.99","retail_price":"1.39","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=c5fd80dd-c7fe-4b9b-b854-48265d4101b5","available_quantity":999999999,"options":[{"name":"Color classification","value":"Red 110g 24*19*6CM"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"71f96c6a-2248-41dd-84e1-dad05c6ac3f1","title":"Pink 110g 24*19*6CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":8,"option1":"Pink 110g 24*19*6CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/3d55ddc8e7f15babb9a4e8c7929d9e4c.jpeg","path":"3d55ddc8e7f15babb9a4e8c7929d9e4c.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"1.39","price":"2.99","retail_price":"1.39","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=71f96c6a-2248-41dd-84e1-dad05c6ac3f1","available_quantity":999999999,"options":[{"name":"Color classification","value":"Pink 110g 24*19*6CM"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"bd8b67c7-9dea-43ca-abb4-1654ed96f162","title":"Brown 110g 24*19*6CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":9,"option1":"Brown 110g 24*19*6CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/43db2a86974460b6680fe012fdca8766.jpeg","path":"43db2a86974460b6680fe012fdca8766.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"1.39","price":"2.99","retail_price":"1.39","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=bd8b67c7-9dea-43ca-abb4-1654ed96f162","available_quantity":999999999,"options":[{"name":"Color classification","value":"Brown 110g 24*19*6CM"}],"off_ratio":0,"flashsale_info":[],"sales":null},{"id":"6cdcc00d-f72f-4467-ac18-7fa01d48f9e6","title":"Grey 110g 24*19*6CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":10,"option1":"Grey 110g 24*19*6CM","option2":"","option3":"","image":{"src":"\/\/img.staticdj.com\/d5bde18a73ea6f3b24d10ba24ff246d4.jpeg","path":"d5bde18a73ea6f3b24d10ba24ff246d4.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"1.39","price":"2.99","retail_price":"1.39","available":true,"url":"\/products\/air-fryer-silicone-liners-easy-cleaning-food-safe-reusable-baking-tray?variant=6cdcc00d-f72f-4467-ac18-7fa01d48f9e6","available_quantity":999999999,"options":[{"name":"Color classification","value":"Grey 110g 24*19*6CM"}],"off_ratio":0,"flashsale_info":[],"sales":null}],"images":[{"src":"\/\/img.staticdj.com\/0b37547d18473570102f1565b7fddbdb.jpeg","path":"0b37547d18473570102f1565b7fddbdb.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},{"src":"\/\/img.staticdj.com\/3845f1f097ee31fe46f7aba4885f0480.jpeg","path":"3845f1f097ee31fe46f7aba4885f0480.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},{"src":"\/\/img.staticdj.com\/32408d2308f6ba5f075ace8da45cfd20.png","path":"32408d2308f6ba5f075ace8da45cfd20.png","width":800,"height":800,"alt":"","aspect_ratio":1},{"src":"\/\/img.staticdj.com\/ec2f5b404885c172b5586353adcb0299.jpeg","path":"ec2f5b404885c172b5586353adcb0299.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},{"src":"\/\/img.staticdj.com\/23582232b6c04abf6ecc4e6edd92696c.png","path":"23582232b6c04abf6ecc4e6edd92696c.png","width":800,"height":800,"alt":"","aspect_ratio":1},{"src":"\/\/img.staticdj.com\/32eee500185e84e1ba142cd735fc0680.jpeg","path":"32eee500185e84e1ba142cd735fc0680.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},{"src":"\/\/img.staticdj.com\/3d55ddc8e7f15babb9a4e8c7929d9e4c.jpeg","path":"3d55ddc8e7f15babb9a4e8c7929d9e4c.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},{"src":"\/\/img.staticdj.com\/43db2a86974460b6680fe012fdca8766.jpeg","path":"43db2a86974460b6680fe012fdca8766.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},{"src":"\/\/img.staticdj.com\/9ce585b72bcda133ec86de5ea6f26768.jpeg","path":"9ce585b72bcda133ec86de5ea6f26768.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},{"src":"\/\/img.staticdj.com\/d5bde18a73ea6f3b24d10ba24ff246d4.jpeg","path":"d5bde18a73ea6f3b24d10ba24ff246d4.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1}],"retail_price":"1.39","off_ratio":0,"price_varies":false} || {}, children: [ { title: "Handmade Crafts", url: "\/collections\/handmade-crafts", target: "", levels: 0, children: [ ] }, { title: "Chinoiserie", url: "\/collections\/chinoiserie", target: "", levels: 0, children: [ ] }, { title: "Custom Gifts", url: "\/collections\/custom-products", target: "", levels: 0, children: [ ] }, { title: "Trending Items", url: "\/collections\/trending-items", target: "", levels: 0, children: [ ] }, ] }, { id: 47274411, title: "Source4me", url: "\/pages\/source-for-me", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 47274413, title: ".CN", url: "https:\/\/www.pandaboo.cn", target: "_blank", levels: 0, product0: 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
All
Handmade Crafts
Chinoiserie
Custom Gifts
Trending Items
Source4me
.CN
${(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(){ 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
/
Featured-2023-03-22 16:19:38
Featured-2023-03-22 16:19:38
0 Products
Sorry, there are no products in this collection.
No products found
Use fewer filters or
clear all
Recently Viewed
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 { return `
` } }()}
${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 { return `
` } }()}
${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}