Parents would accompany their toddlers on a walk around the neighborhood.
My daughter never ate the candy that she collected. Well, maybe a piece or two, but of course she preferred the good stuff we served at home, and didn't miss those stale little candy bar bites.
Now it's a competition among adults to see how much loot they can get for their kids by busing them around to different neighborhoods for hours. And it's all about stale, adulterated store-bought candy.