Share Cart allows customers to share their shopping carts with friends and family. It helps expand the supply of product information through a customer without much effort on your part. Promoting your products through customers is the best marketing campaign because you know, people usually trust the suggestions from their friends and relatives. With the help of this module, we believe you can surely increase your sales and profitability, bringing your products closer to consumers. All are included in Mageplaza Share Cart extension.
How to configure¶
From the Admin Panel, go to
Store > Settings > Configuration > Mageplaza Extensions > Share Cart > Configuration, choose
General Configuration section.
- Enable: Choose Yes to enable this module. If the module enables, all features will work as usual. If not, all options on the user interface and the module will not work.
- File Name: Fill the name for PDF file. The PDF file will display the order information of customers
- Add Timestamp suffix: Select Yes to display current time when uploading PDF documents.
1.2. Business Information¶
- Company Name: Enter your company name in the
- Address: Enter your company address.
- VAT Number: Enter your company’s VAT information.
- Phone: Enter your phone number
- Email: Enter the email address.
- Registered Number: Enter your company registration number.
- Warning Message: Fill in the warning message you want to show on PDF orders. Eg: All prices are correct at time of generation, prices may have been changed since.
After enabling the module, customers can use the
Share Cart button to send the URL to others sharing their shopping cart. After sharing, using the shared URL, it will automatically add the product to the shopping cart of the person whom the customer has sent.
- Show the Share Cart button on the Minicart page when adding to cart:
- Show the Share Cart button on the Shopping Cart page when using the URL to share
- Customers can choose
Update Shopping Cartto update again the information that you have edited
Textbutton to view the information of each product and the total price
- Choose PDF button to view the order information
Instructions for installing the PDF library¶
You need to delete the generated file and run the following command to install:
composer require mpdf / mpdf
Mageplaza’s Share Cart extension supports using the Rest API to share your shopping cart with everyone, via the Rest API to download and view order information.
Details can be viewed here.
Instructions for creating Integration tokens here.
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
To start working with Share Cart GraphQL in Magento, you need to:
- Use Magento 2.3.x. Return your site to developer mode
- Install chrome extension (currently does not support other browsers)
- Set GraphQL endpoint as
http://<magento2-3-server>/graphqlin url box, click Set endpoint. (e.g. http://develop.mageplaza.com/graphql/ce232/graphql)
Do the query in the left pane, then click the Run button or Ctrl + Enter to see the results in the right pane View the details here