${function() {
const variantData = data.variant || {"id":"3fe21dc2-3b30-45fe-b78b-baab1b6ea99d","product_id":"087a36e3-5b9e-4d78-8f3f-81f16277b877","title":"","weight_unit":"kg","inventory_quantity":999,"sku":"PK5Z1J1H","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":149,"min_quantity":1}],"weight":"1.13","compare_at_price":"149","price":"149","retail_price":"149","available":true,"url":"\/products\/2022-long-sleeves-v-neck-evening-dresses-mermaid-spandex-with-pk5z1j1h?variant=3fe21dc2-3b30-45fe-b78b-baab1b6ea99d","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.