Retailers have seen higher demand, with online sales booming, but also higher costs related to the pandemic.