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 Rules and create or edit an existing rule. Inside the 'Where to Display' Conditions tab, change the Block Position to Custom Position.
Step 2. Then, go to Amasty > Blog Pro > Posts and insert a widget via the PageBuilder HTML editor.
Step 3. Choose the Amasty Relates Products: Products Block by Rule ID type and specify the Product Rule ID.
As soon as these changes are applied and the caches are flushed, the block will be displayed on the Blog page.
Related Articles
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 ...
Automatic Related Products | GraphQL methods
Queries amMostviewedGroups -(uid: String!, position: String) description: get information about related product rules amMostviewedBundlePacks (uid: String) description: get information about bundle packs
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 → ...