Questions & Answers about Po cestě domů se zastavím v pekárně pro rohlík a chléb.
Po here means something like along / on in the expression po cestě = on the way.
After po in this meaning, Czech uses the locative case.
The noun cesta becomes cestě in the locative singular.
- cesta = road, way, journey
- po cestě = on the way
This is a very common expression. In this sentence, Po cestě domů means on the way home.
Because domů expresses motion toward home, while doma means at home.
- jdu domů = I’m going home
- jsem doma = I’m at home
So in Po cestě domů, the idea is movement in the direction of home, which is why domů is correct.