${function() {
const variantData = data.variant || {"id":"ec4f8c26-e34d-4eb8-a0cf-8ca9501c2bea","product_id":"c9d1f846-a92d-4fcc-a4a3-54f94fe1d584","title":"Default Title","weight_unit":"kg","inventory_quantity":0,"sku":"SP100069","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":47,"min_quantity":1}],"weight":"0","compare_at_price":"68","price":"47","retail_price":"68","available":true,"url":"\/products\/uniquec-cut-edge-chapel-wedding-veil-cathedral-veils-with-heart?variant=ec4f8c26-e34d-4eb8-a0cf-8ca9501c2bea","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":31,"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.