${function() {
const variantData = data.variant || {"id":"57661815-6d3c-4fc6-9ca0-13d74e3e6de0","product_id":"f7a559ea-ee6a-470b-b432-935ee1bf96c1","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"P6T95LS1","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":139,"min_quantity":1}],"weight":"1","compare_at_price":"139","price":"139","retail_price":"139","available":true,"url":"\/products\/cheap-spaghetti-straps-long-satin-prom-dress-a-line-simple-long-formal-sjsp6t95ls1?variant=57661815-6d3c-4fc6-9ca0-13d74e3e6de0","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.