${function() {
const variantData = data.variant || {"id":"90d6ff70-3666-48ae-b5cc-aefd3a3ca2f8","product_id":"38e09f00-a52c-4deb-9788-0f29aaa28a67","title":"Default Title","weight_unit":"kg","inventory_quantity":0,"sku":"PGRYH89X","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":219.4,"min_quantity":1}],"weight":"0","compare_at_price":"438.4","price":"219.4","retail_price":"438.4","available":true,"url":"\/products\/charming-ball-gown-tulle-off-the-shoulder-formal-prom-dresses-with-appliques?variant=90d6ff70-3666-48ae-b5cc-aefd3a3ca2f8","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":50,"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.