${function() {
const variantData = data.variant || {"id":"aa7510b1-deea-4a16-a748-b81e5a03741d","product_id":"c0e924be-4359-489d-892b-c5ae317d74d9","title":"Black-S","weight_unit":"g","inventory_quantity":602,"sku":"102045070001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2e998f74e0004b63286e48eb103a862.jpeg","path":"f2e998f74e0004b63286e48eb103a862.jpeg","width":2000,"height":2000,"alt":"Demon Nun Prayer Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/demon-nun-prayer-printed-mens-t-shirt?variant=aa7510b1-deea-4a16-a748-b81e5a03741d","available_quantity":602,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
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":"aa7510b1-deea-4a16-a748-b81e5a03741d","product_id":"c0e924be-4359-489d-892b-c5ae317d74d9","title":"Black-S","weight_unit":"g","inventory_quantity":602,"sku":"102045070001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2e998f74e0004b63286e48eb103a862.jpeg","path":"f2e998f74e0004b63286e48eb103a862.jpeg","width":2000,"height":2000,"alt":"Demon Nun Prayer Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/demon-nun-prayer-printed-mens-t-shirt?variant=aa7510b1-deea-4a16-a748-b81e5a03741d","available_quantity":602,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}