${(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}
` })()}
Enjoy Free Express Shipping on orders over S29.99!
Enjoy Free Express Shipping on orders over S29.99!
Search
Log in
Create an account
${data.data && data.data.count}
Home
Decoration
Easter Flag
Gnome Doll
All Products
Contact Us
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: 37612007, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 37612009, title: "Decoration", url: "\/collections\/decoration", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 37612011, title: "Easter Flag", url: "\/collections\/easter-flag", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 37612013, title: "Gnome Doll", url: "\/collections\/gnome-doll", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 37612015, title: "All Products", url: "\/collections\/all-products", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 37612017, title: "Contact Us", url: "\/pages\/contact-us", 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
Decoration
Easter Flag
Gnome Doll
All Products
Contact Us
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: 37612007, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 37612009, title: "Decoration", url: "\/collections\/decoration", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 37612011, title: "Easter Flag", url: "\/collections\/easter-flag", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 37612013, title: "Gnome Doll", url: "\/collections\/gnome-doll", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 37612015, title: "All Products", url: "\/collections\/all-products", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 37612017, title: "Contact Us", url: "\/pages\/contact-us", 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}
Search
Home
Decoration
Easter Flag
Gnome Doll
All Products
Contact Us
${(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
Decoration
Easter Flag
Gnome Doll
All Products
Contact Us
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
/
My Sleeping Buddy
1/9
${data.index + 1}/${data.total}
${Array(data.total).fill(0).map((num, index) => `
`).join('')}
My Sleeping Buddy
$28.99
${function() { const variantData = data.variant || {"id":"3d0ac6b0-2cb5-49dc-8490-2957c583f8a9","product_id":"7b129fb3-3e43-40b4-8709-f2ed8ede335c","title":"16 in Green Dino","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"16 in Green Dino","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/adf14b13ec249a909e32d2b650c43a11.png","path":"adf14b13ec249a909e32d2b650c43a11.png","width":713,"height":710,"alt":"","aspect_ratio":1.004225352112676},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.99","retail_price":"0","available":true,"url":"\/products\/my-sleeping-buddy?variant=3d0ac6b0-2cb5-49dc-8490-2957c583f8a9","available_quantity":999999999,"options":[{"name":"Size","value":"16 in Green Dino"}],"off_ratio":0,"flashsale_info":[],"sales":5}; const saveType = "amount"; const productLabelDiscountOn = true; return `
-
${saveType == 'percentage' ? `-${variantData.off_ratio}%` : `
-
` }
`; }()}
Size:
16 in Green Dino
${function(){ const optName = "Size"; const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value; const optionValueText = optionValue ? (optionValue) : ''; return `
${optionValueText}
`; }()}
16 in Green Dino
24 in Green Dino
16 in Pink Dino
24 in Pink Dino
16 in Cheetah
24 in Cheetah
16 in Red Dragon
24 in Red Dragon
16 in Unicorn
24 in Unicorn
${function(){ const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data); return `
${tipText}
` }()}