${function() {
const variantData = data.variant || {"id":"2c3d850e-1be4-4bfa-ae91-2bfc8be1e6c3","product_id":"622dfed0-f1e3-447e-8e27-cfaa0cd020b6","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"PEF1J8SA","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":188,"min_quantity":1}],"weight":"1.13","compare_at_price":"188","price":"188","retail_price":"188","available":true,"url":"\/products\/2022-a-line-round-neck-long-sleeves-champagne-peach-pearls-long-prom-pef1j8sa?variant=2c3d850e-1be4-4bfa-ae91-2bfc8be1e6c3","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.