If you’re registered for the segment-based Bonus TPs, you won’t get them for the flight(s) you don’t take.
BAH regular TPs are awarded based on the total price of the package, divided by number of passengers. I’ll have to defer to someone else on how that aspect would be calculated.