Opencart Marketplace Seller Buyer Chat (Socket Based)

Opencart Marketplace Seller Buyer Chat (Socket Based)

Opencart Marketplace Seller Buyer Chat module establish a real-time chat between buyer and sellers. This is a socket based chat module due to which it is very fast and the message is received in real time. Sellers can chat with multiple customers in one time. Sellers and customers can see their chat history also, customers can email the chat transcription. Sellers have the option to block/unblock customers from chat. This module will help the customers in a significant manner and allow them to directly chat with the seller for their queries.

This module is an add-on of Opencart Marketplace. You need to first install Marketplace module to use Opencart Marketplace Seller Buyer Chat (Socket Based).

Features Of Opencart Marketplace Seller Buyer Chat

  • Socket based chat module due to which it works fast.
  • Template based using handlebar.js.
  • Sellers can chat with multiple customers in one time.
  • Sellers can block/unblock customers from chat.
  • Sellers can delete the conversation with customers.
  • Sellers can change their online status to busy or offline.
  • Sellers can use emojis in chat.
  • Customers can email their chat transcript.
  • Chat transcript is sent in PDF form.
  • Customers can check their complete chat history.
  • Customers can set their profile image for the chat.
  • Customers have the option to report the manager.
  • Admin has many options to configure the appearance of the chat window.
  • Admin can see all the conversations between sellers and customers.
  • Admin can delete any conversation.

Installation of Opencart Marketplace Seller Buyer Chat

Prerequisites –

1. Node should be installed.

2. If you are using Shared Server then you have to provide SSH login details with root access, so we can configure the module. For root access, ask your Host Provider.

3. PHP version should be 5.5.x.

4. Port that you are using, should be open for your IP Address.

5. The module will only work for LAMP server.

Note 1 : Before starting the server you have to write the port that you are using for chat module into the server.js file that is parallel to Opencart root directories.

Note 2 : If you are using cpanel then you can use either domain name or IP address but if using CloudFlare on the server then must use IP address as hostname don’t use the domain name.

Under the zip file, you will find 5 folders namely- admin, catalog, image, ocmod, system and files- Info, package.json, running.php and server.js. Now transfer the admin, catalog, image, system folder and all other files into the Opencart root folder without the ocmod folder as shown below in the screenshot.
chat1_1

 

Now Before installing the module and starting the server, open the server.js file in the Opencart root folder and manually type the port number into the server.js file that you will be using for the chat module.

After this you have to run some commands :

-> to install node run command from terminal:
$ npm install

-> to install socket.io run command from the terminal:
$ npm install socket.io

Once you have made all the changes then login to admin and go to Extensions> Extension installer and upload the XML file. The XML file can be found on the ocmod folder.

BT2

After uploading the XML file go to the Extensions > Modification and click on refresh button.
chat3

After that in Admin panel go to System -> Users -> Usergroup and edit ‘Administrator’ and select all for both Access and Modify Permission then save it.

CO_installer5

After that under Extension > Module, install the Marketplace buyer-seller chat like this way.
chat5

After installation of the module go to Design->Layouts and select ‘Product’ to edit. After that set ‘Webkul Seller Buyer Chat’ on content bottom position.

chat24

Module Translation

As this Opencart Marketplace Seller Buyer Chat (Socket Based) module supports multiple languages so this section will describe how to make the module work in different languages. Please check this link for language translation

Configuration Of Opencart Marketplace Seller Buyer Chat

Admin will configure the module after installation by navigating to Extensions->Modules. Here admin can click on the edit button of the seller-buyer chat module to configure it. Here admin can server settings, general settings, the appearance of the chat window and the default messages.
Seller-Buyer-Chat_1

Now admin can configure the general settings for the Opencart Seller BuyerChat Module. Here admin can configure notification and message settings.

chat7_2

After this seller can configure the appearance of the chat window like this.

chat8_1

Default Message: The message which is entered here is visible to the customer after registering for the chat.

Default Timeline Status: This is visible on the timeline of the chatbox like this.

Chat Window Background: Admin can select chat window background as image or color. If admin selects the image option then the option to upload an image is available. If admin selects color background then admin receives the option to select the color.

Show Avatar: If this option is checked then customers can see the profile image of sellers and sellers can see the profile image of customers in the chat.

Avatar: Admin can upload a default avatar image. If seller/customer has not uploaded any image then this image will work as their avatar image. The avatar image will only show if ‘Show Avatar’ is checked.

After appearance settings admin can set default messages for the customers.

chat9

How customers can chat with sellers

After configuration of the module, a customer can find the option to chat with the seller on the product page. Here customer needs to login or register to start a chat.
chat10

After logging in the customer can chat with the sellers. A customer can see whether the seller is online or not. A customer can also change their online status.

chat11

To see the chat history customers can click on the clock icon and select the time period for which they want to see the messages.

chat24

Customers can change their availability status like this.

chat25

Customers can see the notification whenever a seller sends the message.

chat12

Customers can email the chat transcript to their email ID, have the option to report to admin, change profile image and end chat.

chat13

After clicking o the ’email transcript’ the chat transcript is sent to the customer’s email and the customer receives a confirmation message like this.

chat26_1

After clicking on the ‘Report Manager’ option a new page will open in the chat box. Here the customer can write and send the message. This message is sent to admin’s email address.

chat27

After clicking on profile settings the customer will receive a pop-up. From here the customer can remove the profile image or upload a new image. chat28

After clicking on the ‘End Chat’ option the chat ends. After that, a customer can start the chat again like this.

chat29

Customers also have the option to send emojis to sellers from the chatbox.

chat14

If a customer is blocked by seller then the following message appears in the chat window.

chat15

Seller Buyer CHAT Management by Seller

After logging in the account, a seller can see the chat icon. After clicking on it the seller can see the customers list and have the option to block and delete the conversation.

chat16

After clicking on the button, the seller can see the list of the customers. From here a seller can open the conversation and chat with the customer. A seller can also block the customer and see the block list.
chat17

After clicking on the block button, a window will pop up. From here the seller can send the message to the customer stating the reason of block. chat19

After clicking on the block list, a seller can see all the blocked customers and from there seller can unblock the customers.

chat18

A seller can chat with the customers who sent them messages.

chat20

Admin End Of Seller Buyer chat

Admin has the option to see and delete the conversation between buyer and seller. Admin can see the conversation from Marketplace-> Chat History. From here admin can see the chat list of all the seller’s chat. If admin will delete the chat from here then all the chat conversation related to the seller will get deleted. After clicking on view button admin can view chat of each customer with the seller.

chat21_1

After clicking on view button admin can see the list of conversations of the seller and customers. From here admin can delete and view the conversation of the particular customer with the seller.

chat22

Admin can click on view button to see the complete conversation of the buyer and seller. From here admin can also download the conversation.

chat23

That’s all for the Opencart Marketplace Seller Buyer Chat (Socket Based) module, still have any issue feel free to add a ticket and let us know your views to make the module better https://webkul.uvdesk.com/.