${function() {
const variantData = data.variant || {"id":"b0f7af42-fb73-43e7-8614-9e3b2be87371","product_id":"ad08b818-1d4d-4eca-8c4c-2529b4064de7","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"P0020134","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":509,"min_quantity":1}],"weight":"1.5","compare_at_price":"509","price":"509","retail_price":"509","available":true,"url":"\/products\/claire-a-line-lace-chapel-train-dress-stjp0020134?variant=b0f7af42-fb73-43e7-8614-9e3b2be87371","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.