Unexpected changes in the mercury can keep shoppers away — or send them rushing to stores.