As a teacher with a feckless year 9 ds (& he attends the school where I teach so that's fun for us both...) my experience is:
The student goes to see the teacher. It's their responsibility, not the parent's. Detention will be attended unless the student resolved the problem by catching up the work & apologising appropriately for embuggerance caused to the teacher by late submission.
If this doesn't happen, the detention is to be attended & both student & parent can jolly well suck up resultant inconvenience.
If they can't, having had every opportunity to just damn well hand in the work late, it escalates to internal suspension, which is more of a punishment than the initial detention.
No one is actually being obliged to walk home alone past the graveyard at dusk Thriller stylee!
Teachers don't like detentions either. Unless someone is manifestly taking the piss, we'd much rather the kid just said sorry for mucking us about & got the work done.
We also have homes to go to.
If a detention is unworkable because of travel home issues, then as a parent your options are to ask what your child needs to do to be up to date & avoid detention OR to accept that the behaviour policy for missed detention kicks in. Nothing awful will happen to your kid as a result. They'll do an internal suspension instead, that's all.