${function() {
const variantData = data.variant || {"id":"5e928741-2aa4-4069-abf0-edc90c08357a","product_id":"6b926a26-e87f-429a-a155-732660191f99","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"P8TNLQR2","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":159,"min_quantity":1}],"weight":"1.13","compare_at_price":"159","price":"159","retail_price":"159","available":true,"url":"\/products\/2022-v-neck-prom-dresses-a-line-chiffon-with-applique-and-p8tnlqr2?variant=5e928741-2aa4-4069-abf0-edc90c08357a","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.