JTL-Shop chatbot: set up AI answers, live chat and GDPR on JTL-Shop 5
One script in the child template, the right store pages as sources and a clear rule for questions about individual orders: how to set up a chat on JTL-Shop 5.

Two kinds of questions arrive in the chat of a JTL-Shop. Your public pages answer the first kind: shipping costs to Austria, returns, paying by invoice, which item fits. The second kind is about one specific order, and that data lives in JTL-Wawi. A good chatbot answers the first group itself and hands the second cleanly to your team. This guide shows how to set up QuatroChat on JTL-Shop 5 so that this split works, from the code in the template to the test before launch.
Which questions the chat handles
| Customer question | Where the answer comes from | Who answers |
|---|---|---|
| “How much is shipping to Austria?” | The “Versand” special page or your own page with costs and delivery times | AI, with a link to the page |
| “Can I send it back if it doesn’t fit?” | Cancellation policy and returns page | AI, with a link to the page |
| “Can I pay by invoice?” | Payment methods page or an FAQ entry in QuatroChat | AI |
| “Which cordless drill works for hardwood, up to €150?” | Your store’s Google Shopping export | AI, with up to three product cards |
| “Where is my order 10234?” | JTL-Wawi and the carrier — the chat has no access to them | Your team, after the handoff |
| “The item arrived damaged.” | A complaint with photos and order details | Your team |
The assistant only answers from sources you approve: public pages of your store, uploaded files, FAQ entries and your product feed. It never sees orders, customer accounts or JTL-Wawi. That limit is deliberate. A bot that reveals an address and delivery status for an order number would show that data to anyone who knows the number. Those questions belong to your team, in the same chat and with the full history.
Step 1: Add the code to the NOVA child template
Add your store as a website in QuatroChat and copy your personal code under Widget → Installation. It is a single line: a script tag with the async attribute, so it does not block your pages from loading. You do not need a plugin for this.
On JTL-Shop 5, custom scripts do not go into the files of the default NOVA template but into a child template, usually NOVAChild, whose files survive store updates. JTL’s developer documentation provides the Smarty block layout-footer-js in the footer.tpl file for extra scripts:
Open the folder templates/NOVAChild/ (or your own child template’s folder) via SFTP.
Create a layout folder there if it does not exist yet, and a footer.tpl file inside it. If the file already exists, only add the block.
Paste your code into the block and save the file.
In the back end, clear the template cache under System → Cache.
{block name='layout-footer-js' append}
<script async src="https://quatrochat.com/w/v1/loader.js" data-key="…"></script>
{/block}
Take the key after data-key from the code you copied. If an agency looks after your template, send them the ready-made text from “Send to developer” in the installation section; it contains your code and where it goes, right before the closing body tag. If you already use a plugin for custom scripts, that works too, as long as it outputs the code on every page.
Then open your store in a private window: home page, a category, a product page and the cart. Each page should show exactly one chat button, including the checkout, where questions about payment and delivery come up. Finally, click “Check installation” in QuatroChat. If a performance plugin delays JavaScript until the first interaction, exclude the QuatroChat script so the button appears right away.
Step 2: Choose your store pages as sources
Enter your store’s address. The assistant reads up to 100 public pages and shows you the addresses it found. For a JTL-Shop, the pages that matter most are the ones you maintain in the back end under Darstellung → Eigene Inhalte → Seiten (custom pages): shipping, payment methods, cancellation policy, terms and your own buying guides.
Two places deserve a second look. The “Versand” special page can show a shipping cost calculator where customers first pick a country. Anything that only appears after such a selection is invisible to the assistant, so write your main countries with costs, delivery times and the free-shipping threshold as plain text on the page. And pages that are only visible after login or to certain customer groups cannot be quoted by a visitor chat; trade terms for business customers do not belong in the general knowledge base.
Anything that is not on a page you add as an FAQ entry in QuatroChat. One entry worth having in every store describes order status the way it actually works for you. Customers with an account see the status of their order under “Mein Konto” in JTL-Shop once the sync with JTL-Wawi has run. You set the tracking link per shipping method in JTL-Wawi, and it can appear in the shipping confirmation. Customers who checked out as guests see nothing in an account; they have the email. An entry such as “You will find the delivery status via the link in your shipping confirmation and, if you have a customer account, under My account → Orders. For a specific order, our team will help you.” answers most of these questions without the chat needing any order data.
Step 3: Product cards from the Google Shopping export
For product recommendations, QuatroChat reads a Google Shopping XML feed at a public address, with up to 20,000 products, and reloads it every 6 hours. On JTL-Shop 5 that feed comes from the “Exportformat Google Shopping” extension in the JTL Extension Store; the export format then sits under Export → Weitere Formate. Many stores already have it set up for Google Merchant Center.
Watch the file format. For Google, JTL-Shop creates a ZIP file by default, but QuatroChat needs the XML file itself. Create your own export format with the Google Shopping settings, give it a file name ending in .xml and have the export task scheduler build it regularly. Open the address in a browser: if you see an XML list of your items, enter it in QuatroChat. Keep the export’s filters in mind. If “Nur Artikel mit Lagerbestand über 0” (only items in stock) is active, the chat will only recommend those items.
When a customer describes what they need, the assistant shows up to three product cards with photo, price, availability and a link to the product page. Variants are grouped, and a stated budget is respected. The cards are built from the feed, not from the AI’s text, so no price can be made up. Without a feed, the chat still answers from your pages. More on product search in the chat.
Step 4: Decide how chats reach your team
In QuatroChat you choose one mode for the whole store: Automatic (the AI answers every question and hands off when the customer asks for a person), Hybrid (the AI handles routine questions and hands off on its own when it is unsure or your sources have no answer) or Only people (classic live chat without AI). Hybrid is a good start for a JTL-Shop: the AI takes shipping and returns, while orders and complaints come to you. Which mode fits when is explained in Live chat or chatbot?

