${function() {
const variantData = data.variant || {"id":"aec835f5-f4e0-4864-8126-fe1f20d7bde2","product_id":"4f553763-0c45-4e16-af09-60e242a64e0d","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":99,"min_quantity":1}],"weight":"0","compare_at_price":"99","price":"99","retail_price":"99","available":true,"url":"\/products\/colorful-crystal-wreath-flower-halo-pearl-bridal-floral-crown-hair-wreath-wedding-headpiece?variant=aec835f5-f4e0-4864-8126-fe1f20d7bde2","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.