Add MyLiveChat to your WooCommerce site
WooCommerce runs on WordPress, so you can add MyLiveChat with our WordPress plugin — no theme editing required. MyLiveChat helps your store answer shoppers while they are still on the product page, invite them to chat before they abandon a cart, and collect offline messages when your team is away.
Use this guide to add MyLiveChat to WooCommerce. The free plan includes one agent,
unlimited chats, and unlimited websites — no credit card required.
If you do not have a MyLiveChat account yet,
create a free MyLiveChat account.
Start free
Step 1. Get your MyLiveChat code
Sign in to the MyLiveChat web console and click
Deployment menu on the left. Choose Embedded Chat tab and copy the MyLiveChat code.
Step 2. Paste the code into your theme footer
- Go to Appearance → Theme File Editor and open footer.php in your child theme.
- Paste the MyLiveChat code just before the closing
</body> tag, then click Update File.
Check that live chat is working
Do not assume the install worked because you saw no error. Open your store in a private
browsing window and walk through this once:
- 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.
Check a product page, the cart and the checkout, not just the home page. Those are the templates that matter for a store, and they are also the ones most likely to be cached or optimized differently.
Common WooCommerce setup mistakes
- Only the shop home page was tested. Shoppers ask their questions on the product page and at checkout. Confirm the launcher appears on a product page, the cart and the checkout before you call the install done.
- The snippet was pasted into a parent theme. If you edited footer.php in a parent theme, the next theme update overwrites it and chat silently disappears. Use a child theme, or use the plugin so no theme file is touched.
- Cart and checkout are excluded from caching but not from optimization. Script-combining rules often still apply there. If chat works on a product page but not at checkout, that is where to look.
- Chat is live but nobody is signed in. The widget shows the offline form when no agent is available. Set your hours and your offline message so the store tells shoppers when to expect a reply.
What happens 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.
Want the AI to answer first? Point the AI assistant at your site content and it handles routine questions 24/7, then hands off to a human with the full transcript when one is needed.
Why add live chat to WooCommerce?
Most WooCommerce questions are pre-purchase: shipping times, sizing, stock, returns. If a shopper cannot get an answer on the product page, they leave. A chat button lets your team answer in the moment, and proactive invitations can trigger on high-intent pages like the cart or checkout. When nobody is on shift, the offline form captures the question with the page it was asked on, so you can follow up with full context.
Because MyLiveChat installs through the WordPress plugin, it loads on your whole store — product pages, cart, checkout, and blog posts — without touching your theme files or slowing your build.
WooCommerce live chat FAQ
Does MyLiveChat work with any WooCommerce theme?
Yes. The chat code loads independently of your theme, so it works with Storefront, Astra, Divi, Flatsome, or any custom theme.
Will it slow down my store?
The widget loads asynchronously, so it does not block your page render. Your product pages stay fast.
Can I show chat only on certain pages?
Yes. You can control where the widget appears, so you can run chat on product and checkout pages only if you prefer.
Is it really free?
Yes. One agent, unlimited chats, and unlimited websites are free forever, with no credit card required.
Make the chat window fit your store
Colours, position, language, the pre-chat form and your offline message are all set in your
MyLiveChat dashboard rather than in your WooCommerce code, so you can change them without editing
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, then
live chat best practices once you are
answering real conversations.
Also useful: Live chat for abandoned carts and
Live chat for order tracking.
If you are worried about page speed, see
does live chat slow down your
website.
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.