Retailers struggle to compete with the convenience of online shopping