Christmas Yard Decorations LED Candle with Holly
${function() {
const variantData = data.variant || {"id":"fcd5165e-afad-4cf7-8a56-48d06c85a5f9","product_id":"8d2f716c-8533-42ca-9094-aa861222cbdd","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":35.54,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.54","retail_price":"0","available":true,"url":"\/products\/christmas-yard-decorations-led-candle-with-holly?variant=fcd5165e-afad-4cf7-8a56-48d06c85a5f9","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"fcd5165e-afad-4cf7-8a56-48d06c85a5f9","product_id":"8d2f716c-8533-42ca-9094-aa861222cbdd","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":35.54,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.54","retail_price":"0","available":true,"url":"\/products\/christmas-yard-decorations-led-candle-with-holly?variant=fcd5165e-afad-4cf7-8a56-48d06c85a5f9","available_quantity":999999999,"options":[],"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 `
`;
}()}