From saleshops to department stores to big-box malls: stores have always been the front line of the retail business.