On a handoff, your team gets a notification and continues in the same chat with the full history. Your colleague looks up the order in JTL-Wawi, just as for an email enquiry, and can hand the chat back to the AI afterwards. When nobody is online, the customer leaves their contact details and you reply by email. If you want to be able to follow up on order questions later anyway, ask for the email address before the first message, either with a “Skip” option or as a required field. Team members are free, and the inbox runs in the browser on desktop and on a phone.
GDPR: what to do in your JTL-Shop
Hosting and DPA: QuatroChat is hosted in the EU, and the data processing agreement applies from registration.
Consent manager: Until a visitor opens the chat, the widget stores nothing in their browser; after that, only a visitor ID so the conversation can continue. It sets no advertising or tracking cookies. Under German law (§ 25(2) no. 2 TDDDG) this usually needs no cookie banner, so you normally do not have to add the chat to JTL-Shop’s consent manager as a service requiring consent. If your store follows stricter rules, agree this with your data protection adviser.
Privacy policy: The installation section includes a paragraph in German and English to copy. Add it to your privacy page, which you also maintain under Darstellung → Eigene Inhalte → Seiten.
AI labelling: AI answers are marked as such in the chat. Why that matters is covered in the article on AI disclosure under the EU AI Act.
Sources: Only add content that any visitor may read. Customer lists, purchase prices or internal notes do not belong in the knowledge base.
For a full checklist of the data flow, see a practical GDPR review for your website chat.
Acceptance test before launch: five questions
“How much is shipping to Austria?” The answer gives your costs and links the shipping page.
“How long do I have to return something?” The period matches your cancellation policy.
A product question with a budget, on a phone. The price on the card matches the product page.
“Where is my order 10234?” The chat does not invent a status but points to the shipping confirmation and the customer account. If the customer asks for a person, the conversation reaches your team.
The same question after hours. The customer can leave an email address, and your colleague sees the full history the next morning.
Ask each question twice in different words. If an answer is missing or vague, the fix is almost always on your own page: add a sentence, refresh the source, ask again.
What it costs
Live chat, the inbox and team members are free, with no conversation limit. After you verify your email address you get 100 AI answers to try. The subscription is €19 a month excluding VAT for 1,000 AI answers; each published answer uses one credit, including in the test chat, and unused credits carry over to the next month. When the answers run out, customers can still reach your team. All details are on the pricing page. If you are comparing options right now, the comparisons with Userlike and Tidio may help.
FAQ
Is there a plugin for JTL-Shop?
Not in the JTL Extension Store at the moment. You add QuatroChat with one line of code in the child template or through an existing plugin for custom scripts; after that the chat appears on every page.
Will the chat slow down my store?
The script loads asynchronously, and the chat window itself only loads when a visitor opens it.
Does the assistant see orders from JTL-Wawi?
No. It answers from your public pages, uploaded files, FAQ entries and your product feed. Questions about a specific order go to your team.
Does the chat answer in English too?
Yes. The assistant answers in the language the customer writes in, even if your pages are in German.
What happens when JTL-Shop is updated?
The child template’s files are kept. Still check briefly after an update that the chat button appears; “Check installation” in QuatroChat shows you in one click.