Being undercut isn't a problem, it's what's necessary for a thriving economy. What is a problem, though, are the people who massively overprice common commodities thinking they're some sort of genius, and flooding markets with it. If you put an item that can be bought from an npc on the market place for 100x+ the value the npc sells it for, just stop. Seriously.