${function() {
const variantData = data.variant || {"id":"be253683-c18b-4979-ac23-ca8c30728a4c","product_id":"19e475cd-95ee-483f-8753-4a58ff82bf80","title":"White","weight_unit":"kg","inventory_quantity":1000,"sku":"INSW-1000-4808","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/18ecfeb116bbb97a1e2f0a6bcbafcb20.jpeg","path":"18ecfeb116bbb97a1e2f0a6bcbafcb20.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.9","price":"49.99","retail_price":"49.9","available":true,"url":"\/products\/graceful-butterfly-dial-with-soft-vegan-leather-strap-quartz-watches-10426544?variant=be253683-c18b-4979-ac23-ca8c30728a4c","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"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.