${function() {
const variantData = data.variant || {"id":"f5bf902c-5410-4e7f-89e4-b6fb7f5e1ef4","product_id":"558f6044-8ffa-47d4-bfe7-e3345596be50","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"PLM7MSPK","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":259,"min_quantity":1}],"weight":"1.13","compare_at_price":"259","price":"259","retail_price":"259","available":true,"url":"\/products\/2022-sweetheart-prom-dresses-a-line-tulle-with-ruffles-and-plm7mspk?variant=f5bf902c-5410-4e7f-89e4-b6fb7f5e1ef4","available_quantity":999,"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.