WhatsApp Chat Integration: setup and help
Quick start
- Upload the module ZIP in Modules > Module Manager and open Configure.
- Enter your Phone Number (7 to 20 digits with country code).
- Optionally set Pre-filled Message with {product} and {url}.
- Keep Enable Widget on; select Position and Button Style.
- Set Show on Mobile and Show on Pages, then Save.
- Open an allowed storefront page and scroll or click to load the button.
- Click the button and confirm the intended WhatsApp conversation opens.
Requires PrestaShop 1.6 or later and PHP 7.1 or later.
Setup manual
Install and connect
- Open Modules > Module Manager in your back office.
- Choose Upload a module and upload the WhatsApp Chat Integration ZIP.
- Open Configure.
- In WhatsApp Connection, enter your Phone Number in international digits-only format.
- Keep Enable Widget on and save.
- Open your storefront, scroll or click, then test the contact button.
Requires PrestaShop 1.6 or later and PHP 7.1 or later.
Connection settings
| Setting | Installed default | What you do |
|---|---|---|
| Enable Widget | Yes | Turn off to pause the button while keeping your settings. |
| Phone Number | Empty | Enter 7 to 20 digits, including the country code. Omit the plus sign, spaces and punctuation. |
| Pre-filled Message | Empty | Enter optional message text. Use {product} for the product name and {url} for the current page URL. |
You edit the connection, Appearance and Behavior forms on the module configuration page. Use Save after changes. Button Text, Tooltip Text and Pre-filled Message support language-specific text. Missing language text falls back to your default language, then the stored base text.
Appearance
| Setting | Installed default | When to change it |
|---|---|---|
| Position | Bottom Right (bottom-right) |
Select Bottom Left (bottom-left) if the right corner is occupied. |
| Button Style | Floating Icon (icon) |
Select Bar with Text (bar) to display Button Text. |
| Button Text | Chat with us | Set the text shown in bar style. |
| Button Color | #25D366 |
Set the button background color. |
| Button Size (px) | 60 | Set the round icon diameter. |
| Margin from Edge (px) | 20 | Adjust distance from the bottom and selected side. |
| Show Tooltip | Yes | Turn off to hide the hover hint. |
| Tooltip Text | Need help? Chat with us! | Set the hover hint. |
| Animation | Pulse (pulse) |
Choose Bounce (bounce) or None (none). |
Behavior and storefront display
| Setting | Installed default | What it does |
|---|---|---|
| Show on Mobile | Yes | Turn off to suppress output when PrestaShop identifies a mobile visitor. |
| Fallback Delay (seconds) | 0 | The widget loads on first scroll, click, touch or key press. A positive value sets the maximum wait without interaction. Zero uses a 10 second fallback. |
| Show on Pages | All Pages (all) |
Select Product Pages Only (product), Category Pages Only (category) or Checkout Pages Only (checkout). |
Checkout targeting matches cart, order, order-opc, orderopc and checkout. A custom checkout controller with another name will not match that choice.
The module loads its local stylesheet through displayHeader. Your theme must execute displayBeforeBodyClosingTag or the displayFooter fallback. A render guard prevents duplicate buttons.
The button opens https://wa.me/PHONE with an optional URL-encoded text parameter. WhatsApp or WhatsApp Web handles the conversation. The module does not use the WhatsApp Business API or store messages in PrestaShop.
For a product question, set Pre-filled Message to Hi! I have a question about {product}: {url} and Show on Pages to Product Pages Only. The module replaces {product} only on product pages. On other pages that placeholder can remain literal, so use plain text and {url} for checkout help. The module provides no chatbot, shared inbox, automation or message history.
Verify and troubleshoot
- Open a page allowed by Show on Pages and interact with it. If you do nothing, wait for the fallback timer.
- Click the button and confirm it opens your own number. Test a product page and inspect the filled message before sending it.
- If the button is absent, check Enable Widget, the required identifier, Show on Mobile and page targeting. The back office shows a configuration notice for a missing or invalid identifier. Changed identifiers are validated on save; an invalid edit keeps the previous configuration.
- If the markup is absent on every allowed page, check the render hook in your theme. If it is present but hidden, check theme CSS, JavaScript errors and overlapping fixed buttons.
- A valid digits-only number must also belong to the intended WhatsApp account. Test the link on the devices your customers use.
Theme customization
Override themes/your-theme/modules/mprwhatsappchatintegration/views/templates/hook/displayBeforeBodyClosingTag.tpl if you need different markup. Keep your changes in the theme.
The widget ID is #mprwhatsapp-widget. Position, style and animation classes use the same prefix, such as .mprwhatsapp-bottom-right, .mprwhatsapp-bar and .mprwhatsapp-pulse. The tooltip class is .mprwhatsapp-tooltip.
You can move the button above another fixed element in your theme stylesheet:
#mprwhatsapp-widget.mprwhatsapp-bottom-right {
bottom: calc(var(--mprwa-margin, 20px) + 50px);
}
#mprwhatsapp-widget .mprwhatsapp-tooltip {
font-size: 12px;
}
The settings generate --mprwa-color, --mprwa-size and --mprwa-margin on the wrapper. Use the settings to change those values.
Disable or uninstall
Turn off Enable Widget to stop displaying the button. To remove the module, use Uninstall in Module Manager. Uninstall removes its menu entries and stored module configuration. It does not delete conversations held in WhatsApp.
Questions
2
What page information can the WhatsApp link include?
The optional pre-filled message is included in the WhatsApp link. On a product page, {product} becomes the product name; {url} becomes the current page URL, including its query string. Review the message and URL for information you do not intend to share before using those placeholders. The conversation takes place in WhatsApp, and this button does not save its messages in PrestaShop.
Does the button load a WhatsApp SDK or external JavaScript?
The button uses a normal https://wa.me/ link, a local stylesheet and an inline interaction loader. It does not embed a WhatsApp SDK or a third-party chat script. The inline loader inserts the button on interaction or when the configured fallback expires; a zero fallback setting means 10 seconds.
Known Issues
6
Outdated setup warning after saving
WhatsApp link had an incorrect accessible name
Translated settings labels not displayed
Installation check page remained untranslated
Asset combination compatibility
Legacy chat settings not retained
Feature Requests
5
Implemented
One-click module updates
Multilingual interface
Installation checks and repair
WhatsApp contact button
Visitor text per language
Changelog
v1.1.142026-05-27
- Addedcomplete FR/DE/ES/IT/PL translations
- FixedMigrate chat config from ps_configuration to ConfigTable
Older releases
v1.1.142026-05-26
- Certified the release ZIP with the shared package surface gate.
- Rebuilt the package without source maps, build tooling or leaked shared-package development files.
- Addeda displayFooter fallback so themes that do not render displayBeforeBodyClosingTag still show the WhatsApp button, with a duplicate-render guard for themes that render both hooks.
- Aligned module source, config.xml, composer metadata, package metadata and live release metadata.
- Refreshed product-page content with real Back Office and storefront screenshots, and removed unsupported chat-routing, scheduling, device-state and performance claims.
v1.1.132026-05-25
- Completed locale coverage for WhatsApp Chat configuration and storefront labels.
v1.1.x
- WhatsApp phone number configuration from PrestaShop Back Office.
- Optional pre-filled message with {product} and {url} placeholders.
- Button position, icon/bar style, colour, size, tooltip, animation, mobile visibility, delay and page targeting controls.
- Back-office readiness checks for the required phone number configuration.
Demo
Test the full module before you buy
Buy a licence later and keep your settings.
- Your 30-day demo Test it on your own shop for 30 days from the first install.
- Ready demo shop Explore a ready demo shop in your browser.
- No registration No account, email or store domain needed.
By downloading, you accept the demo terms and privacy policy.
By opening this demo you accept the demo terms and the privacy policy.