Add MyLiveChat to your PrestaShop store
PrestaShop Live Chat Plugin provides an easy way to integrate PrestaShop store with MyLiveChat. MyLiveChat helps your team answer visitors quickly, collect offline messages, and keep support conversations organized. It lets your team answer visitors in real time, see helpful visitor context, and keep every conversation available for follow-up.
Use this guide to add MyLiveChat to your PrestaShop store.
Start free
Step 1. Get your MyLiveChat code
Sign in to the MyLiveChat web console and click
Deployment menu on the left. Choose Chat Button tab and copy the MyLiveChat
code. It is a single script tag and it is the same code on every platform.
Step 2. Paste the code into your theme footer
- Copy your theme to a child theme first if you have not already, so a theme update cannot overwrite the change.
- Open
themes/<your-theme>/templates/_partials/footer.tpl (PrestaShop 1.7 and 8).
- Paste the MyLiveChat code at the end of the file, then save and upload it.
- Clear the PrestaShop cache from Advanced Parameters » Performance so the storefront picks the change up.
Prefer not to edit a template? Any "custom HTML / tracking code" module from the PrestaShop marketplace can hold the same snippet - paste it in one place only, or you will get two chat launchers.
Check that live chat is working
Save the code, then open your store in a private browsing window. A private window matters: as a signed-in
administrator you may see a different version of the page than your visitors do.
- Look for the chat launcher on the page. If it is missing, view the page source and
search for mylivechat to confirm the code is really being served.
- Start a chat as a visitor and send a test message.
- Sign in to the web console and confirm the message arrives
and that you can reply.
- Close the chat and check the transcript is saved, so you know follow-up will work.
If your store caches pages, clear the cache before deciding something is broken. A cached
copy of the old page is the single most common reason a correct installation looks like a
failed one.
Common PrestaShop setup mistakes
- The code went into the parent theme. If a child theme is active, its footer overrides the parent’s and your paste is never rendered. Edit the theme that is actually live.
- Smarty cache is serving the old page. Clear the cache from Advanced Parameters » Performance after saving so the storefront rebuilds.
- Chat looks offline to everyone. The widget shows an offline form when no
agent is signed in. That is working as intended - set your hours and your offline
message so the page tells visitors when to expect a reply.
Make the chat window fit your store
Colours, position, language and the pre-chat form are all set in your MyLiveChat
dashboard, not in the PrestaShop code, so you can change them without touching your store again.
See customization options for what can be
changed, and visitor monitoring if you want to
see which page a visitor is on before you reply.
Related guides
New to live chat? Start with
how to add live chat to your
website and the
live chat launch checklist.
Also useful: Using chat to recover abandoned carts.
Also useful: Answering order-tracking questions.
If you are worried about page speed, see
does live chat slow down your
website.
What's next?
After setup, sign in to the web console to answer visitors from your browser. You can also use the desktop app from the download page if your team prefers it.
PrestaShop live chat FAQ
Do I need to edit any template files?
Yes - one paste into the theme footer. Work on a child theme so a PrestaShop or theme update cannot wipe it, or use a custom-HTML module if you would rather not touch a template at all.
Which pages will show chat?
The footer template is included by every page, so the code serves site-wide, including product pages and the cart. Confirm checkout separately - some themes use a different layout there.
Will it slow down my store?
The chat code loads asynchronously, so it does not block your page from rendering. If you want to check that for yourself rather than take our word for it, measure your own pages before and after with your usual speed tool.
Is it really free?
Yes. One agent, unlimited chats and unlimited websites are free forever, with no credit card required.
Any questions?
If anything is unclear, contact our support team from the chat button on this page or visit the Support page. We can help you choose the right setup path.