${function() {
const variantData = data.variant || {"id":"1f1868b4-9144-49aa-973b-d228e586642e","product_id":"222b7c81-e4cd-4e64-b23e-c6fbe07932d3","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"P2GZX4N7","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":369,"min_quantity":1}],"weight":"1","compare_at_price":"369","price":"369","retail_price":"369","available":true,"url":"\/products\/spaghetti-straps-deep-v-neck-tulle-prom-dress-with-lace-appliques-bridal-sjsp2gzx4n7?variant=1f1868b4-9144-49aa-973b-d228e586642e","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.