The company’s online sales have been hit as shoppers return to in-store spending after the pandemic.