As virus-wary shoppers opt for online purchases, retailers pay the price