You can still grow potatoes even if you only have shallow beds by using the 'no dig' method. I used this last year, the beds are only 6" deep (Link a bord) with thick cardboard underneath to suppress weeds. Fabulous crop, and so easy to plant and harvest.
If you're not familiar with the method, here's a link for you
How to grow potatoes without digging
Good luck