You can import the related products, categories, and tags using the default WooCommerce importer with the help of a CSV file. Specify comma-separated multiple IDs in the corresponding meta columns.
The sample CSV columns for the related categories, products, and tags are as shown below:
|Meta: _crp_related_product_cats||Meta: _crp_related_ids||Meta: _crp_related_product_tags|
|106, 108||101, 102||115, 120|
Please add the following code snippet into the functions.php file of the active child theme to import related products on the basis of ID.
Alternatively, if you need to import related products on the basis of SKU, refer here.