# Can AI agents shop a PrestaShop store?

> Can AI agents shop a PrestaShop store? What the generated robots.txt blocks, why combinations hide behind # links, missing shipping data, and how to fix it.

- Canonical URL: https://aiscovery.io/platforms/prestashop
- Markdown version: https://aiscovery.io/platforms/prestashop.md
- Last updated: 2026-10-21

Usually for the default combination, since PrestaShop themes print JSON-LD and the generated robots.txt leaves product pages open, but other combinations hide behind # links the server never sees, product pages show no shipping cost, and returns are off until you turn them on.

PrestaShop is self-hosted, so robots.txt, theme, modules and hosting are all yours. The back office generates a robots.txt, the Classic and Hummingbird themes produce JSON-LD, and protection against bots depends on your host and modules.

- [Request a demo](https://aiscovery.io/demo)
- [Check AI crawler rules free](https://aiscovery.io/tools/ai-crawler-checker)

Reviewed 21 October 2026 against official documentation. [12 sources](https://aiscovery.io/platforms/prestashop#sources)

> Example: what an agent runs into on PrestaShop

> Interactive demo on the HTML page: an illustrative storefront scene with numbered spots that match the common problems below.

Common problems:

1. Cookie consent walls cover the whole page until someone clicks.
2. Prices change by country or customer group, so agents see a different total.
3. Delivery and returns sit in footer pages that aren't linked from products.

> Example: An illustrative store, not a real result. Your own result shows only what is really on your store.

## PrestaShop at a glance

- **robots.txt:** Generated in Shop Parameters \> Traffic & SEO. Regenerating overwrites the whole file.
- **Structured data:** JSON-LD in Classic and Hummingbird: one Offer, for the default combination.
- **Combinations:** Picked with # fragments like #/1-size-s; price and stock refresh over AJAX.
- **Agent features:** An MCP Server module for the back office. Agentic commerce is on the roadmap.

## What usually breaks on PrestaShop

PrestaShop's defaults are reasonable for search engines. Agents trip over combinations, shipping and returns.

### 1. Combinations hide behind # links

Choosing a size or colour writes it after a # in the address, like #/1-size-s/8-color-white, and refreshes price, stock and images over AJAX. The part after # never reaches the server, so a crawler opening that link gets the default combination. [\[3\]](https://github.com/PrestaShop/PrestaShop/blob/9.2.0/classes/Product.php) [\[4\]](https://github.com/PrestaShop/PrestaShop/blob/9.2.0/themes/_core/js/product.js)

### 2. Regenerating robots.txt wipes your rules

The 'Generate robots.txt file' button replaces the existing file. Any AI crawler groups you added by hand disappear the next time someone presses it, for example after installing a module. [\[1\]](https://docs.prestashop-project.org/v.8-documentation/user-guide/configuring-shop/shop-parameters/traffic/seo-and-urls)

### 3. No shipping cost on the product page

The Classic theme's price block shows the tax label and delivery time text, but no shipping cost. Carriers are priced by zone and weight or price ranges, worked out in the cart. [\[6\]](https://github.com/PrestaShop/classic-theme/blob/develop/templates/catalog/_partials/product-prices.tpl) [\[7\]](https://docs.prestashop-project.org/v.8-documentation/user-guide/improving-shop/managing-shipping/carriers)

### 4. Returns are off by default

Merchandise returns aren't activated by default. Until you turn them on and publish your terms, an agent asked about returns has nothing to find. [\[8\]](https://docs.prestashop-project.org/v.8-documentation/user-guide/selling/managing-customer-service/merchandise-returns)

### 5. Markup with a borrowed brand and a short-lived price

The theme's JSON-LD uses the meta description as the product description and, when no manufacturer is set, your shop name as the brand (an Organization in Hummingbird). Its single Offer is valid for 15 days and has no shipping or return details. [\[9\]](https://github.com/PrestaShop/hummingbird/blob/develop/templates/_partials/microdata/product-jsonld.tpl)

## How to fix it on PrestaShop

Some fixes are back office settings; the robots.txt one is a few lines in a module, so it survives regeneration.

[Check which AI crawlers your robots.txt allows, free](https://aiscovery.io/tools/ai-crawler-checker)

### 1. Append AI crawler rules from a module, not by hand

When you press 'Generate robots.txt file' in the back office, PrestaShop runs the actionAdminMetaAfterWriteRobotsFile hook with the open file handle, so a small module can append its own crawler groups each time. (actionAdminMetaBeforeWriteRobotsFile can change the \* group's rules instead.) Regenerations triggered by editing shop URLs don't run the hooks, so check the file after those. [\[1\]](https://docs.prestashop-project.org/v.8-documentation/user-guide/configuring-shop/shop-parameters/traffic/seo-and-urls) [\[2\]](https://github.com/PrestaShop/PrestaShop/blob/9.2.0/classes/Tools.php)

modules/aicrawlerrules/aicrawlerrules.php (hook method):

```php
public function hookActionAdminMetaAfterWriteRobotsFile(array $params)
{
    // Model training: opt out. Search crawlers keep the * group.
    fwrite($params['write_fd'], "\nUser-agent: GPTBot\nDisallow: /\n");
    fwrite($params['write_fd'], "\nUser-agent: CCBot\nDisallow: /\n");
}
```

### 2. Give combinations addresses the server can see

PrestaShop's product route can carry the combination ID in the path, before the product name. Link important combinations that way from size guides and listings, and add a short table of combination prices and stock to the description. [\[5\]](https://github.com/PrestaShop/PrestaShop/blob/9.2.0/classes/Dispatcher.php)

Default product route (PrestaShop 9.2):

```
{id}{-:id_product_attribute}-{rewrite}.html
```

### 3. State shipping on product pages

Use the delivery time fields for in-stock and out-of-stock products, and add a line with your shipping cost or free shipping threshold through the theme or a reassurance block, linked to a full delivery page. [\[6\]](https://github.com/PrestaShop/classic-theme/blob/develop/templates/catalog/_partials/product-prices.tpl) [\[7\]](https://docs.prestashop-project.org/v.8-documentation/user-guide/improving-shop/managing-shipping/carriers)

### 4. Turn on merchandise returns and publish the terms

In Customer Service \> Merchandise Returns, enable returns and set the number of days. Publish the same terms on a CMS page linked from product pages and the footer. [\[8\]](https://docs.prestashop-project.org/v.8-documentation/user-guide/selling/managing-customer-service/merchandise-returns)

### 5. Fill in brand and description so the markup is right

Set a manufacturer on every product and write a real meta description, because the theme's JSON-LD uses both. Then the brand and description agents read match the product. [\[9\]](https://github.com/PrestaShop/hummingbird/blob/develop/templates/_partials/microdata/product-jsonld.tpl)

## What PrestaShop has announced for AI agents

PrestaShop's AI work so far is for merchants in the back office; shopping agents are on the roadmap. Newest last.

- **2026: PrestaShop MCP Server module.** A module for merchants, not shopping agents: it lets AI tools work with your store's back office (catalog, orders, customers and stock) through PrestaShop's own authentication. [\[10\]](https://prestashop.com/blog/tech-en/taking-your-first-steps-with-ai-how-to-simply-talk-to-your-prestashop-store/)
- **Sep 2026: PrestaShop 9.2 with Ask AI.** PrestaShop 9.2 added one page checkout and Ask AI, a back office assistant built on the MCP Server, using the merchant's own AI provider. [\[11\]](https://build.prestashop-project.org/news/2026/prestashop-9-2-0-available/)
- **Oct 2026: Agentic commerce on the roadmap.** PrestaShop's public roadmap lists agentic commerce, where trusted agents browse catalogs, build carts and complete purchases through standard protocols, as planned for Q4 2026 or later. [\[12\]](https://prestashop.com/roadmap/)

## What Aiscovery checks on PrestaShop

From the outside, the way an agent sees your store. Nothing to install, and agents stop before login, cart, checkout and payment.

[Request a demo](https://aiscovery.io/demo) · [Free AI crawler checker](https://aiscovery.io/tools/ai-crawler-checker)

- What your generated robots.txt declares for each AI crawler, and whether your own groups survived the last regeneration.
- Whether robots.txt blocks product, combination or policy addresses.
- Page basics and JSON-LD syntax, including the theme's Product markup.
- Reachability and redirects for our identified checker, and AI-facing files such as sitemaps and llms.txt.
- GPT-6 Luna and Gemini try to find a product, a combination's price, stock, delivery cost and returns, stopping before cart and checkout.

## Questions about PrestaShop and AI agents

**Q: How do I edit robots.txt in PrestaShop?**

A: Generate it in Shop Parameters \> Traffic & SEO, then add your own rules. Regenerating replaces the file, so add rules from a module on the actionAdminMetaAfterWriteRobotsFile hook, which the back office Generate button runs, and check the file after changing shop URLs.

**Q: Does PrestaShop block AI crawlers?**

A: No. The generated robots.txt has a single \* group that blocks system folders, the cart, checkout, account and search pages, and sort and filter parameters, for every crawler alike.

**Q: Why do agents see the wrong combination price?**

A: Combinations are chosen with # fragments that never reach the server, and the price refreshes over AJAX. An agent opening the link gets the default combination unless it works the selectors.

**Q: Does PrestaShop output structured data?**

A: Yes. The Classic theme has used JSON-LD since 2021, and Hummingbird uses the same partials: Product with one Offer, without shipping or return details.

**Q: Can ChatGPT buy from a PrestaShop store?**

A: Not through a PrestaShop feature yet: agentic commerce is planned for Q4 2026 or later on its roadmap. Third-party modules on PrestaShop Addons offer agent checkout, but they aren't PrestaShop products.

**Q: Do I need a PrestaShop module to use Aiscovery?**

A: No. Aiscovery tests your storefront from the outside, the way an agent sees it, so there is nothing to install.

## Sources

Official documentation and announcements, checked on 21 October 2026. Platforms change often, so check the source before you change settings.

1. [SEO and URLs: robots file generation](https://docs.prestashop-project.org/v.8-documentation/user-guide/configuring-shop/shop-parameters/traffic/seo-and-urls), PrestaShop user documentation
2. [classes/Tools.php: generateRobotsFile()](https://github.com/PrestaShop/PrestaShop/blob/9.2.0/classes/Tools.php), PrestaShop on GitHub
3. [classes/Product.php: getAnchor()](https://github.com/PrestaShop/PrestaShop/blob/9.2.0/classes/Product.php), PrestaShop on GitHub
4. [themes/\_core/js/product.js](https://github.com/PrestaShop/PrestaShop/blob/9.2.0/themes/_core/js/product.js), PrestaShop on GitHub
5. [classes/Dispatcher.php: product route](https://github.com/PrestaShop/PrestaShop/blob/9.2.0/classes/Dispatcher.php), PrestaShop on GitHub
6. [Classic theme: product-prices.tpl](https://github.com/PrestaShop/classic-theme/blob/develop/templates/catalog/_partials/product-prices.tpl), PrestaShop on GitHub
7. [Carriers](https://docs.prestashop-project.org/v.8-documentation/user-guide/improving-shop/managing-shipping/carriers), PrestaShop user documentation
8. [Merchandise returns](https://docs.prestashop-project.org/v.8-documentation/user-guide/selling/managing-customer-service/merchandise-returns), PrestaShop user documentation
9. [Hummingbird theme: product-jsonld.tpl](https://github.com/PrestaShop/hummingbird/blob/develop/templates/_partials/microdata/product-jsonld.tpl), PrestaShop on GitHub
10. [Taking your first steps with AI: talk to your PrestaShop store](https://prestashop.com/blog/tech-en/taking-your-first-steps-with-ai-how-to-simply-talk-to-your-prestashop-store/), PrestaShop
11. [PrestaShop 9.2.0 available](https://build.prestashop-project.org/news/2026/prestashop-9-2-0-available/), PrestaShop Project, 30 September 2026
12. [PrestaShop roadmap](https://prestashop.com/roadmap/), PrestaShop

## Related guides

- [Can AI agents shop a Shopware store?](https://aiscovery.io/platforms/shopware)
- [Can AI agents shop a Magento store?](https://aiscovery.io/platforms/magento)
- [Can AI agents shop a WooCommerce store?](https://aiscovery.io/platforms/woocommerce)

### Go deeper

- [Every store engine](https://aiscovery.io/platforms)
- [Testing e-commerce stores with AI agents](https://aiscovery.io/resources/test-ecommerce-ai-agents)
- [The llms.txt guide](https://aiscovery.io/resources/llms-txt)
- [Our checker and how to allow it](https://aiscovery.io/checker)

Platform names and logos belong to their owners. Aiscovery is not affiliated with them; we test any store from the outside.

## See what agents see on PrestaShop.

Tell us your store and we'll show you, on a short call, what AI agents could and couldn't find there, and the fix for each.

[Request a demo](https://aiscovery.io/demo)

Have a real workflow to test now? [Apply as a launch partner](https://aiscovery.io/partners)

---

This is the Markdown version of the page for AI agents. The HTML page at the canonical URL is authoritative. Site index: https://aiscovery.io/llms.txt
