Back to Top

Save and Share Cart for Magento 2

Updated 14 August 2024

Magento 2 Save and Share Cart Extension: The save and share cart feature in this module helps the admin to advance the store and increase sales.

The cart products can also be saved and shared with friends and family.

To control the cart and checkout, shoppers can pick and reserve favourite products in the shopping cart, as well as share them with others.

Check the overview of the plugin in the video below –

Features

  • The admin can enable/disable the module.
  • The Customer can save a shopping cart.
  • The Customer can share their own shopping cart via mail.
  • Guest customer can only able to use the share cart feature.
  • The customer can see the saved shopping cart list.
  • The customer can delete saved shopping cart.
  • The extension supports the Hyva theme.
  • GraphQL is implemented for the extension.
  • The admin can create shortened URLs for sharing on social media.

Installation

Firstly, the customers will get a zip folder and they have to extract the contents of this zip folder on their system. Moreover, the extracted folder has an src folder, in the src folder, you will find the app folder.

Searching for an experienced
Magento 2 Company ?
Find out More

Then, you will have to transfer this app folder into the Magento 2 root directory on the server as depicted below.

Move-app-folder-2-1200x379-1

After the successful installation of the Save and Share Cart Module for Magento 2, you have to run the command in the Magento 2 root directory.

First command –

php bin/magento setup:upgrade

Second Command –

php bin/magento setup:di:compile

Third Command –

php bin/magento setup:static-content:deploy

Fourth Command –

php bin/magento indexer:reindex

Installation using composer:

If the module is purchased from the official Magento Marketplace then please follow the below process.

 Add the extension’s name and version to your composer.json file:

  1. Navigate to your Magento project directory and update your composer.json file.  
     
      composer require <composer name>:<version> 

 For example, to install the 5.0.0 version we need to run the following command:

composer require webkul/magento2_share_and_multicart:5.0.0

  1. Enter your authentication keys. Your public key is your username; your private key is your password.
  2. Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors.

Verify the extension

To verify that the extension installed properly, run the following command:

php bin/magento module:status Webkul_ShareAndMultiCart

By default, the extension is probably disabled:

Module is disabled

The extension name is in the format <VendorName>_<ComponentName> 

this is a different format from the Composer’s name. Use this format to enable the extension. If you are unsure of the extension name.

run:

php bin/magento module:status

and look for the extension under “List of disabled modules”.

Enable the extension

Some extensions won’t work properly unless you clear Magento-generated static view files first.

–clear-static-content

 option to clear static view files when you’re enabling an extension.

1.Enable the extension and clear static view files:

php bin/magento module:enable Webkul_ShareAndMultiCart –clear-static-content

2.Register the extension:

php bin/magento setup:upgrade

3.Recompile your Magento project: In Production mode, you may receive a message to “Please rerun Magento compile command”. Magento does not prompt you to run the compile command in Developer mode.

php bin/magento setup:di:compile

4.Verify that the extension is enabled:

php bin/magento module:status Webkul_ShareAndMultiCart

You should see output verifying that the extension is no longer disabled:

Module is enabled

5. Clean the cache:

php bin/magento cache:clean

6. Configure the extension in Admin as needed.

Cache Management

Then, after running the commands, you have to flush the cache from the Magento admin panel. So, navigate through->System->Cache management as shown below.

Flush-Cache-1-1200x527-1

Multilingual Support

Now, the admin will navigate to Stores->Configuration->General ->Locale Options. Here, you can select the locale as German. (Locale is the language into which the admin desires to translate his store content).

lang1-1200x773-1

Module Translation

If you want to translate the module language from English to German. Then, follow the following path in the unzipped Magento 2 web security folder. src/app/code/Webkul/SaveandShareCart/i18n.

After that, you will receive a CSV file with the name “en_US.csv”. Now, rename that CSV on your region code and language code “de_DE.csv”.

Next, translate all right-side content in your language. After editing the CSV, and saving it Next, you need to upload it where you have installed Magento 2 on the server.

webkul-magento2-paytabs-sadad-payment-multilingual-2-1200x471-1

Get Bitly Access Token

To get the Bitly access token, you need to first loging

Then, from the dashboard, navigate to Settings > Developer Settings > API.

Then enter the password and click on generate token to get the access token.

Module Configuration

After the successful installation of this module. To configure the module navigate to the Stores > Configuration > Share and Multi-Cart. 

configuration-settings

Enable: Admin can choose Yes or No to enable the feature.

Share Cart Email Template: Admin can choose template.

Share Cart Message : In this you have add the message that will be shared along with the saved cart URL on social media.

Use URL Shortner: If you choose “yes,” a shorter URL will be created. If you choose “no,” a longer URL will be generated and shared on social media.

Bitly Access Token: Enter the access token generated.

Customer End

Logged In Customer

The customer can add the product to the cart as per the below image:

Save and Share Cart for Magento 2

Customer can share the cart with anyone by clicking on the Share Cart by filling in the details as per the below image. 

cart

Enter Recipient Email: Enter the email to whom the customer wants to share the cart products.

Enter Email Subject: Customer can enter email subject.

Custom Message: Customer can enter a message if they want to mention anything in a message.

After this, the customer will click on Send Mail.

The reciever recieve the mail, which looks like the screenshot given below.

click-here

Now, the reciever will have to click on Click here to view cart products list.

Save Cart

Customer can save cart by clicking on the Save Cart. 

The customer can Save Cart and Share Cart directly by clicking on the tab at shopping cart page.

Save and Share Cart for Magento 2

A popup appears as Hold your cart 

Save and Share Cart for Magento 2

Enter Cart Title: Customer can enter the title to save the cart.

Customer can view the saved cart details in their account under the My Saved Cart section as per the below image.

my-saved-cartnew

Also if you want you can share the saved cart using social media as shown in below images:

Linkdin:

If URL shortner is enable:

shoterurl

If URL shortner is disable:

longurl

Twitter:

twitter-account

Facebook:

To share URL on Facebook first you need to login your Facebook account.

facebook

Whatsapp:

whatsapp

Also, the customer can visit the Save Cart directly by clicking on the icon as shown in the image given below-

Save and Share Cart for Magento 2

View Cart

Customer can view the saved cart by click on View Cart.

Save and Share Cart for Magento 2

Customer can click on Add to Cart for the checkout process. When a customer clicks on the Add to cart product will be added to the cart as it is. Customer can checkout accordingly.

Customer can directly delete the cart as well and customer can add items to the cart so the items added directly to the cart.

Note I- When the customer clicks on Add items to the cart then it will not show in the saved cart.

Guest User

Guest Users have only option of Share Cart, they can not save the cart.

Guest-user

That’s all for the Save and Share Cart for Magento 2. For any question/query, please raise a Ticket at our HelpDesk system. We are more than happy to assist you with your queries. You can also get back to us via mail [email protected].

Current Product Version - 5.0.5

Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Table of Content