Magento 2 Share Cart GraphQL Extension

1.0.0 2020-03-09 01:52 UTC

This package is auto-updated.

Last update: 2024-02-06 17:51:30 UTC


Magento 2 Share Cart GraphQL is now a part of the Mageplaza Share Cart extension that adds GraphQL features; this supports PWA Studio. In other words, Mageplaza Share Cart for Magento 2 now enables getting and pushing data on the website with GraphQL.

Mageplaza Share cart for Magento 2 is an effective solution to let customers promote your products by sharing their carts with others.

The extension makes it easy for customers to share what they bought with their friends and family. The Share cart button will be displayed on the mini cart and shopping cart page. Customers can see the button right after adding the products to their cart and click on it to start sharing the cart.

In this way, you can create a better shopping experience for customers; while promoting your products via existing customers. When customers share their carts, those who see their posts and are interested in products in the cart will go to your store. There is a high chance that they will be your next customers.

Through a few simple steps, the extension will be integrated into your Magento backend and function well on your storefront. When customers click on the “Share Cart” button, customers can copy the shared link of their shopping carts and paste anywhere to share or send directly to their friends.

In case customers want to ensure the items in their carts are exactly what they have searched for, they will need a summary to quickly review their carts. With Magento 2 Share Cart, you can display a “Text” button along with a “Share Cart” button to enable customers to view their cart summary with ease. The content behind this Text button summarizes the cart’s information with product name, price, quantity, and cart total.

The extension also enables customers to download their shopping cart in a PDF file. The PDF is displayed along with the Share cart, Text, and Update shopping cart button. This PDF file provides more details about the carts and products, including the store’s information, purchasing date, and purchasing summary.

1. How to install

Run the following command in Magento 2 root folder:

composer require mageplaza/module-share-cart-graphql
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Note: Magento 2 Share Cart GraphQL requires installing Mageplaza Share Cart in your Magento installation.

2. How to use

Mageplaza Share Cart extension supports store admins to get share cart information via GraphQL.

To start working with Share Cart GraphQL in Magento, you need to:

  • Use Magento 2.3.x. Return your site to developer mode.
  • Supported GraphQL requests can be veiwed here.

3. Devdocs

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

Magento 2 blog graphql pwa

4. Contribute to this module

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

5. Get support

  • Feel free to contact us if your have any questions. Our dedicated support team will try best to figure out your problems and resolve all in a quick and efficicent manner.
  • If you find this helpful, please give us a Star star