PrestaShop Module
The Conferbot PrestaShop module embeds the AI chat widget on a PrestaShop store and passes the logged-in customer identity plus store/cart context to the bot. Requires PrestaShop 1.7 or 8.x and PHP 7.2+.
See it in action
Paste the Chatbot ID, flip the switch, and the bot is live on the storefront - 30 seconds end to end:
How it works
The module hooks displayHeader and injects the standard Conferbot loader:
<script src="https://cdn.conferbot.com/dist/v1/widget.min.js" async></script>
<script>
window.ConferbotWidget("<CHATBOT_ID>", "live_chat", {
user: { id, name, email }, // logged-in customer, if any
customData: { platform: "prestashop", storeName, storeUrl,
storeLanguage, storeCurrency, cartTotal, cartItemCount }
});
</script>Widget appearance and behavior - position, colors, theme, language, auto-open, proactive prompts, disabled URLs - is configured in the Conferbot dashboard under Customize and delivered at runtime; the module does not duplicate those settings.
Requirements
- PrestaShop 1.7 or 8.x
- PHP 7.2+
- A Conferbot account with a published chatbot, or the built-in demo bot to try it first
Installation
- Get
conferbot.zipfrom the latest GitHub release (the zip contains a top-levelconferbot/directory). - In the PrestaShop admin, go to Modules > Module Manager > Upload a module and upload the zip. (Or copy the folder to
/modules/conferbot/and install from Module Manager. CLI:bin/console prestashop:module install conferbot.) - Click Configure.
Configuration
The configure screen is two steps: paste your Chatbot ID, flip the switch, save. You can paste the bare ID, the full embed snippet, or a dashboard URL - the module extracts the ID for you.
- Chatbot ID (required) - in the Conferbot dashboard open your bot, go to Share > Embed into website, and copy the Bot ID (24-character hex).
- Turn the chat on - master on/off switch.
- How the chat appears (advanced) - floating chat bubble (default) or popup window.
- Show on these pages (advanced) - per-page-type visibility: home, category/search, product, cart, checkout, customer account, and all other pages.
- Widget script URL (advanced) - leave as is for the Conferbot CDN; useful for staging/self-hosted widget builds.
No account yet?
Click Try our demo bot on the configure screen - it fills in the public demo bot 691c970890527a0468f9b2c9, which works out of the box.
What the module passes to the widget
user- the logged-in customer's id, name, and email (omitted for guests).customData-platform: "prestashop", store name, store URL, store language, store currency, cart total, and cart item count - so the bot and human agents see the customer's cart value and store details.
Troubleshooting
If the widget does not appear:
- Check the module is enabled.
- Check the Chatbot ID is correct and the bot is published and not disabled.
- Check the current page type is enabled in Show on these pages.
- Clear the PrestaShop cache (Advanced Parameters > Performance > Clear cache).
No API key or workspace ID is required - the widget resolves everything server-side from the Chatbot ID over Socket.IO (wdt.conferbot.com). Outbound webhooks (order status, product updates, abandoned cart) are not part of this version.
Source
Open source (AFL 3.0) on GitHub: Conferbot/conferbot-prestashop. 73 PHPUnit tests (155 assertions) cover bot ID parsing, controller-to-page-type mapping, visibility rules, widget option building, script-injection safety, and settings persistence - the suite runs without a PrestaShop installation.