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:
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:
Make sure that the conditions set in the related product rule do not contradict each other;
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.
Related Articles
How can I display related products block on blog pages?
Automatic Related Products extension can be integrated with the Amasty Blog Pro module. In order to set the related products block on the blog page, follow the steps below. Step 1. Navigate to Amasty → Automatic Related Products → Related Product ...
Automatic Related Products API
1. Amasty\Mostviewed\Api\GroupRepositoryInterface - class for managing related product rules. POST /V1/amasty_mostviewed/rules", method="save" - create a rule; PUT /V1/amasty_mostviewed/rules/:groupId, method="save" - edit a rule; DELETE ...
We installed the module and activated it but it does not seem to return any related products on the product/category pages or in cart, why?
After installing the extension and configuring at least one related product rule, reindex is required. You may perform it manually by running the below command via CLI: bin/magento indexer:reindex Also, it’s highly recommended to set the indexers for ...
How products are sorted in the related block when the Source Type is set to “Bought Together”?
With Source Type set to Bought Together in the related rule, products will sorted based on their frequency of being purchased together, i.e. by the number of purchases. For instance, if customers buy product X alongside product Y more frequently than ...
I’ve set up a rule with the ‘same as’ condition, but it doesn’t seem to work.
While creating or editing a related product rule, it's possible to choose a Custom Position for the Related block. Once this option is selected, the module automatically generates a code which you can insert into a preferable layout in order to place ...