${function() {
const variantData = data.variant || {"id":"1a2b529f-4723-4c39-a362-b2f906a6d5a8","product_id":"3944a94f-feb0-4b7b-9df2-750304185b9c","title":"Ancient-Gold + Color","weight_unit":"kg","inventory_quantity":517,"sku":"FXHE2208171018-Ancient-Gold + Color","barcode":"","position":2,"option1":"Ancient-Gold + Color","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/115c789db0e576a8f865018f747a59cc.jpeg","path":"115c789db0e576a8f865018f747a59cc.jpeg","width":800,"height":800,"alt":"Peacock Open Screen Multicolor Pearl Half Moon Bell Earrings","aspect_ratio":1},"wholesale_price":[{"price":17,"min_quantity":1}],"weight":"0.06","compare_at_price":"27.79","price":"17","retail_price":"27.79","available":true,"url":"\/products\/peacock-open-screen-multicolor-pearl-half-moon-bell-earrings?variant=1a2b529f-4723-4c39-a362-b2f906a6d5a8","available_quantity":999999999,"options":[{"name":"color","value":"Ancient-Gold + Color"}],"off_ratio":39,"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.