The chemical reactions and pathways involving pectin, a polymer containing a backbone of alpha-1,4-linked D-galacturonic acid residues, as part of the organization and biogenesis of the cell wall.
pectin metabolism during cell wall biogenesis