${function() {
const variantData = data.variant || {"id":"27b2e326-5316-428a-8d9b-826b25935cff","product_id":"0be91d67-f1e8-41eb-867a-fddcd1a1af34","title":"Pink","weight_unit":"kg","inventory_quantity":979,"sku":"ZBSH051010055_2","barcode":"","position":2,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/94e3349f300b0584173735fab14b2a32.jpg","path":"94e3349f300b0584173735fab14b2a32.jpg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":86.98,"min_quantity":1}],"weight":"0","compare_at_price":"150","price":"86.98","retail_price":"150","available":true,"url":"\/products\/painless-blood-glucose-measurement-watch-3339433?variant=27b2e326-5316-428a-8d9b-826b25935cff","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"}],"off_ratio":42,"flashsale_info":[],"sales":17};
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.