${function() {
const variantData = data.variant || {"id":"04b076b5-37c1-4673-a5df-d2ddc0548e8e","product_id":"712263eb-dbe0-4302-a9c3-2e59a8aa8f1d","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"P2NLKJJ3","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":149,"min_quantity":1}],"weight":"0.91","compare_at_price":"149","price":"149","retail_price":"149","available":true,"url":"\/products\/2022-homecoming-dresses-a-line-off-the-shoulder-black-p2nlkjj3?variant=04b076b5-37c1-4673-a5df-d2ddc0548e8e","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.