← Notes

How to add WhatsApp AI chat to an OpenCart storefront

Install the bitChat widget in your active OpenCart theme, select the workspace for each shop, connect WhatsApp and test product questions on each storefront.

OpenCart stores can share one installation while presenting different domains, themes and pickup policies. Have the maintainer place the public bitChat snippet in the active storefront footer and select the workspace for the shop being visited. Connect the corresponding WhatsApp business number separately. Test a product page on every live domain and ask a question that should produce a different answer across shops, such as where an item can be collected.

When you’re ready to install, open Chat Widget in your bitChat workspace and copy your public snippet.

Where does the chat widget go in OpenCart?

Start in the bitChat workspace that should receive your store’s conversations. Copy the public installation snippet from Chat Widget. Give your maintainer the snippet and the URLs of the stores where you want it to appear. The default OpenCart 4.1.0.3 catalog theme renders a shared common/footer.twig that closes the page body. Use the active theme’s equivalent or a maintained storefront extension to include the snippet once before that closing tag. Confirm the actual template if the store has a custom theme or runs another version. bitChat installation · OpenCart 4.1.0.3 footer

How do you choose the widget for each store?

Use the store configuration to decide which public widget key should appear on which domain. If the two shops have separate support teams, start a conversation on each domain and verify that each shop’s agent receives its own inquiry. If they share one team, document how the agent will identify the shop before giving store-specific advice. OpenCart store settings

For a camera shop, a shopper might ask whether collection is available. Give the agent the shop’s current pickup page, locations and collection instructions. Then ask about an unlisted location. A good answer requests clarification or offers a human handoff. A promise of collection at an invented branch is a failed test. Manage the AI knowledge base

How do you check web chat and the WhatsApp number?

Open each storefront in a private phone browser after deploying the theme. Check a product page and a category page. Try the launcher alongside any sticky cart controls, then send a message and find it in the intended inbox. If the widget appears on one domain only, verify which theme and cached page the other domain is serving.

Connect the business number inside bitbybit and send the same pickup question over WhatsApp. Without the storefront URL, the agent may need to ask which location or shop the buyer means. For a private order question, have staff verify the buyer or connect an authorized lookup before returning details. Connect WhatsApp · bitChat

Explore all OpenCart integration guides.