PS PrestaShop Beginner

Product FAQ — Static Accordion

Install, configure and populate an FAQ accordion on your PrestaShop 8 and 9 product pages.

Updated Module version 1.0.0

Overview

The Product FAQ — Static Accordion module adds a collapsible FAQ under your product pages. You enter questions and answers manually from the back office, and the module displays them in a native, accessible, JavaScript-free HTML accordion. It also injects schema.org FAQPage structured data as JSON-LD for SEO and AEO.

Need to generate your FAQs automatically from product attributes, reviews and real searches? Discover the DataFirefly AI Product FAQ, which automates the whole process in several languages.

Installation

  1. Download the dfstaticfaq.zip archive from your DataFirefly account.
  2. In the PrestaShop back office, open Modules > Module Manager, then click Upload a module.
  3. Select the ZIP file and start the installation.
  4. Once installed, click Configure to access the settings.

The module is compatible with PrestaShop 8.0 up to 9.x, in multistore and multilingual setups. No front-end dependency is loaded.

Module settings

The configuration page contains three settings:

  • FAQ block title — the title shown above the accordion on the product page. It is translatable per language.
  • Exclusive open — when enabled, only one answer stays open at a time. The behavior is native, with no JavaScript.
  • FAQPage structured data (JSON-LD) — enables or disables the injection of schema.org FAQPage markup on the product page.

The Manage FAQ button opens the question entry screen.

Adding and managing questions

From the Manage FAQ screen, click Add to create a question. Each entry includes:

  • Question — the label shown in the accordion (translatable).
  • Answer — the expanded content, edited with a rich text editor (translatable).
  • Product ID — the ID of the targeted product. Leave 0 to show the question on all product pages.
  • Position — the ascending display order.
  • Active — shows or hides the question without deleting it.

Global or targeted FAQ: a question with Product ID = 0 appears on every product page. For a product-specific question, enter its ID. Both can coexist on the same page.

Reordering questions

The display order is set by the Position field (ascending). You can also sort the list by clicking the Position column header.

Display on the product page

The accordion appears automatically below the product block, via the displayFooterProduct hook. It relies on native HTML details and summary elements: native keyboard navigation, no theme dependency, and respect for reduced-motion preferences. A plus/minus icon indicates the open or closed state of each question.

FAQPage structured data

When the JSON-LD option is enabled, the module adds an application/ld+json script on the product page describing the FAQ in schema.org FAQPage format. Answers are stripped of their HTML formatting to produce valid JSON.

Google now restricts FAQ rich results to certain institutional sites. The markup remains valid and usable by answer engines and AI assistants. You can disable it in one click if you prefer.

Compatibility

  • PrestaShop: 8.0 up to 9.x
  • Multistore: yes
  • Multilingual: translatable questions and answers per language
  • Front end: native HTML and CSS, zero JavaScript

Moving up to the AI Product FAQ

This module relies on manual entry. To automatically generate your questions and answers across your entire catalog, from product attributes, reviews and real searches, choose the DataFirefly AI Product FAQ. The migration requires no content loss.

Troubleshooting

  • The accordion does not appear — check that at least one question is active and is either global (Product ID = 0) or attached to the viewed product.
  • Changes are not showing — clear the PrestaShop cache (Advanced Parameters > Performance).
  • The title is not translated — fill in the block title for each language in the settings.

After uninstalling, all entered questions and answers are permanently deleted. Export your data beforehand if you want to keep it.

Was this page helpful?

Still stuck? Contact support