The Complementary Products block displays complementary products on your product pages, encouraging customers to discover and purchase related items.

In your Shopify admin, go to Online Store > Themes and click Edit theme. Then navigate to a product page.
In the Product section, click Add block and select Complementary Products.
Click Save to publish your changes.