${function() {
const variantData = data.variant || {"id":"7ec99e24-637e-4e10-85a8-915f60e30873","product_id":"207ead37-2410-433b-b443-084879ff498f","title":"Buy 1","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Buy 1","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"15.99","retail_price":"29.99","available":true,"url":"\/products\/5-in-1-multifunctional-cleaning-brush?variant=7ec99e24-637e-4e10-85a8-915f60e30873","available_quantity":999999999,"options":[{"name":"QTY","value":"Buy 1"}],"off_ratio":47,"flashsale_info":[],"sales":268};
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":"7ec99e24-637e-4e10-85a8-915f60e30873","product_id":"207ead37-2410-433b-b443-084879ff498f","title":"Buy 1","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Buy 1","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"15.99","retail_price":"29.99","available":true,"url":"\/products\/5-in-1-multifunctional-cleaning-brush?variant=7ec99e24-637e-4e10-85a8-915f60e30873","available_quantity":999999999,"options":[{"name":"QTY","value":"Buy 1"}],"off_ratio":47,"flashsale_info":[],"sales":268};
return `
`
}()}