Eternal Rest Tombstone
${function() {
const variantData = data.variant || {"id":"f9237e90-2ce9-4be5-80ad-48c909985f35","product_id":"23427ba6-ebdd-4f34-9a9a-f9d9649f93db","title":"BUY 1","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"BUY 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5a3435dac48e2804a41f01a13c9b685.jpeg","path":"c5a3435dac48e2804a41f01a13c9b685.jpeg","width":725,"height":725,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/eternal-rest-tombstone?variant=f9237e90-2ce9-4be5-80ad-48c909985f35","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":"f9237e90-2ce9-4be5-80ad-48c909985f35","product_id":"23427ba6-ebdd-4f34-9a9a-f9d9649f93db","title":"BUY 1","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"BUY 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5a3435dac48e2804a41f01a13c9b685.jpeg","path":"c5a3435dac48e2804a41f01a13c9b685.jpeg","width":725,"height":725,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/eternal-rest-tombstone?variant=f9237e90-2ce9-4be5-80ad-48c909985f35","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 `
`;
}()}