How does it work?
Product relations can be either one-way or two-way relationship between products, that is linked by a certain relation type. A product can have multiple relations to other products, and it can be used within different contexts, based on relation type.
Two-way relationship would be displaying matching shirts for dress pants and vice-versa, showing the same dress pants when you are looking at the shirts.
One-way relationship example would be displaying matching accessories next to a phone, but other way around it may not make much sense.
How to create a product relation type?
Before you start relating products one to another, we need to create a product relation type. The scenario we will be looking at relating is “similar products”. In order to create a product type you need to go to settings → catalog → product relations section.
When you create a product relation type, you need to name it accordingly, so you know what use case it is for. In this scenario we will call it ‘similar products’.
How to work with product relations?
Now let’s use the product relation type that has been just created. To do this we have to go to a product that we want to connect with other products.