${function() {
const variantData = data.variant || {"id":"8dd42765-cdb7-4464-9770-c06f521f8be2","product_id":"c156c27a-4f5a-43c9-8c65-3ad5db07e29e","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"PLQS852M","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":100.28,"min_quantity":1}],"weight":"1.13","compare_at_price":"100.28","price":"100.28","retail_price":"100.28","available":true,"url":"\/products\/cocktail-dresses-sheath-lace-short-sheath-long-sleeves?variant=8dd42765-cdb7-4464-9770-c06f521f8be2","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.