In the late ’90s, Walmart had all the right ingredients to become the dominant online retailer. But then it made some critical mistakes. Back in the late ‘90s, when Walmart was a $100-billion-a-year retail behemoth and Amazon was still a fast-growing internet startup that sold books, Walmart had a golden opportunity to dominate e-commerce.