Skip to content

Magento 2 Auto Related Products GraphQL is a part of Blog extension that adds GraphQL features, this supports PWA Studio.

License

Notifications You must be signed in to change notification settings

mageplaza/magento-2-auto-related-products-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 Auto Related Products GraphQL/PWA

Magento 2 Auto Related Products GraphQL is a part of Mageplaza Auto Related Products extension that adds GraphQL features, this supports PWA Studio.

Mageplaza Auto Related Products for Magento 2 is an effective solution for displaying and introducing to customers products related to what they are viewing in the store.

This extension is especially helpful for cross-selling and up-selling. It runs based on a set of rules functioning as conditions and actions and can be configured easily from the admin backend. Through this set of rules, the store admin can show different types of products as recommendations for customers. Accordingly, the products that match the rules will be displayed in a certain block. The auto-related product block is customizable as the store admin can set the priorities to determine which products will be displayed first among unlimited products recommended.

Also, Magento 2 Auto Related Products supports unlimited product blocks that provide you a wide variety of ways to showcase your products to customers. Some common auto-related product blocks include Related products, Upsell products, Cross-sell products, New products, Featured products, Bestsellers, or Daily deals.

You can use all these kinds of product blocks, but there will always be something that generates better results. If you do not keep track of each method and compare the results, it’ll be difficult to know the best one you can focus on instead of wasting time and efforts on those that are out of your customers’ concerns. Therefore, Magento 2 Auto Related Products provides you with an insightful report which lets you know the most critical related block statistics, including impression, clicks, and CTR (click through rate), and supports A/B testing.

If you ever worry about the page loading speed that significantly impacts your store’s performance and the customer experience, Magento 2 Auto Related Products will solve this problem right away. It uses the Ajax loading technique that loads the related products only instead of loading the whole page. This will quicken your website’s loading speed incredibly.

1. How to install

Run the following command in Magento 2 root folder:

composer require mageplaza/module-automatic-related-products-graphql
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Magento 2 Auto Related Products GraphQL/PWA allows admins to get the rule’s information through GraphQL.

To start working with Automatic Related Product GraphQL in Magento, you need to:

  • Use Magento 2.3.x or higher, Return your site to developer mode
  • Refer to our supported GraphQL requests here

arp

Note: Magento 2 Auto Related Products GraphQL requires installing Mageplaza Auto Related Products in your Magento installation.

2. How to use

To perform GraphQL queries in Magento, please do the following requirements:

  • Use Magento 2.3.x or higher. Set your site to developer mode.
  • Set GraphQl endpoints as http://<magento2-server>/graphql in url box, click Set endpoint. (e.g. http://dev.site.com/graphql)
  • To view the queries that the Mageplaza Auto Related Products GraphQL extension supports, you can look in Docs > Query in the right corner.

3. Devdocs

Click on Run in Postman to add these collections to your workspace quickly.

Magento 2 Auto Related Products graphql pwa

4. Contribute to this moduel

Feel free to Fork and contribute to this module. You can also create a pull request, so we will merge your changes in main branch.

5. Get Support

  • Feel free to contact us if you have any questions.
  • If you find this project helpful, please give us a Star star