Plush Dinosaur + Eggshell - Large
${function() {
const variantData = data.variant || {"id":"fd593126-4cbb-4c86-9089-dd06c0de0203","product_id":"4ef2dc3e-c219-4534-8d77-5087febd47c5","title":"","weight_unit":"kg","inventory_quantity":998,"sku":"FOS2TREX","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":6.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"6.98","retail_price":"0","available":true,"url":"\/products\/plush-dinosaur-eggshell-large?variant=fd593126-4cbb-4c86-9089-dd06c0de0203","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":7};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
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 `
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"fd593126-4cbb-4c86-9089-dd06c0de0203","product_id":"4ef2dc3e-c219-4534-8d77-5087febd47c5","title":"","weight_unit":"kg","inventory_quantity":998,"sku":"FOS2TREX","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":6.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"6.98","retail_price":"0","available":true,"url":"\/products\/plush-dinosaur-eggshell-large?variant=fd593126-4cbb-4c86-9089-dd06c0de0203","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":7};
return `
`
}()}