Christmas-8 ft inflatable giant sized nutcracker
${function() {
const variantData = data.variant || {"id":"5d013f4b-f1f6-4204-b8e3-54332d387413","product_id":"0deebbb6-90fd-47b3-bec9-14debe4189d8","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"-68747991","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"26.39","price":"16.99","retail_price":"26.39","available":true,"url":"\/products\/8-ft-inflatable-giant-sized-nutcracker-cgmq?variant=5d013f4b-f1f6-4204-b8e3-54332d387413","available_quantity":999999999,"options":[],"off_ratio":36,"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":"5d013f4b-f1f6-4204-b8e3-54332d387413","product_id":"0deebbb6-90fd-47b3-bec9-14debe4189d8","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"-68747991","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"26.39","price":"16.99","retail_price":"26.39","available":true,"url":"\/products\/8-ft-inflatable-giant-sized-nutcracker-cgmq?variant=5d013f4b-f1f6-4204-b8e3-54332d387413","available_quantity":999999999,"options":[],"off_ratio":36,"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 `
`;
}()}