The Ancient Greeks developed the idea of the agora as a place for shopping. The Romans copied it, complete with the shops and colonnades around the edges. In many cases they fitted the agora into the forum, making a shopping and business centre.
The agora made sense because these civilisations were very developed and had lots of trade across their empires. As a result, there were many different kinds of goods to buy.