The story
From dark (“not open to the public”) + store. The modifier dark refers to the fact that a dark store is not open to the public and is so to speak an invisible part of the retailer’s operation, not to a presumed lack of light in the building.
Etymology from Wiktionary, CC BY-SA 4.0.