The term mercery later extended to goods made of these and the sellers of those goods.
The term mercer for cloth merchants (from French mercier, "notions dealer") is now largely obsolete. Mercers were formerly merchants or traders who dealt in cloth, typically fine cloth that was not produced locally. Inventories of mercers in small towns, however, suggest that many were shopkeepers who dealt in various dry commodities other than cloth. Related occupations include haberdasher, draper and cloth merchant, while clothier historically referred to someone who manufactured cloth, often under the domestic system.
The dictionary definition of mercery at Wiktionary The dictionary definition of mercer at Wiktionary