${function() {
const variantData = data.variant || {"id":"845c9d1e-598e-47ea-8734-17e0124ed9ea","product_id":"9f6f753f-6204-45dc-a5bc-80514de30f41","title":"Blue","weight_unit":"kg","inventory_quantity":1000,"sku":"INSW-1000-3323","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/707294525e17ebbf5cadfe9ce5aee29f.jpeg","path":"707294525e17ebbf5cadfe9ce5aee29f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":130.95,"min_quantity":1}],"weight":"0","compare_at_price":"209.9","price":"130.95","retail_price":"209.9","available":true,"url":"\/products\/professional-full-touch-outdoor-sports-and-fitness-bluetooth-smartwatch-10426910?variant=845c9d1e-598e-47ea-8734-17e0124ed9ea","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"}],"off_ratio":38,"flashsale_info":[],"sales":0};
const saveType = "amount";
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}
`
}()}
Product was out of stock.
Product is unavailable.