FAQ Widget for Magento 2 - Rich Snippets
Looking for Magento 2 Rich Snippets extension? View the full Magento 2 Rich Snippets extension page to explore features, configuration options, and pricing.
The Rich Snippets Suite includes a FAQ widget that lets you add FAQ sections to any CMS page or block. The widget automatically generates FAQPage structured data (schema.org JSON-LD) so Google can display your FAQ as a rich result. You can choose to show the FAQ visually on the page as an accordion, or keep it hidden and only output the structured data. Both Luma and Hyva themes are supported with dedicated accordion templates.
How It Works
The FAQ widget stores question/answer pairs and outputs them in two ways:
- JSON-LD structured data - Always included. Google uses this to display FAQ rich results in search.
- Visual accordion - Optional. Renders the FAQ as an interactive accordion on the page.
Adding the Widget
Via CMS Page/Block Editor
- Open a CMS page or block in the admin: Content > Pages or Content > Blocks
- Click Insert Widget in the editor toolbar
- Select Rich Snippets - FAQ (FAQPage Schema) as the widget type
- Configure the widget options (see below)
- Save the page/block
Widget Options
FAQ Items
Add your question/answer pairs using the built-in editor. Each item needs:
- Question - The FAQ question as displayed to visitors and used in structured data
- Answer - The answer text
You can add as many items as needed. Items can be reordered or removed.
FAQ Theme
Choose the accordion style for frontend display:
- Luma Accordion - Vanilla JavaScript accordion with +/- toggle icons. Works on all Magento themes without dependencies.
- Hyva Accordion - Alpine.js-powered accordion with chevron icons and smooth transitions. Use this when running a Hyva theme.
Tip: If you're not sure which theme you're running, Luma Accordion is the safe choice — it works everywhere.
Display FAQ on Frontend
- Yes - Renders the FAQ as a visible accordion on the page, plus the structured data in the page source.
- No - Only outputs the JSON-LD structured data (invisible to visitors). Use this when you already have FAQ content on the page and only need the schema markup for Google.
Structured Data Output
Regardless of the display setting, the widget always outputs FAQPage schema.org markup as JSON-LD. This is what Google reads to create rich results.
Example output:
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is your return policy?",
"acceptedAnswer": {
"@type": "Answer",
"text": "You can return items within 30 days of purchase."
}
},
{
"@type": "Question",
"name": "Do you offer free shipping?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, free shipping on orders over 50 euros."
}
}
]
}
Validating Your FAQ Rich Results
After adding the widget, verify the structured data is correct:
- Save and publish the page
- Open Google's Rich Results Test
- Enter the page URL
- Check that "FAQ" appears as a detected rich result type
Tip: It can take a few days to weeks before Google picks up the structured data and displays it in search results.
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team
For a complete overview of features and configuration options, see Magento 2 Rich Snippets extension.