The experiences of my family (in the USSR) were not as you describe. Things were cheap and necessities were available. Getting some things was more difficult for non-price reasons. That also seems to align with studies like what the CIA conducted about access to nutrition in the USSR.
Overall, that was a significant improvement over what came before, as well as over what came after.