Integrations
An AI shopping assistant for PrestaShop stores
AskMerra is a PrestaShop AI chatbot that recommends products from your own catalog and answers questions about delivery, returns and payment in six languages. There is no AskMerra module to install or update: you add one script and a product feed.
What the assistant does in a PrestaShop store
A shopper on a category page with 200 products wants "a waterproof hiking jacket under €150". Filters help a little. A chat that knows your catalog helps more. AskMerra:
- recommends only products from your catalog, with the price, sale price and stock from your latest sync, and links each card to your product page;
- never recommends a product that is out of stock;
- answers delivery, returns and payment questions from the policies you write in the dashboard, and gives your exact answer when a question matches one of your FAQ entries;
- says so when it does not know, and passes the conversation to your team by email with the full transcript, or as live chat on Growth and above;
- shows you what shoppers ask, which products they click and which orders came after a chat.
How it keeps answers tied to your real products is explained in AI answers grounded in your catalog.
No module needed: how the PrestaShop AI chatbot connects
A chatbot module runs inside your shop. It has to match your PrestaShop version, and someone updates it whenever PrestaShop or the module changes. AskMerra runs outside your shop and connects through two things:
- A script tag on every page. It loads the chat widget from our servers. The widget renders in its own Shadow DOM, so your theme's CSS cannot break it and it cannot break your theme.
- A copy of your catalog. AskMerra reads a product feed URL on a schedule, a file you upload, or products your developer sends through the API.
Nothing of ours runs in your PrestaShop back office, so an upgrade of PrestaShop does not wait for us. After an upgrade or a theme change, just check that the script is still on the page.
Add the script to every page
In AskMerra, list your shop's domains under Allowed domains on the Install page, then copy the snippet from the same page:
<script src="https://cdn.askmerra.com/v1/widget.js" data-site-key="pk_live_…" async></script>
Put it on every page in one of three ways:
- A custom code module. PrestaShop Addons has modules that add your own HTML or JavaScript to every page. Paste the snippet in the field for the end of the page.
- Your theme. Add it just before
</body>in the layout template of a child theme (in the Classic theme that istemplates/layouts/layout-both-columns.tpl), so a theme update does not remove it. Then clear the cache under Advanced Parameters > Performance. - Google Tag Manager. If your shop already loads GTM, use a Custom HTML tag on All Pages with the settings-object version of the snippet from the install guide.
Open your shop and check the Install page in AskMerra: it shows when and where the widget was last seen. The script is about 27 KB gzipped and waits until the page has loaded before it shows the launcher button. For a longer walkthrough, see how to add an AI shopping assistant to your store.
Bring in your products and keep them fresh
| Source | On PrestaShop | Freshness |
|---|---|---|
| Feed URL | A product feed module (Google Shopping feeds are the usual choice) that publishes an XML or CSV file at a URL | Re-read every 6 hours on Start, Basic and Growth, 4 hours on Plus, 2 hours on Pro, 1 hour on Scale and Business |
| Push API | A developer reads products and stock from PrestaShop's built-in Webservice (Advanced Parameters > Webservice) or from your ERP, and sends them in batches of up to 500 | Real time |
| File upload | A CSV, JSON or XML export of up to 25 MB | When you upload |
When you pick a feed module, check that it publishes the feed at an address. Some modules send products straight to Google and leave you no file to read. Google Shopping feeds group combinations (sizes, colours) with item_group_id, which AskMerra uses to keep the variants of one product together. With a feed or a file, products missing from the latest sync are deactivated, never deleted, so a discontinued product stops being recommended.
Review the suggested field mapping before the first import. Columns you map to attribute:<name> become searchable product attributes, which helps with questions like "which ones are vegan?" or "does it fit a 15-inch laptop?". Catalog sources lists every recognised column.
Policies need no module either. Write your delivery, returns and payment rules in the dashboard's knowledge base, and add FAQ entries for questions with one right answer. Our guide on cutting support questions about delivery and returns shows what to write.
Choose where the chat appears
Path patterns in the widget settings decide where the launcher shows. * matches anything, and Hide on pages always wins. Many shops hide the chat on checkout to keep the purchase flow clean: with friendly URLs that is a pattern like *order*, or the translated word your shop uses in its addresses. Sales tracking still works on a confirmation page where the chat is hidden. To start small, Show only on pages limits the launcher to the pages you list. Details in visibility rules.
Add to cart and product pages
Turn on Add to cart in the widget's behaviour settings. On PrestaShop, a developer connects the button to your cart with an add_to_cart handler from the JavaScript API. The handler receives the external_id and sku from your feed; when it returns true, the button turns green and the shopper stays on the page. Without a handler, the button opens the product page, where the shopper picks a combination and adds it as usual.
On product pages, the assistant knows which product the shopper is looking at when the page carries schema.org Product data in JSON-LD with the SKU, or when your template sets window.AskMerraSettings.productId. Then "is this one machine washable?" gets an answer about that product.
Sales after a chat
The dashboard shows the orders placed within 7 days after a chat and which suggested products sold. The widget reads the standard GA4 purchase event from the dataLayer on the order confirmation page, so if a GA4 module already sends e-commerce events, there is nothing to set up. If not, call AskMerra.trackPurchase() on that page. Purchases are sent only for shoppers who chatted, and only with analytics consent. More in measuring sales after an AI chat.
Languages and multi-language shops
AskMerra replies in English, Romanian, Italian, French, German or Spanish, in the language the shopper writes in, even if your catalog is in one language. The widget interface follows the page's <html lang>, which PrestaShop themes set for each language, so a multi-language shop needs no extra setup. For translated product texts, import one row per product and language with a locale column. Start includes 2 languages, Basic 3, Growth and Plus 4, Pro and above all 6.
Pricing and privacy
Plans cost €29 a month (Start), €49 (Basic), €79 (Growth), €129 (Plus), €199 (Pro), €349 (Scale) and €599 (Business), excluding VAT; Enterprise is priced on request. The plan fee is AI usage you can spend. Above it, you pay as you go from prepaid credits, with an optional monthly spending cap. You can set up the catalog, the knowledge base and the widget design before you choose a plan; the AI starts answering once you pick one. See the pricing page.
Your first plan starts with a 14-day free trial: you add a card at checkout, and if you cancel before the trial ends, you pay nothing. Otherwise the plan you chose is charged when it ends. During the trial you get Pro features (live chat, all six languages, no AskMerra branding) and €10 of included AI usage, about 250 conversations, with no pay-as-you-go. There is one trial per account and per shop domain.
Data and backups are hosted in the EU and raw IP addresses are never stored. The widget sets no cookies and stores nothing in the browser until the shopper uses the chat, and every chat says it is an AI. Our DPA, which lists the AI providers we use, comes with every subscription. Details are on the security page.
Frequently asked questions
Is there an AskMerra module for PrestaShop?
Which PrestaShop versions does it work with?
Can I control where the chatbot appears?
How do I update the chatbot with new products or policies?
Can shoppers add products to the cart from the chat?
Does it work in a multi-language PrestaShop shop?
Related pages
- IntegrationsWooCommerce AI Chatbot That Recommends Your ProductsA WooCommerce AI chatbot that recommends your real products with live prices and stock, in six languages. One line of code and a product feed, no plugin.Read more
- IntegrationsMagento 2 AI Chatbot and Shopping AssistantA Magento 2 AI chatbot that recommends products from your own catalog with current prices and stock. One script in the HTML Head, products from a feed or API.Read more
- CompareChatbot vs Live Chat vs AI Shopping Assistant for StoresChatbot vs live chat vs AI shopping assistant: what each tool does for an online store, how each one is priced, what to check before you buy and how to choose.Read more