How to resolve items not added by the 'Category is same as' condition

Items are not added by the 'Category is same as' condition. How to resolve this?

The issue with items not being added under the 'Category is same as Current Product Categories' condition typically happens when products are sharing the same anchor category and the Ignore Anchor Categories in 'Same As' Condition setting is enabled in Stores > Configuration > Automatic Related Products > General. When this setting is active, it prevents products from being matched and displayed if they share the same anchor category:


To resolve this, set the Ignore Anchor Categories in 'Same As' Condition option to No and execute the command below from your Magento root folder in CLI:

php bin/magento indexer:reindex

Once reindex is finished, make sure to clear cache for the changes to become visible on the frontend. 

In case the issue persists anyway, feel free to contact our support team.