${function() {
const variantData = data.variant || {"id":"63d9f441-9649-406d-a4fe-5875181b16f3","product_id":"3088a4a1-db72-4f72-8fa4-4facb03e8b45","title":"Silvery","weight_unit":"kg","inventory_quantity":997,"sku":"PHS3silvery","barcode":"","position":1,"option1":"Silvery","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eb734e85fff95f996cb3413e6121b7d7.jpeg","path":"eb734e85fff95f996cb3413e6121b7d7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":126.98,"min_quantity":1}],"weight":"0","compare_at_price":"188.99","price":"126.98","retail_price":"188.99","available":true,"url":"\/products\/ph03-heart-rate-temperature-blood-oxygen-blood-glucose-monitor-testing-ecg-ppg-4464584?variant=63d9f441-9649-406d-a4fe-5875181b16f3","available_quantity":999999999,"options":[{"name":"Color","value":"Silvery"}],"off_ratio":33,"flashsale_info":[],"sales":3};
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.