Magento 2 WhatsApp Share Cart

Magento 2 WhatsApp Share Cart allows customers to share their shopping cart with their WhatsApp contacts.

 

Table of Content

  1. Extension Installation Guide
  2. Configuration
  3. UTM Tracking Settings
  4. Bitly Short URL Settings
  5. WhatsApp Share Cart in Frontend

 

  1. Extension Installation
  • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
  • Login to your SSH and run below commands step by step:
    • php bin/magento setup:upgrade
    • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
    • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy -f
  • php bin/magento cache:flushThat’s it.

 

  1. Configuration
    For configuring the extension, log in to Magento 2, move to Stores > Configuration > WhatsApp Share Cart where you can find various settings to enable the extension.
  • WhatsApp Share Cart: Enable or disable the WhatsApp Share Cart extension from here.
  • Enable WhatsApp Share Cart: Select option to enable the extension in desktop, mobile or both.
  • Enable WhatsApp Share Cart For: Select customer groups to enable the extension for.
  • Custom Cart Sharing Message: Set default sharing message to send while sharing shopping cart and related details.


  

 

  1. UTM Tracking Settings
    UTM tracking helps analysis the visits and conversions in Google Analytics as it concates tracking code to the shared URL. Here you can configure the UTM Tracking Settings as shown below:
  • UTM Tracking: Enable UTM Tracking for WhatsApp Share Cart from here.
  • Campaign Source: Set the source for tracking analysis in Analytics.
  • Campaign Medium: Set the medium for tracking analysis in Analytics.
  • Campaign Name: Set the name for tracking analysis in Analytics.


  

 

  1. Bitly Short URL Settings
    The extension facilitates to register and use short URLs while sharing shopping cart URL in WhatsApp. Take a look of settings to start using Bitly Short URL for the extension:
  • Bitly Short URL: Enable Bitly URL Shortener to share short product URLs.
  • Login Name: Enter login name provided by Bitly while registration.
  • API Key: Enter your Bitly URL Shortener API key here to enable short URL while sharing cart in WhatsApp.


  

 

  1. WhatsApp Share Cart in Frontend
    Once you have configured the extension successfully, whenever users add products to cart and go to the cart page, WhatsApp Share Cart button is seen enabled on the shopping cart page. On click of the button, users can share cart details along with URL to their WhatsApp contacts, groups and broadcast lists.


  

  • Contacts Selection in WhatsApp
    On click of WhatsApp Share Cart button, users get redirected to web or app version of WhatsApp based on the device i.e desktop or mobile they are sharing from. On the app page, they are asked to select contacts, groups or broadcast lists to which they want to share shopping cart details.


  

 

  • Sharing in WhatsApp
    Immediately after contacts selection, the message is sent with details like default sharing message, product details, and cart URL. When someone clicks on the URL, they get the shopping cart loaded with products added to cart.


  

 

  • UTM Tracking Enabled in Shared URL