How retail stores should adjust to e-commerce

Are traditional brick-and-mortar stores doomed with the growth of e-commerce? The advantages for customers are clear: online shops are always available and e-commerce businesses deliver purchases to your doorstep.