${function() {
const variantData = data.variant || {"id":"629fdbc3-4f7d-4f0e-b91b-f69a8b2703dd","product_id":"5299bac2-3571-49b3-9ec5-34c0ed48b12a","title":"Golden","weight_unit":"kg","inventory_quantity":1860,"sku":"FXHE2208231452-Golden","barcode":"","position":1,"option1":"Golden","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5e91b55ff742f9935c80aeebb88ef2be.jpeg","path":"5e91b55ff742f9935c80aeebb88ef2be.jpeg","width":800,"height":800,"alt":"Fashion Pearl Round Metal Cutout Flower Earrings","aspect_ratio":1},"wholesale_price":[{"price":5.88,"min_quantity":1}],"weight":"0.1","compare_at_price":"9.26","price":"5.88","retail_price":"9.26","available":true,"url":"\/products\/fashion-pearl-round-metal-cutout-flower-earrings?variant=629fdbc3-4f7d-4f0e-b91b-f69a8b2703dd","available_quantity":999999999,"options":[{"name":"color","value":"Golden"}],"off_ratio":37,"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.