I\'m trying to indicate multiple related products on a product page using schema.org microdata. But the child products are orphaned because they are not contained in the par
You don’t use itemref correctly.
You’d have to specify itemref on the main product instead of the related products:
itemref
Product Product 1 Product 2