${function() {
const variantData = data.variant || {"id":"1cb4efe7-5a49-4ef8-a29c-807dc9863c73","product_id":"0d06a541-a508-4701-9f4a-b56bc4f3f261","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PETBGMYB","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":124.2,"min_quantity":1}],"weight":"0.68","compare_at_price":"124.2","price":"124.2","retail_price":"124.2","available":true,"url":"\/products\/pure-sweetheart-a-line-chiffon-short-mini-homecoming-dress-with-ruffles-lace-up?variant=1cb4efe7-5a49-4ef8-a29c-807dc9863c73","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.