${function() {
const variantData = data.variant || {"id":"66adf216-5364-437a-b580-393e056e666e","product_id":"65592c56-20ba-4a90-ba2d-6efa403b917f","title":"Black","weight_unit":"kg","inventory_quantity":995,"sku":"PH10black","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec4aff81a62ac7bb88a303b5af3acaa6.png","path":"ec4aff81a62ac7bb88a303b5af3acaa6.png","width":1800,"height":1800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":88.99,"min_quantity":1}],"weight":"0","compare_at_price":"159.99","price":"88.99","retail_price":"159.99","available":true,"url":"\/products\/ph10-laser-physical-therapy-blood-glucose-heart-rate-oxygen-health-smart-watch-4464601?variant=66adf216-5364-437a-b580-393e056e666e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":44,"flashsale_info":[],"sales":7};
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.