${function() {
const variantData = data.variant || {"id":"bb4de6e3-0e80-4215-8531-4f27511979b3","product_id":"a2b3cb55-b475-4511-b5a9-0e2eae87ef5b","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"P2STSY3Y","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":164.68,"min_quantity":1}],"weight":"1.13","compare_at_price":"164.68","price":"164.68","retail_price":"164.68","available":true,"url":"\/products\/two-pieces-high-neck-beaded-bodice-spandex-prom-dresses-dark-royal-blue?variant=bb4de6e3-0e80-4215-8531-4f27511979b3","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.