${function() {
const variantData = data.variant || {"id":"5a42caa8-c8ff-49dd-ae0d-b0607fce85ee","product_id":"ef4844f3-b889-41f6-accf-ac8824834fb0","title":"Default Title","weight_unit":"kg","inventory_quantity":0,"sku":"PQ8P9TLS","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0","compare_at_price":"52","price":"39","retail_price":"52","available":true,"url":"\/products\/flower-girls-lace-headpiece-wedding-special-occasion-outdoor-tiara-with-rhinestones?variant=5a42caa8-c8ff-49dd-ae0d-b0607fce85ee","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":25,"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 + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.