I've got this far in the CatalogController.cs:
else
{
model.OldPrice = null;
model.Price = _priceFormatter.FormatPrice(finalPrice);
if (productVariant.AppliedDiscounts.Count() > 0)
{
model.DiscountName = "20% Off";
// The above line is only for testing but will only show for products with a variant that has a discount applied.
// Need to replace the static text with the discount name or value
}
}