${function() {
const variantData = data.variant || {"id":"a28a6dc6-5a20-445f-9172-eb86e6ea5c0f","product_id":"2a8a6c0a-d48a-471e-add1-75b16f436ac3","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"PTBXZ6BL","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":149,"min_quantity":1}],"weight":"1.13","compare_at_price":"149","price":"149","retail_price":"149","available":true,"url":"\/products\/2022-high-neck-mother-of-the-bride-dresses-long-sleeves-spandex-with-ptbxz6bl?variant=a28a6dc6-5a20-445f-9172-eb86e6ea5c0f","available_quantity":999,"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.