${function() {
const variantData = data.variant || {"id":"5698c7ef-01c6-4518-a891-069234a616ff","product_id":"ef19122a-5b80-40c2-896f-f6a6b6362552","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PST15234","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":226.32,"min_quantity":1}],"weight":"1","compare_at_price":"226.32","price":"226.32","retail_price":"226.32","available":true,"url":"\/products\/gorgeous-a-line-bateau-blue-floral-tulle-long-prom-dresses-cheap-formal-dresses-sjs15234?variant=5698c7ef-01c6-4518-a891-069234a616ff","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.