${function() {
const variantData = data.variant || {"id":"c5ee2ebb-b30a-40a7-85e8-4fe9deb5e4ab","product_id":"4ab2725a-554e-460d-bd50-75f7049a48ef","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PD2KL8LT","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":167.44,"min_quantity":1}],"weight":"0.91","compare_at_price":"167.44","price":"167.44","retail_price":"167.44","available":true,"url":"\/products\/cheap-prom-dresses-blue-sweetheart-floor-length-organza-taffeta-cz?variant=c5ee2ebb-b30a-40a7-85e8-4fe9deb5e4ab","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.