Welcome Stay Awhile Gravestone
${function() {
const variantData = data.variant || {"id":"f0337f95-156e-4abe-847a-a27b9a385880","product_id":"e2986951-09b9-477a-b157-f5c3151561f7","title":"BUY 1","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"BUY 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd6e618acada8066dfbdbaeed5ba9cd3.jpeg","path":"dd6e618acada8066dfbdbaeed5ba9cd3.jpeg","width":725,"height":725,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/welcome-stay-awhile-gravestone?variant=f0337f95-156e-4abe-847a-a27b9a385880","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":"f0337f95-156e-4abe-847a-a27b9a385880","product_id":"e2986951-09b9-477a-b157-f5c3151561f7","title":"BUY 1","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"BUY 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd6e618acada8066dfbdbaeed5ba9cd3.jpeg","path":"dd6e618acada8066dfbdbaeed5ba9cd3.jpeg","width":725,"height":725,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/welcome-stay-awhile-gravestone?variant=f0337f95-156e-4abe-847a-a27b9a385880","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 `
`;
}()}