You'll find at least one branch of each of those shops (with the possible exception of a couple of the warehouse-style hardware stores) very close to a tram stop. Believe me, the tram network in Basel is a) essential to life (unless you have a car), b) very convenient, c) very easy to navigate, and d) very good value. (Get an annual pass which, amusingly and non-PCly for an Aussie, is called an Abo, for maximum savings.)
Don't worry, you'll get the hang of trams in Basel after one day, max.
Tram network map (the coloured lines are tram routes, grey ones are bus lines). The centre of town is around Marktplatz, approximately, which, as the name suggests (states, actually!), is the main market place.
Coming from Perth, you may need help identifying a tram (or any form of functioning public transport, for that matter). If you see one of these bearing down upon you, it is prudent to change your location smartly, as trams give way only to vehicles larger and heavier than themselves, viz. 747s and ocean liners. Here are a couple of Basel trams: