${function() {
const variantData = data.variant || {"id":"c9b4233e-4bca-47ad-ae6d-3e4501f21394","product_id":"44359c98-f42f-4809-a553-8b65277df02d","title":"Default Title","weight_unit":"kg","inventory_quantity":0,"sku":"PLGF3LC7","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"41","price":"28","retail_price":"41","available":true,"url":"\/products\/glittering-alloy-tiaras?variant=c9b4233e-4bca-47ad-ae6d-3e4501f21394","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":32,"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.