How to get the total stock of more than one product

That’s not possible because nothing says they have the same unit of measure so they can not be summed and so there are no such view.

I guess for you they are the components of a BoM and you want to know how much production you can run. For now we do not have such view but it sounds similar to part of Product Kit Support.