${function() {
const variantData = data.variant || {"id":"a6447d89-2ed0-40a0-bdb5-ba71bad934b0","product_id":"504f6c70-6eff-457d-bed9-49219ab7ef00","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PST15551","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":136.16,"min_quantity":1}],"weight":"1","compare_at_price":"136.16","price":"136.16","retail_price":"136.16","available":true,"url":"\/products\/a-line-off-the-shoulder-sweetheart-yellow-prom-dresses-long-formal-dresses-sjs15551?variant=a6447d89-2ed0-40a0-bdb5-ba71bad934b0","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.