${function() {
const variantData = data.variant || {"id":"94ae0df4-7edb-47f1-8ac0-9fae60e151c3","product_id":"cda50549-6cbf-4181-a186-c8aef96d67e4","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"P0015448","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":145,"min_quantity":1}],"weight":"1.5","compare_at_price":"145","price":"145","retail_price":"145","available":true,"url":"\/products\/lace-knee-length-with-marley-tulle-dress-a-line-off-the-shoulder-homecoming-homecoming-dresses?variant=94ae0df4-7edb-47f1-8ac0-9fae60e151c3","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.