Each market upgrade gives +1 to tradeable goods, too. The trade temples function just like market upgrades do, then. The trade caravan line gives +2 for the first building, with a subsequent +1 for the next 2. The port line actually gives +1 in trade income for every upgrade, too.