${function() {
const variantData = data.variant || {"id":"1255b476-7012-4b44-8fc1-9394ce79b7ee","product_id":"0f0788fe-5e4c-46c5-b49a-155b886209c5","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PC4CZXGB","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":189,"min_quantity":1}],"weight":"1","compare_at_price":"189","price":"189","retail_price":"189","available":true,"url":"\/products\/elegant-a-line-spaghetti-straps-tulle-scoop-prom-dresses-with-appliques-formal-sjspc4czxgb?variant=1255b476-7012-4b44-8fc1-9394ce79b7ee","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.