If it refers to processed food, the shelf life is generally less than one hour. This shop stipulates that if it is not sold for half an hour, it must be disposed of in time.
If eaten within four hours after purchase, the taste is still good and can be preserved for about one day. If the taste changes after a long time, you can eat it, but it will be much worse.