I've set up an automatic related rule based on a custom attribute, but nothing is displayed on the front-end. What might be the problem here?

I've set up an automatic related rule based on a custom attribute, but nothing is displayed on the front-end. What might be the problem here?

There are several reasons why the related block might be missing from the front-end:
  1. If a custom attribute you've created previously has a limited Store View scope, try changing it to Global at Stores → Product Attributes → Edit Attribute → Properties → Advanced Attribute Properties fieldset: 



  2. Make sure that the conditions set in the related product rule do not contradict each other;
  3. Run reindex using the below command:

bin/magento indexer:reindex

In case the problem persists anyway, feel free to contact our support team, we’ll be glad to help you with this issue.