Silent Sticker
${function() {
const variantData = data.variant || {"id":"172d3664-f903-469c-becd-508b4d216c8f","product_id":"5c8ec7a2-2ad5-4853-a2df-744b25f4d42b","title":"11.8''(30 CM)","weight_unit":"kg","inventory_quantity":1000,"sku":"SS-11.8''(30 CM)-001","barcode":"","position":1,"option1":"11.8''(30 CM)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b744236f5d636b41f7a54fcbf94e69d7.jpeg","path":"b744236f5d636b41f7a54fcbf94e69d7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"18.5","price":"9.99","retail_price":"18.5","available":true,"url":"\/products\/silent-sticker?variant=172d3664-f903-469c-becd-508b4d216c8f","available_quantity":999999999,"options":[{"name":"Size","value":"11.8''(30 CM)"}],"off_ratio":46,"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":"172d3664-f903-469c-becd-508b4d216c8f","product_id":"5c8ec7a2-2ad5-4853-a2df-744b25f4d42b","title":"11.8''(30 CM)","weight_unit":"kg","inventory_quantity":1000,"sku":"SS-11.8''(30 CM)-001","barcode":"","position":1,"option1":"11.8''(30 CM)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b744236f5d636b41f7a54fcbf94e69d7.jpeg","path":"b744236f5d636b41f7a54fcbf94e69d7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"18.5","price":"9.99","retail_price":"18.5","available":true,"url":"\/products\/silent-sticker?variant=172d3664-f903-469c-becd-508b4d216c8f","available_quantity":999999999,"options":[{"name":"Size","value":"11.8''(30 CM)"}],"off_ratio":46,"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 `
`;
}()}