${function() {
const variantData = data.variant || {"id":"bd779f3d-0fc7-402c-9e38-876186775e85","product_id":"5155065f-5c29-454b-9dc8-69e5210fd32a","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"P3NJ49YG","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":219,"min_quantity":1}],"weight":"1","compare_at_price":"219","price":"219","retail_price":"219","available":true,"url":"\/products\/elegant-ball-gown-tulle-round-neck-prom-dresses-with-beads-formal-sjsp3nj49yg?variant=bd779f3d-0fc7-402c-9e38-876186775e85","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.