${function() {
const variantData = data.variant || {"id":"a0fc1606-8418-406a-bad0-b6c73f31ef76","product_id":"d2e4960e-c50e-4251-a7c4-cca59ca59c9e","title":"Blue","weight_unit":"kg","inventory_quantity":1000,"sku":"INSW-1000-1700","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/55ee22c95a6ccf0b8f15e95d58ffdde6.jpeg","path":"55ee22c95a6ccf0b8f15e95d58ffdde6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":95.95,"min_quantity":1}],"weight":"0","compare_at_price":"153.86","price":"95.95","retail_price":"153.86","available":true,"url":"\/products\/dazzling-rhinestone-embellished-quartz-watch-10427263?variant=a0fc1606-8418-406a-bad0-b6c73f31ef76","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.