Round trip flight Bangkok - Orlando through Shanghai PVG
I have a round trip flight from Bangkok to Orlando FL, with layovers in Shanghai PVG. The round trip flight from Bangkok to Shanghai was bought with one airline and the round trip flight Shanghai to Orlando was bought with a different airline. The airlines are not related so therefore I would need to re-check in at the airport in Shanghai for each connection. The layovers are less the 24hrs. Is this a problem for the 24hr-72hr or 144 hour visa-free transit? Specially since I'm returning through China.
(btw, I was not allowed to board the plane because I was told I was returning to China, but the people at the counter didn't really seem to know what the visa-free transit was in the first place).
Now would this still be the same if I book a flight with the same airline from Bangkok to Orlando flying through China?