${function() {
const variantData = data.variant || {"id":"f5156cfe-2518-4bf5-a543-7f01fe33e707","product_id":"ea190738-98d2-4827-bb4b-08a54764890f","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"P5J9N6GT","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\/beaded-spaghetti-straps-sweetheart-neckline-rhinestones-sash-red-prom-sjsp5j9n6gt?variant=f5156cfe-2518-4bf5-a543-7f01fe33e707","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.