コンビニによって帰ります - what does the "よって帰ります" mean in this sentence?


My Sensei has said it means "popping in" to the shop. But I'm stuck on the
"よって" part in particular. What verb is this? Is it an adverb instead?

Sorry if this is a dumb question, but it's left me a little confused...

