${function() {
const variantData = data.variant || {"id":"b9665d32-982c-4ea6-9aae-3653841355f8","product_id":"0c3f9ade-8887-4be0-a9be-3f16c0f43c4c","title":"Default Title","weight_unit":"kg","inventory_quantity":0,"sku":"SP100001","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":114,"min_quantity":1}],"weight":"0","compare_at_price":"196","price":"114","retail_price":"196","available":true,"url":"\/products\/a-line-chiffon-spaghetti-straps-v-neck-pleated-floor-length-bridesmaid-dresses?variant=b9665d32-982c-4ea6-9aae-3653841355f8","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":42,"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.