OpenCart Whatsapp Chat extension

Create your Whatsapp Chat extension
Screenshots
Why add WhatsApp chat to your OpenCart store
Shoppers can message you on WhatsApp straight from your storefront, and you answer from your own WhatsApp account, so questions get a reply in a channel people already use.
Show the chat on the pages you choose or to selected groups of customers, set start-chat triggers and write your own welcome message.
Keep the conversation going on WhatsApp even after shoppers leave your store.
Key features of OpenCart WhatsApp Chat
- Three chat positions – pick a floating bubble, an embed bubble or an embed chat window.
- Chat on chosen pages – show it on selected pages or for selected groups of customers.
- Start-chat triggers and welcome message – decide when the chat starts and write your own greeting.
- Bubble icon – choose one from a set of icons.
- Your own bubble text – enter the text visitors see on the bubble.
- Replies from your WhatsApp account – answer messages directly from the account you already use.
- Live preview – see every setting on the right in the editor, and the chat looks the same as on your OpenCart storefront.
Test all features in the free configurator.
Made for OpenCart
- Built-in HTML Content module – the code goes into the HTML Content module that comes with OpenCart 3.x and 4.x, so you don’t buy a module or install OCMOD.
- Layouts for whole page types – show one module on every product page with the Product layout or in all categories with Category, in Content Top, Content Bottom, Column Left or Column Right.
- Multi-store ready – in a multi-store setup the same code works in every store.
- Updates without reopening OpenCart – edits in the Elfsight editor update the chat on your storefront, so you don’t open the module or templates again.
How to add Live Chat to your OpenCart website
Set up the chat in the free Elfsight editor first, then click the Add to website for free button to get your installation code. For a chat on every page choose the floating layout in the editor; for a module on chosen pages choose static (embed) or floating.
Good to know: paste the code into the HTML Content module. Theme Editor steps differ between OpenCart 3.x and 4.x, so both are covered. The chat is visible on your storefront only – there is no preview in the module or in Theme Editor. After editing footer.twig, refresh the theme cache.
Method 1: Show the chat on chosen page types (OpenCart 3.x and 4.x)
- Go to Extensions → Extensions and choose Modules in the type list.
- Click Install next to HTML Content if it isn’t installed yet, then create a new HTML Content module.
- Click Source or Code View in the Description field and paste the installation code.
- Set Status to Enabled and click Save.
- Go to Design → Layouts and click Edit next to the layout you need, for example Product or Category.
- Choose a position – Content Top, Content Bottom, Column Left or Column Right – select the module, click Add Module and click Save.
- Open a page on your storefront and check that the chat appears.
Method 2: Show a floating chat on every page
For OpenCart 3.x:
- Go to Design → Theme Editor and choose your store.
- Open common → footer.twig.
- Paste the installation code before the opening footer tag and click Save.
- Refresh the theme cache.
- Open your storefront and check that the chat appears.
For OpenCart 4.x:
- Go to Design → Theme Editor and click Add New.
- Choose your store and, in Choose Template, select common/footer.
- Paste the installation code before the footer tag and set Status to Enabled.
- Click Save.
- Open your storefront and check that the chat appears.
Method 3: Use the Elfsight Custom HTML module (OpenCart 2.x and 3.x)
- Download the module for your OpenCart version from the Elfsight custom module guide.
- Go to Extensions → Installer, click Upload, and select the downloaded archive.
- Open Extensions → Modifications and click Refresh.
- Go to System → Settings, edit your store, and open the Custom HTML tab.
- Paste your widget installation code into the Custom HTML field.
- Under Select Page, choose All Pages or uncheck it to select individual pages.
- Choose a Position, save, and check your storefront.
Need help? Our support team can help you install the widget. For detailed walkthroughs, see the standard OpenCart installation guide or the Elfsight custom module guide.