Organic bamboo cutting board set of 3
${function() {
const variantData = data.variant || {"id":"638d971f-8be2-43c8-81fb-7af06348ef3c","product_id":"3a911cf3-196e-4e77-922d-a6d69b0fc542","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"homie","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":15.74,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"15.74","retail_price":"0","available":true,"url":"\/products\/organic-bamboo-cutting-board-set-of-3-with-lifetime-replacements-wood-cutting-board-set-with-juice-groove-wooden-chopping-board-set-for-kitchen-meat-and-cheese-wooden-cutting-boards-for-kitchen-1-8ihy?variant=638d971f-8be2-43c8-81fb-7af06348ef3c","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":"638d971f-8be2-43c8-81fb-7af06348ef3c","product_id":"3a911cf3-196e-4e77-922d-a6d69b0fc542","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"homie","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":15.74,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"15.74","retail_price":"0","available":true,"url":"\/products\/organic-bamboo-cutting-board-set-of-3-with-lifetime-replacements-wood-cutting-board-set-with-juice-groove-wooden-chopping-board-set-for-kitchen-meat-and-cheese-wooden-cutting-boards-for-kitchen-1-8ihy?variant=638d971f-8be2-43c8-81fb-7af06348ef3c","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 `
`;
}()}