${function() {
const variantData = data.variant || {"id":"e087c2f3-f2d9-44c4-8298-abc243a5c73b","product_id":"29909578-3790-4829-bd62-91c548e759dd","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PST15028","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":184.92,"min_quantity":1}],"weight":"1","compare_at_price":"184.92","price":"184.92","retail_price":"184.92","available":true,"url":"\/products\/a-line-spaghetti-straps-long-prom-dress-with-pockets-glitter-lilac-v-neck-formal-dresses-sjs15028?variant=e087c2f3-f2d9-44c4-8298-abc243a5c73b","available_quantity":999999999,"options":[],"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 + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.