OpenCart Chatbot – AI Customer Support for OpenCart

How to integrate SiteBot24 with OpenCart Chatbot – AI Customer Support for OpenCart

Try SiteBot24
🟠

Adding SiteBot24 to OpenCart

OpenCart is a widely-used open-source e-commerce platform. Here are the methods to add SiteBot24 to your OpenCart store.

Method 1: Header/Footer HTML (Simplest)

Via Admin Panel

  1. Log in to your OpenCart admin
  2. Go to Design → Layout and find the layout used by your store pages
  3. Alternatively, go to Design → Theme Editor if available in your version
  4. Find the footer section of your theme
  5. Add the SiteBot24 widget code before </body>

In older OpenCart versions:

  1. Go to System → Settings → Store Settings
  2. Find the Custom Header/Footer options if available

Method 2: OCMOD (OpenCart Modification)

For a clean, upgrade-safe installation, create an OCMOD file:

  1. Create a file named sitebot24.ocmod.xml with your modification
  2. Upload via Extensions → Installer
  3. Go to Extensions → Modifications and refresh

Contact SiteBot24 support for the pre-built OCMOD file if needed.

Method 3: Direct Template Edit

  1. Navigate to your theme folder: catalog/view/theme/[your-theme]/template/
  2. Find and open common/footer.twig (OpenCart 3+) or common/footer.tpl (OpenCart 2)
  3. Add the SiteBot24 widget code before </body>
  4. Save the file
  5. Clear OpenCart cache

Cache Clearing

After installation, clear your OpenCart cache:

  1. System → Settings → [Your Store] → Server tab
  2. Check your caching configuration and clear if needed
  3. Also clear any server-side caching (Varnish, Cloudflare) if in use

Testing Your Installation

  1. Open your store in a private browsing window
  2. Navigate to different page types (home, product, cart, checkout)
  3. Confirm the chat button appears consistently
  4. Test on a mobile device or using browser developer tools

OpenCart-Specific Chatbot Training

Common customer questions for OpenCart stores:

Start with these 5 categories and you'll handle the majority of customer inquiries automatically.