Pink Artificial Fir Christmas Tree w/ Foldable Stand
${function() {
const variantData = data.variant || {"id":"67fa8f68-fed7-40b1-988c-07c43d3e3a95","product_id":"ed1bd750-ef4e-442c-9fe4-957a845d67d6","title":"6ft","weight_unit":"kg","inventory_quantity":1000,"sku":"6ft-80262371","barcode":"","position":1,"option1":"6ft","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eed626f979b212a4d093d54ae767b815.jpeg","path":"eed626f979b212a4d093d54ae767b815.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/pink-artificial-fir-christmas-tree-w-foldable-stand?variant=67fa8f68-fed7-40b1-988c-07c43d3e3a95","available_quantity":999999999,"options":[{"name":"Size","value":"6ft"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"67fa8f68-fed7-40b1-988c-07c43d3e3a95","product_id":"ed1bd750-ef4e-442c-9fe4-957a845d67d6","title":"6ft","weight_unit":"kg","inventory_quantity":1000,"sku":"6ft-80262371","barcode":"","position":1,"option1":"6ft","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eed626f979b212a4d093d54ae767b815.jpeg","path":"eed626f979b212a4d093d54ae767b815.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/pink-artificial-fir-christmas-tree-w-foldable-stand?variant=67fa8f68-fed7-40b1-988c-07c43d3e3a95","available_quantity":999999999,"options":[{"name":"Size","value":"6ft"}],"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 `
`;
}()}