${function() {
const variantData = data.variant || {"id":"84860c0c-de63-4bb9-a07d-cccb22834609","product_id":"f146b289-3a16-488d-9c67-19553efea5f6","title":"Default Title","weight_unit":"kg","inventory_quantity":999,"sku":"P0007123","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":163,"min_quantity":1}],"weight":"1","compare_at_price":"0","price":"163","retail_price":"0","available":true,"url":"\/products\/trumpet-mermaid-bateau-lace-3-4-sleeves-long-elastic-woven-satin-mother-of-the-bride-dresses-smp0007123?variant=84860c0c-de63-4bb9-a07d-cccb22834609","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.