${function() {
const variantData = data.variant || {"id":"bfa07b86-4bff-477f-8e70-a8f4a6aab4f7","product_id":"a2fba1c7-71d2-4f6c-98a1-a2a4a7b0f2e7","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"P0016018","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":109,"min_quantity":1}],"weight":"1.5","compare_at_price":"109","price":"109","retail_price":"109","available":true,"url":"\/products\/girl-with-knee-length-off-the-shoulder-flower-girl-dresses-dress-tulle-flower-cheyanne-a-line-sleeveless-lace?variant=bfa07b86-4bff-477f-8e70-a8f4a6aab4f7","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.