translation: how do you get to the grocery store
from your house?
Como te llamas would be the answer because your asking him whats his name directly, so therefore como te llamas would be correct.
Comprar is the verb. In the yo form it’s compro tu form is: Compras