Since coming back to playing the game, I was able to use the village shop to buy items needed to progress. I had then decided that I needed mods to make the game more playable for me. Somehow after installing mods the village shop stopped working, as shown in the image below, where there are no items to buy:
https://imgur.com/rvQVh2a
I have done everything I can think of, removing all of the mods, uninstalling and reinstalling, and creating a new save to see whether it was a save problem. But none of those things worked and I don't know what else could be the problem.