${function() {
const variantData = data.variant || {"id":"c39d6c43-ccf3-467d-9003-9dabfe2f431b","product_id":"57fbc9b7-d110-4ecc-a8d7-e1141be8c817","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PB9KP6G1","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":125.12,"min_quantity":1}],"weight":"0.68","compare_at_price":"125.12","price":"125.12","retail_price":"125.12","available":true,"url":"\/products\/splendid-a-line-short-mini-homecoming-dresses-beaded-bodice-with-layered-chiffon-skirt?variant=c39d6c43-ccf3-467d-9003-9dabfe2f431b","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.