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
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 ...
What Amasty extensions support GraphQL?
Amasty has introduced additional GraphQL packages for extensions that are GraphQL compatible. These packages are listed in the 'suggest' section of the composer.json file. As a result, they are not automatically installed with the main module. To ...
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 ...
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 ...
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 ...