Dinosaur Pillow Large-Blue
${function() {
const variantData = data.variant || {"id":"6eecf442-cabd-4aaf-8a9e-28f20c1d9e60","product_id":"89a1ac7f-aeb4-46dc-b0b5-eceae0623ade","title":"","weight_unit":"kg","inventory_quantity":996,"sku":"fos2steg","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\/dinosaur-pillow-large-blue?variant=6eecf442-cabd-4aaf-8a9e-28f20c1d9e60","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":"6eecf442-cabd-4aaf-8a9e-28f20c1d9e60","product_id":"89a1ac7f-aeb4-46dc-b0b5-eceae0623ade","title":"","weight_unit":"kg","inventory_quantity":996,"sku":"fos2steg","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\/dinosaur-pillow-large-blue?variant=6eecf442-cabd-4aaf-8a9e-28f20c1d9e60","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":7};
return `
`
}()}