How to configure the AI Store Sitemap module?
Module - AI Store Sitemap
The AI Store Sitemap module allows you to make your PrestaShop store visible to AI assistants such as ChatGPT, Perplexity, Claude, Gemini, etc. through the implementation of the llms.txt specification. AIs will then be able to recommend your products to users.
1. General Configuration
On the main configuration page, you can define the types of content to include in the llms.txt files:
Content Options
- Include products: Enable this option to generate markdown files for each active product in your catalog.
- Include categories: Enable this option to generate markdown files for each active category.
- Include CMS pages: Enable this option to generate markdown files for your static pages (Terms and Conditions, About Us, etc.).
- Enable multilingual content: If your store is available in multiple languages, enable this option to generate content in each language.
Tip: For stores with a small catalog (less than 1000 products), we recommend enabling all options for better understanding by AI assistants.
Additional Information
You have the option to add complementary information to include in the main llms.txt file (in the form of an "Additional Information" paragraph)
You can, for example, insert:
- A concise presentation of your company
- Your customer service commitments
- Your warranty, return, or delivery policies
- Any distinctive information that might be useful for AIs to answer customer questions
Performance Optimization
For stores with a large catalog, you can optimize file generation performance by enabling batch processing:
This will prevent overloading your server.
Tip: For catalogs with more than 5000 products, we strongly recommend enabling batch processing and configuring a CRON task (see next section).
2. CRON Task Configuration
Setting up a CRON task allows you to automate regular updates of your files at a time that won't affect your store's performance. It is strongly recommended for large catalogs (> 5000 products).
Copy the secure URL displayed in the interface (this URL contains a unique key for your store):
Access your hosting's CRON task manager and create a new task that will call this URL at regular intervals.
CRON Configuration Example
For weekly execution (every Sunday at 3 AM):
0 3 * * 0 wget -O /dev/null "http://my_store.com/modules/llmseo/cron.php?key=YOUR_SECRET_KEY" >/dev/null 2>&1
Important: Replace http://my_store.com/modules/llmseo/cron.php?key=YOUR_SECRET_KEY
with the URL provided in the module interface.
3. Manual Generation
Updates happen automatically, either in real-time (when modifying an existing active product, for example) or through the CRON task (for creating new products, for example). But you can also manually trigger the generation of llms.txt and markdown files. To do this, go to the "File Generation" tab and click on the blue button:
Wait for the process to complete (a progress bar will be displayed). You can follow the different stages of file generation:
A confirmation message will appear once the generation is complete:
4. Viewing Files
Once your files are generated, reload the page and go to the "Generated Files" tab.
To view the llms.txt file, click on the green "View llms.txt" button:
To view data files, go to the "Content Files" section, select the desired content type (categories, products, or CMS pages) and click on "Filter":
You should see a structured text file with your store's information.
Note that you can also view your llms.txt file by entering https://my_store.com/llms.txt
in your browser. Indeed, the llms.txt file is located at the root of your store.
Then click on the "View" button to see a particular file:
You can also find all content files in a "llms-content" directory at the root of your store.