Well, few tourists buy anything, especially tourist junk from online stores. In addition to that, hard for them to get the same feeling as wandering in tourist market alleys from browsing lazada. Staying in room watching TV or browsing aliexpress would probably make them asking why did I come here anyway so they go out.
Comparable to question of whether agogo's are still relevant. Residents I believe is fairly small percentage of customers there just like in tourist markets, and no matter who the customer is, they go there for the experience, not really because of the product
In both cases (tourist markets and agogos) you can order the actual product or service online at much lower price. Just that the experience of shopping is very different.
Residents rarely go to either as they had enough of the experience. They just want the product or service at good price delivered to their home.