# PrestaShop

https://flowhelp.ai/docs/install/prestashop

You upload the flowhelp module in your store's back office and paste the line from your dashboard into it. If you prefer not to install a module, you can put the line in your theme file.

## Before you start

Copy the line from the dashboard: **Settings → Installation**, card “Snippet”. It holds your assistant's key.

```html
<script async src="https://cdn.flowhelp.ai/loader.js" data-key="pk_live_…"></script>
```

Also add your store's address under **Settings → Installation → “Allowed domains”**. See [Allowed domains](https://flowhelp.ai/docs/install/domains).

The module works on PrestaShop 1.7.8, 8.2 and 9.2, which are the versions we tested. A store older than 1.7.8 does not install it. You can download the module (a zip file) from [flowhelp.ai/prestashop-ai-chat](https://flowhelp.ai/prestashop-ai-chat).

## Two ways to add the line

**The flowhelp module**

**No file editing.** The module is a zip file you upload in your store's back office like any other module. It adds the line to every page of your store and does not change your theme files.

1. In your PrestaShop back office, open **Modules → Module Manager** and click **Upload a module** in the top right corner.
2. Drop the zip file you downloaded into the window, or click the “select file” link.
3. When you see “Module installed!”, click **Configure**.
4. Paste the line into the “Line from the flowhelp dashboard” field and click **Save**.

The line goes on every page of your store, including the cart and checkout. Theme updates do not remove it, because the module does not change your theme files.

You can also paste just the key that starts with `pk_live_`. The module builds the line from it.

**Line in your theme file**

**Without the module.** Use this if you can edit your store's files over FTP or in your hosting file manager.

1. In your theme's folder (`themes/your-theme`), open `templates/layouts/layout-both-columns.tpl`.
2. Paste the line right before `</body>` and save the file.
3. In your back office, open **Advanced Parameters → Performance** and click **Clear cache**. Otherwise your store may keep showing pages without the line.

> With a line in your theme file: a theme update can overwrite this file and remove the line. Then paste it again or switch to the module.

## Check that it works

- Open your store in a private browser window. A chat button appears in the corner of the page.
- In the dashboard, under **Settings → Installation**, the “Widget status” card shows “Live” and your store's domain.
- No chat after pasting the line into your theme file? Clear the cache: **Advanced Parameters → Performance → Clear cache**.

## What the assistant knows about your store

The assistant answers from what it reads on your pages. It has no access to your PrestaShop database, and the module sends nothing from it.

**It knows:**

- Your home page and store policies first (shipping, returns and terms), then your contact page and other key pages, then products and categories, up to your plan's page limit.
- A product's price, description and availability as of the last time it read the product page. How often it rereads your store depends on your plan. See [Refreshing knowledge](https://flowhelp.ai/docs/knowledge/refresh).
- It answers in your customer's language, even when your store is in one language only, and links to the page the answer came from.

**It does not know:**

- Orders, customer accounts or live stock levels.
- It does not take orders or payments.
- It cannot track a parcel. The customer asks you, through the contact form or by handing the conversation to a person.

## Questions

**Does the flowhelp module cost anything?** No. You pay only for your flowhelp plan. See [Plans and prices](https://flowhelp.ai/docs/plans/overview).

**The module is installed but there is no chat. What should I check?** The module adds the line where your theme lets modules add code before the end of the page (`displayBeforeBodyClosingTag`). The Classic and Hummingbird themes have it. If your theme does not, paste the line into your theme file.

**Will the chat slow down my store?** The line and the chat window load asynchronously, so they do not hold up your page.

**What does the module store in my shop?** Only your assistant's key. It builds the line on the page from that key, so nothing else goes into your store's code.

**How do I remove the chat from my store?** Clear the field in the module settings and click **Save**, or uninstall the module in the Module Manager. If the line is in your theme file, delete it and clear the cache.

## See also

- [Add the widget to your site](https://flowhelp.ai/docs/install/snippet)
- [Allowed domains](https://flowhelp.ai/docs/install/domains)
- [The widget doesn't show up](https://flowhelp.ai/docs/install/troubleshooting)

Last changed: November 24, 2026
