The USB-C charging board is separately documented; battery-only and screen-and-battery assembly guides describe different parts jobs.
What to check before buying
Battery and display
iFixit distinguishes a stand-alone battery procedure from a screen-and-battery assembly. The latter can replace more than a cracked front panel.
Charging
USB-C port and charging board are covered together. That is a different repair from a weak battery even if both first appear as short runtime.