3 In 1 Smart Sweeping Robot Home Mini Sweeper
${function() {
const variantData = data.variant || {"id":"d1d4431e-d97c-44c1-a216-4aaa669338d4","product_id":"c9507e80-4672-4d8a-a77d-f753bef7732b","title":"White","weight_unit":"kg","inventory_quantity":999,"sku":"homie","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a03c1baf79a108fff7113ff298d77fa6.jpeg","path":"a03c1baf79a108fff7113ff298d77fa6.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"14.99","retail_price":"0","available":true,"url":"\/products\/xiaomi-3-in-1-smart-sweeping-robot-home-mini-sweeper-1-523o?variant=d1d4431e-d97c-44c1-a216-4aaa669338d4","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"d1d4431e-d97c-44c1-a216-4aaa669338d4","product_id":"c9507e80-4672-4d8a-a77d-f753bef7732b","title":"White","weight_unit":"kg","inventory_quantity":999,"sku":"homie","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a03c1baf79a108fff7113ff298d77fa6.jpeg","path":"a03c1baf79a108fff7113ff298d77fa6.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"14.99","retail_price":"0","available":true,"url":"\/products\/xiaomi-3-in-1-smart-sweeping-robot-home-mini-sweeper-1-523o?variant=d1d4431e-d97c-44c1-a216-4aaa669338d4","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('52');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}