Installation
The FAQ module installs as a single Composer package on both Magento Open Source and Adobe Commerce. The Hyva companion module is an optional second package for stores running the Hyva theme.
Requirements
Section titled “Requirements”- Magento 2.4.6 to 2.4.8 (framework, catalog, backend, and ui modules)
- PHP 8.3 or higher
Magento 2 Open Source
Section titled “Magento 2 Open Source”Install via Composer (recommended)
Section titled “Install via Composer (recommended)”composer require ocmlabs/module-faqbin/magento module:enable OCMLabs_Faqbin/magento setup:upgradebin/magento setup:di:compilebin/magento cache:flushInstall manually
Section titled “Install manually”Copy the module directory to app/code/OCMLabs/Faq, then run the same commands starting from module:enable.
Verify the installation
Section titled “Verify the installation”Once setup completes, confirm the module is active:
bin/magento module:status OCMLabs_FaqYou should see OCMLabs_Faq listed under enabled modules.
In the admin panel, navigate to Catalog > Product FAQs. If the menu item is visible, the module installed correctly.
Grant admin access
Section titled “Grant admin access”The module uses a single ACL permission, OCMLabs_Faq::manage, found under System > Permissions > User Roles in the Content section. Assign it to any role that should be able to create or manage FAQs. Without it, the Catalog > Product FAQs menu item does not appear for that user.
Production deployment
Section titled “Production deployment”After installing on a production instance, run the full static content deploy if you are in production mode:
bin/magento setup:static-content:deploybin/magento cache:flushAdobe Commerce
Section titled “Adobe Commerce”Adobe Commerce installs the ocmlabs/module-faq-commerce metapackage, not the core ocmlabs/module-faq package. The metapackage requires ocmlabs/module-faq alongside magento/product-enterprise-edition, so a single composer require pulls the module in with its Adobe Commerce licensing gate intact:
composer require ocmlabs/module-faq-commercebin/magento module:enable OCMLabs_Faqbin/magento setup:upgradebin/magento setup:di:compilebin/magento cache:flushThe registered module name is OCMLabs_Faq (same as the Open Source package), so the enable and setup commands above reference that.
Hyva theme
Section titled “Hyva theme”If your store runs the Hyva theme, install the companion module alongside the core FAQ module:
composer require ocmlabs/module-faqhyvabin/magento module:enable OCMLabs_FaqHyvabin/magento setup:upgradebin/magento setup:di:compilebin/magento cache:flushThe Hyva companion module replaces the Luma accordion template with an Alpine.js implementation compatible with Hyva’s asset pipeline. Admin management (grid, edit form, configuration) is unchanged; the only difference is the frontend rendering layer.
See Hyva Compatibility for more detail on what the companion module does and how the storefront changes.
Check the frontend
Section titled “Check the frontend”Visit any product page in your store. If you have already created a FAQ assigned to that product, you will see an FAQs tab in the product detail tabs section. If no active FAQs are assigned to the product, the tab does not appear - that is expected behaviour.
The JSON-LD schema block is injected into the page <head> automatically alongside the tab. Verify it is present by viewing the page source and searching for application/ld+json.