${function() {
const variantData = data.variant || {"id":"f9a7b225-896d-4ab2-99f0-9eec6870028b","product_id":"5886d51e-cb6f-4e70-8f44-9291cd5f53f8","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":65,"min_quantity":1}],"weight":"1.2","compare_at_price":"65","price":"65","retail_price":"65","available":true,"url":"\/products\/high-heels-polka-dot-pattern-fashion-women-party-shoes?variant=f9a7b225-896d-4ab2-99f0-9eec6870028b","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.