${function() {
const variantData = data.variant || {"id":"79539efb-8b2a-4254-bb78-dc072188363c","product_id":"011acbcf-ae38-48b4-8169-468598366e8b","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PR3M527M","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":127.88,"min_quantity":1}],"weight":"1.13","compare_at_price":"127.88","price":"127.88","retail_price":"127.88","available":true,"url":"\/products\/red-sweetheart-prom-dresses-a-line-tulle-with-ruffles-ankle-length-size-8?variant=79539efb-8b2a-4254-bb78-dc072188363c","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.