Read Saint Andrews Reviews
The cost of living in St Andrews is really expensive, there are not a lot of transports except buses for Dundee and towns around, but not a lot of them (1 bus per hour). For shopping, you will find EVERYTHING there, there are all sorts of shops for everything you'll need. Same for eating out, but the Toastie Shack is definitely the place to eat!
Buses here bring you everywhere, and buses to Dundee last round ~30mins. St. Andrews is a pretty compact town. There are no shopping malls, but there's a main shopping street where pretty much all functional shops you need you can find in - Ryman Stationary, Superdrug & Boots, H&M, Subway. printing shops, electronics and mobile phone accessories, etc. There are a couple of micellaneous shops too selling crystals, candles, gifts and postcards.