Many town centres are struggling as shoppers increasingly choose to visit retail parks or buy items online.