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
- Log in to your OpenCart admin
- Go to Design → Layout and find the layout used by your store pages
- Alternatively, go to Design → Theme Editor if available in your version
- Find the footer section of your theme
- Add the SiteBot24 widget code before
</body>
In older OpenCart versions:
- Go to System → Settings → Store Settings
- Find the Custom Header/Footer options if available
Method 2: OCMOD (OpenCart Modification)
For a clean, upgrade-safe installation, create an OCMOD file:
- Create a file named
sitebot24.ocmod.xml with your modification
- Upload via Extensions → Installer
- Go to Extensions → Modifications and refresh
Contact SiteBot24 support for the pre-built OCMOD file if needed.
Method 3: Direct Template Edit
- Navigate to your theme folder:
catalog/view/theme/[your-theme]/template/
- Find and open
common/footer.twig (OpenCart 3+) or common/footer.tpl (OpenCart 2)
- Add the SiteBot24 widget code before
</body>
- Save the file
- Clear OpenCart cache
Cache Clearing
After installation, clear your OpenCart cache:
- System → Settings → [Your Store] → Server tab
- Check your caching configuration and clear if needed
- Also clear any server-side caching (Varnish, Cloudflare) if in use
Testing Your Installation
- Open your store in a private browsing window
- Navigate to different page types (home, product, cart, checkout)
- Confirm the chat button appears consistently
- Test on a mobile device or using browser developer tools
OpenCart-Specific Chatbot Training
Common customer questions for OpenCart stores:
- Payment gateways and methods
- Shipping options and costs
- Order tracking
- Returns and refunds
- Account registration and login issues
Start with these 5 categories and you'll handle the majority of customer inquiries automatically.