${function() {
const variantData = data.variant || {"id":"fb1114f1-a868-40b4-924f-58d3c4f8e17a","product_id":"38d8276a-5d74-4eac-91a8-f7974f31662d","title":"Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"49.99","retail_price":"69.99","available":true,"url":"\/products\/bluetooth-5-0-earbuds-sport-earbuds-tws-earphone-headphone-wireless-bluetooth-headset?variant=fb1114f1-a868-40b4-924f-58d3c4f8e17a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":29,"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.
${function(){
const variantData = data.variant || {"id":"fb1114f1-a868-40b4-924f-58d3c4f8e17a","product_id":"38d8276a-5d74-4eac-91a8-f7974f31662d","title":"Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"49.99","retail_price":"69.99","available":true,"url":"\/products\/bluetooth-5-0-earbuds-sport-earbuds-tws-earphone-headphone-wireless-bluetooth-headset?variant=fb1114f1-a868-40b4-924f-58d3c4f8e17a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":29,"flashsale_info":[],"sales":0};
return `
`
}()}