Sounds like my G-Grandfather’s general store. Wooden cabinetry with wood and glass shelves, Products in glass and metal containers. Of course that was in the 20’s.
Glass is a major problem. It’s heavy. It breaks.
Sealing it isn’t as easy either.
Then you can get glass particulate matter in your food.
A very small crack in a seam may not show up, but your food could be contaminated due to it.
In automated systems, I’m not sure it works as well.
Its cost is probably a lot higher as well.