${function() {
const variantData = data.variant || {"id":"3c02d468-761b-4916-992d-c39049b04479","product_id":"2b883649-8748-4b71-acac-2b7cc357b5b0","title":"Black","weight_unit":"kg","inventory_quantity":1000,"sku":"PFSBS-Black","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8e6963ce22ff143283cc060ae6ec73b2.jpg","path":"8e6963ce22ff143283cc060ae6ec73b2.jpg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.1,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.1","retail_price":"0","available":true,"url":"\/products\/plantar-fasciitis-foot-stretch-band-strengthen?variant=3c02d468-761b-4916-992d-c39049b04479","available_quantity":999999999,"options":[{"name":"Colour","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.