---
title: "OpenCart - Devad CHAT Guides — Devad"
url: "https://devad.io/help/en/docs/ecommerce-features/opencart--235"
---

[Skip to content](https://devad.io/help/en/docs/ecommerce-features/opencart--235#main-content)  

[Devad](https://devad.io)  

[Home](https://devad.io) [POST](https://devad.io/post) [CHAT](https://devad.io/chat) [SITE](https://devad.io/site) [AI](https://devad.io/ai-agent) [Pricing](https://devad.io/pricing)

 

[](https://devad.io/help#hc-search)  [Agent view](https://devad.io/help/en/docs/ecommerce-features/opencart--235.md)

 

[Docs](https://devad.io/help?type=doc&lang=en&view=list) [Guides](https://devad.io/help?type=guide&lang=en&view=list) [Blog](https://devad.io/help?type=article&lang=en&view=list) [Changelog](https://devad.io/help?type=changelog&lang=en&view=list)

 

Browse this Help Center

[Ecommerce Features](https://devad.io/help?category=26&lang=en)  

- [Shopify Integration](https://devad.io/help/en/guides/ecommerce-features/shopify-integration--181)
 
- [Shopify Integration](https://devad.io/help/en/docs/ecommerce-features/shopify-integration--180)
 
- [WordPress Integration](https://devad.io/help/en/docs/ecommerce-features/full-wordpress-integration--182)
 
- [WordPress Integration](https://devad.io/help/en/guides/ecommerce-features/full-wordpress-integration--183)
 
- [AI Agent & Chatbot for e-Commerce [ WooCommerce, shopify, Opencart & Others]](https://devad.io/help/en/guides/ecommerce-features/ai-agent-chatbot-for-e-commerce-woocommerce-shopify-opencart-others--189)
 
- [AI Agent & Chatbot for e-Commerce [ WooCommerce, shopify, Opencart & Others]](https://devad.io/help/en/docs/ecommerce-features/ai-agent-chatbot-for-e-commerce-woocommerce-shopify-opencart-others--188)
 
- [Email, Newsletter, SMS, & Notifications](https://devad.io/help/en/guides/ecommerce-features/email-notifications-sms--208)
 
- [Email, Newsletter, SMS, & Notifications](https://devad.io/help/en/docs/ecommerce-features/email-notifications-sms--207)
 
- [AI Agentic Chatbot Features](https://devad.io/help/en/guides/ecommerce-features/ai-agentic-chatbot--215)
 
- [AI Agentic Chatbot Features](https://devad.io/help/en/docs/ecommerce-features/ai-agentic-chatbot--214)
 
- [OpenCart](https://devad.io/help/en/docs/ecommerce-features/opencart--235)
 
- [OpenCart](https://devad.io/help/en/guides/ecommerce-features/opencart--236)
 
- [Customer Support Features](https://devad.io/help/en/docs/ecommerce-features/customer-support-features--239)
 
- [Customer Support Features](https://devad.io/help/en/guides/ecommerce-features/customer-support-features--240)

 

[Help Center](https://devad.io/help)  › [Docs](https://devad.io/help?type=doc&lang=en)  › [Ecommerce Features](https://devad.io/help?category=26&lang=en)  › OpenCart

Docs

# OpenCart

The settings below are related to the OpenCart App. Q: Does CHAT App (CHAT.devad.io) support multiple OpenCart stores?Yes, CHAT App (CHAT.devad.io) supports OpenCart Multistore. Q:…

 

Abdullah HA

 

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 **** somewhere within the **** 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 within the 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.

 

Use this page

 [Ask ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdevad.io%2Fhelp%2Fen%2Fdocs%2Fecommerce-features%2Fopencart--235%20and%20answer%20questions%20about%20the%20content.) [Ask Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdevad.io%2Fhelp%2Fen%2Fdocs%2Fecommerce-features%2Fopencart--235%20and%20answer%20questions%20about%20the%20content.)

 

On this page

[Installation](https://devad.io/help/en/docs/ecommerce-features/opencart--235#gspb-heading-id-gsbp-7ec731a) [FAQs About Opencart](https://devad.io/help/en/docs/ecommerce-features/opencart--235#gspb-heading-id-gsbp-de4d2f6)

 

## Keep exploring

[### Shopify Integration

Shopify Integration & Synchronization The Shopify integration is an exclusive feature for CHAT.devad.io. It seamlessly synchronizes your Shopify store data—including products and user details—directly with…](https://devad.io/help/en/guides/ecommerce-features/shopify-integration--181) [### Shopify Integration

Shopify Integration & Synchronization The Shopify integration is an exclusive feature for CHAT.devad.io. It seamlessly synchronizes your Shopify store data—including products and user details—directly with…](https://devad.io/help/en/docs/ecommerce-features/shopify-integration--180) [### WordPress Integration

Step 1: Installation & Setup Follow these steps to get the CHAT.devad.io plugin running on your WordPress site. Step 2: Finding Your Chat ID &…](https://devad.io/help/en/guides/ecommerce-features/full-wordpress-integration--183) [### WordPress Integration

Step 1: Installation & Setup Follow these steps to get the CHAT.devad.io plugin running on your WordPress site. Step 2: Finding Your Chat ID &…](https://devad.io/help/en/docs/ecommerce-features/full-wordpress-integration--182)

 

[Devad](https://devad.io) 

Apps Suite Every Business Needs to Start and Grow

## Apps

 [POST](https://devad.io/post) [CHAT](https://devad.io/chat) [SITE](https://devad.io/site) [AI](https://devad.io/ai-agent)

## Company

 [Plans & pricing](https://devad.io/pricing) [Contact](https://devad.io/contact-us)

## Resources

 [Help Center](https://devad.io/help)

## Legal

 [Privacy](https://devad.io/privacy-policy) [Terms](https://devad.io/terms-of-service) [Cookies](https://devad.io/cookie-policy)
