Light, and why dairy containers are opaque
Updated
On this page7
What light does to it
It drives oxidation reactions that produce a stale, cardboard or metallic note, and in dairy those develop in days under retail lighting rather than over months. It also degrades some vitamins. A clear container in a lit cabinet is actively working against your product.
Which is why the category looks the way it does
The opaque carton and the white bottle are not a styling convention; they are the answer to this problem, arrived at long ago. On our own shelf 64 of the 165 qualifying containers are light protective, so the choice is genuinely available rather than theoretical.
The trade-off is that nobody can see the product
Which matters for a product whose appeal is partly visual, such as a layered or fruit-on-the-bottom style. The usual compromise is an opaque container with a window or a clear one with a sleeve, and both are real options rather than defeats.
Where it sits in the shop is part of the decision
A product in a closed dark cabinet is in different conditions from one in an open lit chiller. You cannot control which, so the container has to assume the worse case if the date is going to hold.
This is the opposite of the oils answer
There the argument for a dark bottle was shelf life over a year. Here it is flavor over a week, and the mechanism is the same reaction working much faster in a different matrix. Two properties, one chemistry, two different reasons to keep light out.
Test it rather than assuming
Put the same product in a clear and an opaque container, leave both under the lighting a retailer actually uses, and taste them side by side after a few days. The difference is usually larger than people expect, and having tasted it yourself settles the container argument faster than any amount of reasoning.