As Zachary Levi says in this Instagram post, Shazam! actually shot inside a toy store, and I imagine that the toys were carefully curated for the scene.
This gesture also just feels especially appropriate with Shazam!, given that the hero of the story is actually a kid.
It goes to show how cool Zachary Levi is, after a production that had leaked set photos result in an uproar over his fitness and the Shazam suit– two issues that he has since put to bed.
The toys will all be in the background, but the interesting wrinkle this video raises is do Batman, Cyborg and the Flash toys exist in Shazam!? Or more likely, I’m just being nitpicky and the DC toys were shown for some brand awareness, and don’t actually break the fourth wall in the movie.