${function() {
const variantData = data.variant || {"id":"40437aee-460d-42ad-9955-e9c435f7bd83","product_id":"1eb07f99-64d4-42d9-bbf6-7c526f51eff4","title":"Default Title","weight_unit":"kg","inventory_quantity":0,"sku":"PST118543","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":104,"min_quantity":1}],"weight":"0","compare_at_price":"159","price":"104","retail_price":"159","available":true,"url":"\/products\/sheath-sweetheart-floor-length-dark-blue-bridesmaid-dresses-avdg?variant=40437aee-460d-42ad-9955-e9c435f7bd83","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":35,"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.