${function() {
const variantData = data.variant || {"id":"e26f13e5-a612-40d6-acce-97e4d3bde302","product_id":"78c798dc-2cac-4562-9821-5efca79274cf","title":"Black Red","weight_unit":"kg","inventory_quantity":1000,"sku":"INSW-1000-3446","barcode":"","position":1,"option1":"Black Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b8ee75e8a6fa40101303a428f80ab93.jpeg","path":"7b8ee75e8a6fa40101303a428f80ab93.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"53.9","price":"59.99","retail_price":"53.9","available":true,"url":"\/products\/oversized-dial-sports-quartz-watches-with-strong-vegan-leather-strap-10426858?variant=e26f13e5-a612-40d6-acce-97e4d3bde302","available_quantity":999999999,"options":[{"name":"Color","value":"Black Red"}],"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.