Advance Auto parts is closing 700 stores nationwide.

Mostly online for me, it's easy to compare prices, press a button and have it delivered to your door
I can understand that and it makes sense. But my thought is what's going to happen if the box stores close up? It's been on TV that some pharmacies are losing business to home delivery of people's medications. My question is how many jobs will be lost because of this. One major online company is already talking about using automation which too will eliminate some job's. So in the long run are we really saving money? Is convenience going to have a major impact on our overall economy? The economy is at least 80% consumer driven.