Town bike as in reliable robust bike for hauling shopping and ‘stuff’ around in all weathers as a primary mode of transport or town bike as in a bike to ride from place A to place B as quickly as possible with minimal luggage?
The two are very different, and although there is lots of room for overlap have a proper think about what you actually need the bike to do.
If it’s mostly cross and inter-town commuting then you’ll be wanting something nice and light and nippy, but still reliable, and you can get buy strapping a bag onto a road bike for occasional stuff, but if you’re meaning a proper town bike to do a weekly shop on, haul you and your stuff around and whatnot then you want something very reliable, cheap to run, full guards, racks at both ends and nice stable relaxed handling.