Browse these Docs

Docs

OpenCart

The settings below are related to the OpenCart App. Installation From Settings > Apps, click OpenCart and click Active. Once the app is installed go to Settings > OpenCart and enter the OpenCart details. To ge...

The settings below are related to the OpenCart App.

Installation

  • From Settings > Apps, click OpenCart and click Active.
  • Once the app is installed go to Settings > OpenCart and enter the OpenCart details. To get the Username and API key enter the admin area of OpenCart and go to System >Users > API . You’ll see a predefined user named Default. Edit it generate the API key, then set the Status to enable. Next, add your IP to list of permitted for API access.
  • With a file manager or FTP, edit file catalog/controller/common/header.php in the OpenCart installation folder and add the following key-value in $data variable:
  • Edit the file /catalog/view/theme/default/template/common/header.twig and add
    <script>{{ script }}</script>
    somewhere within the <head> tag. Mind that if you are not using the default theme the path will be different.
  • Enter the OpenCart Extensions page and click the top-right button Update.
  • Download the sb.php file and upload it into catalog/controller/api.

FAQs About Opencart

Q: Does CHAT App (CHAT.devad.io) support multiple OpenCart stores?
Yes, CHAT App (CHAT.devad.io) supports OpenCart Multistore.

Q: Which OpenCart versions are supported by CHAT App (CHAT.devad.io)?
Currently, only OpenCart 3 is supported.

Q: How do I install and activate the CHAT App (CHAT.devad.io) in OpenCart?
From Settings > Apps, click and enter your license key. For cloud version, click Active to install and activate the app.

Q: How do I generate the Username and API key needed for integration?
In the OpenCart admin area, go to System > Users > API, then edit the predefined user named Default. Generate the API key and enable the Status. Add your IP to the list of permitted IPs for API access.

Q: What file needs editing to pass the logged-in customer data to CHAT App (CHAT.devad.io)?
Edit the file catalog/controller/common/header.php and add the provided key-value pairs in the $data variable to include customer information.

Q: Where should I add the CHAT App (CHAT.devad.io) script in the OpenCart theme?
Edit /catalog/view/theme/default/template/common/header.twig and add <script>{{ chatdevadio }}</script> within the <head> tag. The path may vary if not using the default theme.

Q: What do I need to do after editing the files for CHAT App (CHAT.devad.io) integration?
Enter the Extensions page and click the top-right Update button, then upload the sb.php file into catalog/controller/api.

Q: Can CHAT App (CHAT.devad.io) automatically identify logged-in OpenCart customers?
Yes, it automatically identifies logged-in OpenCart customers, including their details, and registers them on CHAT App (CHAT.devad.io).

Q: Is it possible to manually import existing OpenCart customers into CHAT App (CHAT.devad.io)?
Yes, CHAT App (CHAT.devad.io) allows manual import of existing customers with one click.

Q: Do I need to reapply code changes after updating CHAT App (CHAT.devad.io) in OpenCart?
Yes, on update you have to apply the code changes again.

Keep exploring

Help Center search

Find an answer yourself

Searching Docs only.

Type at least 2 characters to search.