For me I'd do it at the store because it's the only way to make sure you get a good battery. Most cheap batteries are crap (or at least you won't know if it's crap until it's too late).
If it was possible to get a battery that was 100% known to be original, and I could save a few $ by taking it to a corner shop to have the work done, I'd definitely do that for a phone out of warranty. But in my experience this just isn't possible (which is perhaps a better complaint to direct towards apple than the battery hatch complaint: I want to be able to buy original parts in any shop anywhere).
DPU hasn't been updated for compatibility with iOS 12+, but another tweak "System Info" can show some of the same info: https://old.reddit.com/r/jailbreak/comments/8ecxdm/update_sy...
Now I can use the phone for another 1-2 years which is great. I love the form factor as well and right now Apple doesn’t have anything comparable, but I hope they’ll make a small phone again.
Also, the unofficial replacement is not that much cheaper, you get a no-name Chinese battery (which is often worse than the original and more dangerous) and it might break things like FaceID/TouchID because the security chip will be reset and the non-official repair shops don’t have any means to reprogram it (as far as I know).
If the aftermarket battery is fine, you only gain a little. If the aftermarket battery disappoints, you lose big. So it's cheap insurance.