${function() {
const variantData = data.variant || {"id":"321fee8c-48c2-448c-91b3-45ce7550a9f3","product_id":"396122df-40e0-42ef-b298-4eab2f3a8daa","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"PST12503","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":411.4,"min_quantity":1}],"weight":"1","compare_at_price":"411.4","price":"411.4","retail_price":"411.4","available":true,"url":"\/products\/ivory-lace-mermaid-off-the-shoulder-sweetheart-appliques-wedding-dresses-pst12503?variant=321fee8c-48c2-448c-91b3-45ce7550a9f3","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.