It’s slightly different for groceries. I am not poor but I also don’t want to buy perishables in bulk. I can choose to buy one week’s worth of lettuce to be eaten in a week, but by the seventh day the lettuce has visibly degraded. I want fresher produce, so I am willing to buy smaller amounts every two days.
When they say "groceries" they're not just referring to fresh produce but also to things like cereal, dried goods, canned goods, or other foods you might find at a dollar store. Though some of these stores like Dollar General do also stock fresh foods like eggs, meat, dairy, and produce.