${function() {
const variantData = data.variant || {"id":"996cf023-68d3-4638-834c-9bf900727f8e","product_id":"f27a5464-61b4-47d0-b024-8353832fda84","title":"Silver","weight_unit":"kg","inventory_quantity":1000,"sku":"INSW-1000-4818","barcode":"","position":1,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29012929d7b10e95b27e8ff3a71c3379.jpeg","path":"29012929d7b10e95b27e8ff3a71c3379.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"65.9","price":"69.99","retail_price":"65.9","available":true,"url":"\/products\/glimmering-rhinestone-bejeweled-snug-fit-butterfly-mesh-band-wristwatches-10426542?variant=996cf023-68d3-4638-834c-9bf900727f8e","available_quantity":999999999,"options":[{"name":"Color","value":"Silver"}],"off_ratio":0,"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.