Did they conveniently forget to say that Apple will give you a further refund in you return the replaced part? Ah, yes, they did. In the case of the battery for iPhone 13 mini described in the article, that's an additional refund of $24.15.
Since I've never heard of anyone getting back the broken part when getting an in-store repair, it'd be reasonable to compare at the $44.85 price, wouldn't it?