Integrations
An AI shopping assistant for Magento 2 stores
AskMerra is a Magento 2 AI chatbot that answers shoppers in six languages and recommends only products you sell, at the price from your latest sync. It works today with one script in the HTML Head and a product feed. A native Magento 2 module is coming soon.
What the assistant does on a Magento 2 store
Shoppers ask what a good sales assistant answers in a physical shop: which product fits, how two models differ, what delivery costs, whether they can return it. AskMerra answers in a chat window on every page of your Magento 2 store.
- It recommends only products from your catalog. Product cards show the price, sale price and stock from your latest sync, never from the AI model's memory, and link to your product page.
- It knows your policies. Shipping, returns and payment answers come from the texts you add in the dashboard. A question that matches one of your FAQ entries gets your answer word for word.
- It knows when to hand over. When a person is needed, the conversation goes to your team by email with the full transcript, or as live chat on Growth and above.
- It shows you what happens. You see what shoppers ask, which products they click and which orders came after a chat.
The widget is one script tag that renders in its own Shadow DOM, so it runs the same way on Luma, Hyvä and ScandiPWA, on Magento Open Source and on Adobe Commerce. Your theme's CSS cannot break it. Why the answers stay accurate: AI answers grounded in your catalog.
Install the Magento 2 AI chatbot in four steps
- Create your shop in AskMerra and list your store's domains under Allowed domains on the Install page. Add your staging domain too: the site key only works on the domains you list.
- Copy the snippet from the same page. It holds your public site key (
pk_live_…). - Paste it in the Magento admin. Go to Content > Design > Configuration, edit the row for your store view (or for the website, or the global row), open HTML Head and paste the snippet into Scripts and Style Sheets. Save the configuration. Developers can add it with a layout XML block in the theme instead.
- Refresh the cache under System > Cache Management, open your store, then check the Install page in AskMerra: it shows when and where the widget was last seen.
<script src="https://cdn.askmerra.com/v1/widget.js" data-site-key="pk_live_…" async></script>
The script is about 27 KB gzipped and waits until the page has loaded before it shows the launcher button. Two cases need more care:
- Content Security Policy. If your store enforces a CSP, allow
https://cdn.askmerra.comfor scripts andhttps://api.askmerra.comfor connections. In Magento this usually goes in acsp_whitelist.xmlfile of a small module. The install guide lists the full policy. - ScandiPWA and other PWA storefronts. Load the script once in the root template. The widget follows client-side navigation, re-checks your show and hide rules when the URL changes, and keeps the conversation open across pages.
Keep the catalog in sync
AskMerra only recommends what is in its copy of your catalog, so this is the step that matters most. Three sources work with Magento 2 today:
| Source | How it works on Magento 2 | Freshness |
|---|---|---|
| Feed URL | A Google Shopping feed extension publishes an XML or CSV file at a URL. You add that URL in AskMerra. RSS and Atom feeds with g: fields work as they are. |
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 | Your developer or agency sends products from Magento or your ERP in batches of up to 500, with a secret key. | Real time |
| File upload | A CSV, JSON or XML file of up to 25 MB. Good for a first test. | When you upload |
A few details that matter on Magento:
- Configurable products. Feeds group the children of a configurable product with
item_group_id. AskMerra reads it as the parent, so sizes and colours of one product stay together. - Stock. Out-of-stock products are never recommended, so the availability field must be right.
- Removed products. With a feed or a file, products missing from the latest sync are deactivated, never deleted.
- The built-in export. Magento's own product export (System > Data Transfer > Export) has SKUs, names and prices, but only URL keys and relative image paths. A feed extension that writes full product and image URLs is the better source.
After the import, AskMerra analyses each new or changed product (use cases, specs, materials) and indexes it for search by meaning. See catalog sources and the Push API reference.
Add to cart from the chat
Turn on Add to cart in the widget's behaviour settings and every product card gets a button. What it does depends on your storefront:
- ScandiPWA works with the script alone. The widget adds the product to the shopper's own cart by its SKU through Magento's GraphQL API, and the button turns green. Products with options to choose (size, colour) open their page instead. ScandiPWA's cart icon catches up on the next page load; listen for the
askmerra:cart-addedevent to update it straight away. - Luma and Hyvä, until the module ships: a developer handles the
add_to_cartevent of the JavaScript API and adds the product with your store's cart. The handler receives theexternal_idandskuyou imported. Without a handler, the button opens the product page.
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. If your theme does not print it, set window.AskMerraSettings.productId in the product template, or call AskMerra.setProduct() on a PWA.
Store views and languages
AskMerra speaks English, Romanian, Italian, French, German and Spanish. It replies in the language the shopper writes in, even when your catalog is in one language only. The widget interface follows the page's <html lang>, so each store view shows it in its own language. To force a language, add data-locale="de" to the snippet in that store view's HTML Head.
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. More in our guide to multilingual customer support.
The Magento 2 module (coming soon)
A native Magento 2 module is being built with a partner developer. It is not on a marketplace yet, and we do not give a release date. The plan is a Composer install, settings in the Magento admin, a catalog push when a product is saved or its stock changes, store-view languages and native add to cart on Luma, Hyvä and ScandiPWA. Your knowledge base, FAQ and widget design live in your AskMerra account, so they stay when you switch to the module. Agencies and stores that want to pilot it can get in touch.
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 success page. If a GA4 extension already pushes it, there is nothing to set up; if not, call AskMerra.trackPurchase(). Purchases are sent only for shoppers who chatted, and only with analytics consent. See measuring sales after an AI chat.
What it costs
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 import the catalog, write your policies, design the widget and install it 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.
Privacy and the GDPR
Data and backups are hosted in the EU. AI answers are generated by the providers listed in our DPA, which comes with every subscription. Raw IP addresses are never stored. The widget sets no cookies, stores nothing in the browser until the shopper uses the chat, and always says it is an AI. More on the security page and in our GDPR checklist for AI chat.
Frequently asked questions
Is there a Magento 2 extension for AskMerra?
Does it work with Hyvä and ScandiPWA?
Will the chatbot slow down my store?
How often are prices and stock updated?
Can it answer in the language of each store view?
Can it tell shoppers where their order is?
Related pages
- IntegrationsPrestaShop AI Chatbot for Product Advice and Store FAQsA PrestaShop AI chatbot that recommends products from your catalog and answers delivery and returns questions. No module to maintain: one script and a feed.Read more
- IntegrationsAI Chatbot for Shopify: A Shopping Assistant for Your StoreAn AI chatbot for Shopify that recommends your real products with live prices and stock, in six languages. Install it today with one line of code.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