Questions & Answers about В магазине мы купили манго и киви для завтрака.
Because в магазине means in/at the store as a location, and after в when you are talking about location, Russian usually uses the prepositional case.
- магазин = store
- в магазине = in the store / at the store
Compare:
- в магазин = to the store (direction, motion)
- в магазине = in the store (location)
So in this sentence, the buying happened there, so в магазине is correct.
It is the prepositional case.
The noun магазин changes like this:
- nominative: магазин
- prepositional: в магазине
This is a very common pattern for masculine nouns after в or на when they describe location.