Fountain of Mortals
${function() {
const variantData = data.variant || {"id":"d548dcfc-881e-4051-8a16-a9f6143b10e1","product_id":"60518bd0-1d02-4cbb-b39f-51c4e3976f9b","title":"BUY 1","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"BUY 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b8519b35562c456d6f123c8318c1b19.jpeg","path":"5b8519b35562c456d6f123c8318c1b19.jpeg","width":725,"height":725,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/fountain-of-mortals?variant=d548dcfc-881e-4051-8a16-a9f6143b10e1","available_quantity":999999999,"options":[{"name":"Size","value":"BUY 1"}],"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":"d548dcfc-881e-4051-8a16-a9f6143b10e1","product_id":"60518bd0-1d02-4cbb-b39f-51c4e3976f9b","title":"BUY 1","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"BUY 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b8519b35562c456d6f123c8318c1b19.jpeg","path":"5b8519b35562c456d6f123c8318c1b19.jpeg","width":725,"height":725,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/fountain-of-mortals?variant=d548dcfc-881e-4051-8a16-a9f6143b10e1","available_quantity":999999999,"options":[{"name":"Size","value":"BUY 1"}],"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 `
`;
}()}