I'm happy that worked out for you, but the whole cryptography signature of Apple batteries that throttle your phone if you get the wrong one is VERY different from "just pop out the back and get your new battery in".
I feel like the price Apple charges for batteries is very reasonable. I kept my phone going for 4.5 years thanks to a battery replacement 2 years in. They’re basically doing it at cost, considering parts and labour.