I doubt it's an issue with Walmart but you have completely ignored the problem of counterfeit/knock-off goods on Amazon and eBay. From painful experience, although fortunately not with anything too expensive, I can tell you that it's absolutely possible - likely, even, if you buy enough stuff - to get ripped off on Amazon in this way and that your strategy is not a reliable way to avoid being ripped off.
Walmart, Ebay and damn near every other ecommerce platform have things set up in a way that it's clear who's goods wound up on who's doorstep and therefore counterfeit stuff isn't very much of a problem. You can absolutely buy terrible Chinese knockoff products engineered to within an inch of their life (I do it all the time) but it's vanishingly rare (compared to Amazon) to get a genuine "I paid for X and got inferior knockoff Y" situation on any other eCommerce platform.