${function() {
const variantData = data.variant || {"id":"dac6b0d3-03cf-4ee4-bcf4-ce8c56d657bb","product_id":"a41a1ac8-5b62-4896-8d7a-ebc53defc6a1","title":"Default Title","weight_unit":"kg","inventory_quantity":0,"sku":"SP100067","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":162,"min_quantity":1}],"weight":"0","compare_at_price":"244","price":"162","retail_price":"244","available":true,"url":"\/products\/sexy-simple-lace-short-wedding-dresses-high-low-beach-bridal-gown-beaded-appliques-organza?variant=dac6b0d3-03cf-4ee4-bcf4-ce8c56d657bb","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":34,"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.