X.C.
What finally worked for us, when our son was 3.5 and would pee on the potty, but not poop, was a sticker reward system JUST for pooping. Started with he had to earn two stickers that he put on a card and once they were both there he turned the card in and got a highly desired Cars movie matchbox car. The car of the moment was in site at all times (but he couldn't touch it), he knew that's what he was working for, he knew only poops got him the stickers, etc. He was not happy at first, and he still did go in his diaper at times, but it worked. After he earned the first car, we did the second one for three stickers. Then kept upping the amount until he had to do 4-5 to get a car, which is hard as they only poop 1-2 times a day! But he did it and that is what finally FINALLY worked for us! We had been trying since he was 2, so we were so ready! LOL
Good luck.