Heh, what country are you from? What time period are you talking about? Is it your lived experience or the second-hand memory?
I lived in Bulgaria & Czechoslovakia in 70's and 80's, and my memories are quite different than yours.
You can buy fresh vegetables and fruits (in-season, local, not shipped from Peru) & dairy products & bread & eggs as much as you can afford (and the prices were affordable, stable for a dozen years). Bananas, oranges & other exotic stuff was not available, maybe around Christmas if you had the right information and waited in a long queue. Slightly better but nor really good with better cuts of meat.
I never ever saw empty shelves in shops, not in Bulgaria, not in Czechoslovakia. I am pretty sure of that, because in 1982+- we were on a 'friendly exchange trip' to Kiev (elementary school organized, with a school in Kiev reciprocally coming to us a couple months later) and saw those there, and still remember the shock.
Jeans and such stuff was for kids with connections or family in the west. Few people had cars, mostly skoda/lada/moskvich/wartburg/trabant/polski fiat. Small, very basic shit. Public transport worked, to every little village. Nothing fancy, but functional. You could live without car, not like in USA.
I have never met a soviet soldier in my life at that time, those poor souls were closed-off at military bases and were forbidden getting out (maybe to prevent them seeing than life in Czechoslovakia was so much better than in CCCP).
The education in schools was focused more on math/engineering/hard sciences, and kids of those times had better background in those than the kids growing today, although humanities are another thing. We did not sing the hymn, like they do in USA. Everyone knew those are lies. But a photo of the current leader of the communist party was hanging there. Communist indoctrination was everywhere, you learnt to live with it and filter it out. Unlike the west, where most people still believe the official narratives.
I could see Austria behind the iron fence from the window of my bedroom, seeing the lights of the cars driving there, but thinking I will never see those places in my life.
One afternoon, I saw my younger brother (late elementary school at that time) walking across the field towards the fence, too curious and stupid. Suddenly, from a well-hidden bunker, a couple of guys with rifles and a german shepherd appeared, and escorted him out. No shooting at sigh, no beating, no record of 'dangerous anti-communistic element'.
My uncle, serving as a young conscript at Shumava forest, late 50's (he had no choice about that), on the border between Czechia and Western Germany, got knifed in back by somebody trying to flee to the West. Survived, 2cm from kidneys. Ended up living most of his life (since 1969) in USA.
My mother threw away her communist card, shouting, at the face of the local party committee, with the words 'to hell with such party, when I, a widow with two small kids, have to live in such apartment (small room + small kitchen, dark, a toilet and a kitchen sink with only cold water (no bathroom), small coal stove the only heating). She did not go to jail, eventually we got better apartment (central heating, real bathroom and toiled, hot water).
You know, those are real life anecdotes. Not the propaganda tropes endlessly replicated.
If you were politically active, anti-communist, you lost your engineering/science/arts/whatever fancy job and ended up e.g. as boiler operator of the local heating plant for municipal heating. 50's were wild with several highly-politicized processes ending up in capital punishment (so was McCarthyism in the USA at that time), but 70's and 80's were relatively tame.
In the next class, there was a son of a well-known dissident. Had no problems getting into high-quality high school (merit-based entry exams, mostly math), not sure how would the thing went with the university studies (math/engineering probably OK, law/philosophy probably not), but the fall of communism came.
There was widespread small-scale stealing from the state ('if you are not stealing from the state, you are stealing from the family'), although the real large-scale looting came after the fall of the communism.