${function() {
const variantData = data.variant || {"id":"365e5536-3cb9-4691-be71-cdb31f350781","product_id":"e7afc192-21d0-4360-9f38-74bb6b99f056","title":"Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":49.98,"min_quantity":1}],"weight":"0","compare_at_price":"69.98","price":"49.98","retail_price":"69.98","available":true,"url":"\/products\/business-headphone-single-ear-wireless-bluetooth-earphone-headset?variant=365e5536-3cb9-4691-be71-cdb31f350781","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":29,"flashsale_info":[],"sales":68};
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.
${function(){
const variantData = data.variant || {"id":"365e5536-3cb9-4691-be71-cdb31f350781","product_id":"e7afc192-21d0-4360-9f38-74bb6b99f056","title":"Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":49.98,"min_quantity":1}],"weight":"0","compare_at_price":"69.98","price":"49.98","retail_price":"69.98","available":true,"url":"\/products\/business-headphone-single-ear-wireless-bluetooth-earphone-headset?variant=365e5536-3cb9-4691-be71-cdb31f350781","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":29,"flashsale_info":[],"sales":68};
return `
`
}()}