Public health measures against Covid-19 have kept retail stores around the country closed for several months, leading to litigation.