Add discounted price or 'save $' in add to cart

How do I add it in the code?

Like this