Easy. A rubber diaper with a shop-vac hook up.
I was thinking the same idea. Secure hose connections in the orifices, with sensors that when activated gently vacuum away the body waste and capture it in a secure bag. Just like a shop-vac. The astronauts would need to be trained in how to fasten these connections to each other and do maintenance, which will make for some interesting inter-personal relationships.