${function() {
const variantData = data.variant || {"id":"c17ca786-a175-48b4-9e77-7d04766e598e","product_id":"87e47c11-711f-429c-861c-c32ff39415d4","title":"Silver","weight_unit":"kg","inventory_quantity":1000,"sku":"LDDW-Silver","barcode":"","position":1,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/763c395f232a7fcbe12b1c7976c3a0f2.jpeg","path":"763c395f232a7fcbe12b1c7976c3a0f2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.99","retail_price":"0","available":true,"url":"\/products\/ladies-dress-diamond-watch?variant=c17ca786-a175-48b4-9e77-7d04766e598e","available_quantity":999999999,"options":[{"name":"Color","value":"Silver"}],"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.