Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mageplaza/magento-2-share-cart-graphql

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.
https://github.com/mageplaza/magento-2-share-cart-graphql

graphql magento magento-installation pwa share-cart

Last synced: about 1 month ago
JSON representation

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.

Awesome Lists containing this project

README

        

# Magento 2 Share Cart GraphQL

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](https://www.mageplaza.com/magento-2-share-cart/) 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](https://www.mageplaza.com/magento-2-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](https://documenter.getpostman.com/view/10589000/SzRxXrGB?version=latest).

## 3. Devdocs

- [Magento 2 Share Cart API & examples](https://documenter.getpostman.com/view/10589000/SzRxXrGA?version=latest)
- [Magento 2 Share Cart GraphQL & examples](https://documenter.getpostman.com/view/10589000/SzRxXrGB?version=latest)

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

![Magento 2 blog graphql pwa](https://i.imgur.com/lhsXlUR.gif)

## 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](https://i.imgur.com/S8e0ctO.png)