He's not ready yet to poo in a toilet or potty chair.
Pooping... in a toilet/potty chair is ALWAYS the 'last' stage... of potty training.
Some kids even get major stress or anxiety about "having to" go in a toilet. Or, they even see it as a part of themselves and get scared.
Its okay.
My son was like that.
Don't force it or scold for it.
Our daughter, even if we did not force it, got BAD constipation... because a child then "withholds" their poop... causing pain and constipation... and we then had to take her to a Pediatric Gastroenterologist... who said that everyday, he see's toddlers like this and it does not have to be that way. That a child, will poo, when they are ready. If not, they can/will get bad constipation.... they then 'withhold' going at all or do NOT go at-all... and then it causes health problems internally and BAD internal pain and pain upon exit... and then they get an emotional hang-up about it... and then withhold the poo even more because it hurts... and it is then a vicious cycle.
It took my daughter, 3 MONTHS just to remedy her constipation. Going poop simply stressed her out and caused anxiety... even though we did not force her. Nor can a child, poop on-command. Neither can an adult.
He is young.... he will get it when he is ready.
It also has to to with the maturity of their BIOLOGICAL signals/brain signals/bowel signals... and then to coordinate all of that... to then at-will.... go to the potty to poo.
all the best,
Susan