${function() {
const variantData = data.variant || {"id":"8f6d904b-cbb5-4f61-a175-243c9d9932f3","product_id":"7bc37434-54f1-467a-a19b-0df65014c3fb","title":"Light Grey","weight_unit":"kg","inventory_quantity":1000,"sku":"Elastic_foot_for_Light_Grey","barcode":"","position":1,"option1":"Light Grey","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d27e2ed3ac0ffbe840f1832208ca52dc.jpg","path":"d27e2ed3ac0ffbe840f1832208ca52dc.jpg","width":850,"height":850,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/industrial-sewing-machine-zipper-clip-gauge-sewing-aid-for-sewing-zipper-seam-guide-hemmer-guide-for-1-needle-machine?variant=8f6d904b-cbb5-4f61-a175-243c9d9932f3","available_quantity":999999999,"options":[{"name":"Color","value":"Light Grey"}],"off_ratio":0,"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}
`
}()}
Product was out of stock.
Product is unavailable.