Hi Nick,
Thank you for contacting us and I'll be happy to assist.
As explained in our documentation ( ref: https://toolset.com/documentation/post-relationships/ ), post relationships can be set only between two different post types.
The WooCommerce products are not hierarchal by default, but you can use custom fields for setting up parent/child relationships:
1. You'll add three "Select" type custom fields for the product posts:
( ref: https://toolset.com/documentation/user-guides/using-custom-fields/#how-to-add-custom-fields-to-content
a). Gender: Possible values to select from - "Male" or "Female".
b). Father: Leave the select options empty, as they can be generated dynamically.
c). Mother: Leave the select options empty, as they can be generated dynamically.
2. Next, you can use "wpt_field_options" filter to dynamically generate the select options for the "Father" and "Mother" fields, so that for the father field, all products with "Gender" set as "Male" and for mother all products with "Gender" set as "Female" are shown.
Following are some threads, showing examples of how to use "wpt_field_options" filter:
https://toolset.com/forums/topic/how-to-replace-a-cred-form-select-input-field-with-a-php-snippet/
https://toolset.com/forums/topic/populate-select-field-with-list-of-posts-in-a-custom-post-type-only-showing-5/
Note: this dynamically generated list will be available on the product edit screen in the admin area as well as on the Frontend CRED Form.
3. Once, each product will have the correct product ID stored in the custom field for the father and mother fields, you'll be able to show information from the connected products through either View or through custom code.
https://toolset.com/documentation/getting-started-with-toolset/create-and-display-custom-lists-of-content/
https://toolset.com/documentation/adding-custom-code/how-to-create-a-custom-shortcode/
I hope this helps and please let me know if you need any further assistance around these points.
regards,
Waqar