Thank you for your advice flecc, you're right it's not standard at the front at all, there's nowhere except the seatpost to attach it. It'll be a bit of a pain to remove the rack each time I wanted to take the battery off, but nevermind. Should've done a bit more research before buying the bike...