${function() {
const variantData = data.variant || {"id":"5bb0a7a0-9993-4158-a84c-0ac9fb008a22","product_id":"c321d6df-eb01-47b2-9e8a-f529f22992d3","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PST20432","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":159,"min_quantity":1}],"weight":"1","compare_at_price":"159","price":"159","retail_price":"159","available":true,"url":"\/products\/red-ball-gown-off-the-shoulder-v-neck-satin-prom-dresses-evening-sjs20432?variant=5bb0a7a0-9993-4158-a84c-0ac9fb008a22","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.