I had a part time job in our local Co-Op as a baker. Bread is baked early (6am), and all loaves are frozen
pop into the ovens, bake, package/label, and take to the shelves.
The breads are only baked in the morning, and we had a list of what to bake .... this changed daily, as the night shift done aq stock take of what was left and filled in a sheet. (So if you baked 10 loaves of one type of bread, and 2 were not sold, the next day you only baked
.... if you baked 10 loaves of one type of bread, and they all sold, you baked 12 loaves the next day etc etc
the bread was only on the shelves for the day .... what never sold is binned...
I also had a part time job at an Uppercrust outlet (the baguette shop that is found on many train stations) .... baguettes that are freshly made are only displayed for 4 hours .... if they don't sell within the 4 hours, they are binned