${function() {
const variantData = data.variant || {"id":"c2295402-5272-40d0-8da9-03268477f512","product_id":"d3f37434-8615-4bc3-a065-ed1ff3dbb21c","title":"Default Title","weight_unit":"kg","inventory_quantity":999,"sku":"P3KXPXN5","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":119,"min_quantity":1}],"weight":"0.68","compare_at_price":"0","price":"119","retail_price":"0","available":true,"url":"\/products\/2022-tulle-scoop-flower-girl-dresses-ball-gown-mid-length-sleeves-with-p3kxpxn5?variant=c2295402-5272-40d0-8da9-03268477f512","available_quantity":999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":0,"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.