This happened to my 2000 Beetle years ago after I had gotten it, I recall the drive linkage having something to do with it. It was like one day it was driving fine the next it wasn't shifting and stuck in one gear. I don't remember it being in the shop very long or that it cost a lot to fix.
Good Luck
Good Luck