Having replaced the battery and the bottom module, I can’t really say.
Even if your cable and wall charger work with other phones, have you tried using different chargers and other wall chargers on your phone? To definitely rule out that this is not the problem.
While you are investigating the problem, it occurs to me that an externalcharger might be of interest or useful:
Best of luck.