To be a merchant, all one really needs is some ranks in Profession (merchant), as well as in Appraise, Bluff, Diplomacy, Gather Information and Sense Motive. Skill Focus feats in those skills will help, as will feats such as Negotiator. No need for an actual class. Any will do, including Commoner.