${function() {
const variantData = data.variant || {"id":"2dc6ce0c-b19b-4b9c-9784-e66982af67b3","product_id":"61fdc30b-723c-4fbc-beb0-a64b59e7309b","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PST15642","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":227.24,"min_quantity":1}],"weight":"1","compare_at_price":"227.24","price":"227.24","retail_price":"227.24","available":true,"url":"\/products\/elegant-a-line-v-neck-off-the-shoulder-beads-prom-dresses-with-lace-sjs15642?variant=2dc6ce0c-b19b-4b9c-9784-e66982af67b3","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.