${function() {
const variantData = data.variant || {"id":"64dc4f3f-7b3c-4914-bd42-d3f8a067b9c1","product_id":"976eeb99-5254-4a62-8099-0c8348182a00","title":"White-S","weight_unit":"g","inventory_quantity":797,"sku":"102032130001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b279f38da07558dbaa4bb263298ddd4.jpeg","path":"1b279f38da07558dbaa4bb263298ddd4.jpeg","width":2000,"height":2000,"alt":"Death Temptation Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/death-temptation-printed-mens-t-shirt?variant=64dc4f3f-7b3c-4914-bd42-d3f8a067b9c1","available_quantity":797,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${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":"64dc4f3f-7b3c-4914-bd42-d3f8a067b9c1","product_id":"976eeb99-5254-4a62-8099-0c8348182a00","title":"White-S","weight_unit":"g","inventory_quantity":797,"sku":"102032130001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b279f38da07558dbaa4bb263298ddd4.jpeg","path":"1b279f38da07558dbaa4bb263298ddd4.jpeg","width":2000,"height":2000,"alt":"Death Temptation Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/death-temptation-printed-mens-t-shirt?variant=64dc4f3f-7b3c-4914-bd42-d3f8a067b9c1","available_quantity":797,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
return `
`
}()}