The shopkeeper, the king and the poor man get lost in the woods one after the other. A princess transformed into a hedgehog leads out all three of them. In the end he wins one princess' hand and they celebrate their wedding.