Thanks for your query.Chronic constipation
with foul-smelling stool may be due to either, low fiber content in the child's diet; inadequate fluid intake; intestinal infection; or, thyroid problem (particularly if his mother had hypothyroidism
Firstly, get his stools tested for bacteria. If mother had/has thyroid problem, the child's Thyroid hormone estimation becomes mandatory.
A short course of anti-amebic drug; probiotics such as Lactobacilli; plenty of water daily; addition of fibers in diet, will certainly help the child improve completely.
Consult your doctor and apprise him of my opinion. I am certain that he will agree with me, order required tests, and- based on the reports- will prescribe suitable/modified treatment as advised.
If you find my response helpful and informative, do not forget an “excellent” (5-star rating) to my answer, to ENCOURAGE ALL doctors- engaged in social service- to render sound advice to the FREE queries.