This module adds an easy way to use FAQ section to your Magento store with jQuery Accordion. In this module, admin can add and update FAQ. Admin can also create FAQ group with group icon. Admin can add widgets, blocks, images etc. in FAQ answer with wyswing editor.
Check full description and user guid on Magento Marketplace
Run the following command in the Magento 2 root folder:
composer require mageprince/module-faq
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
query faqs {
faqs {
faq_id
title
content
group
storeview
customer_group
sortorder
status
created_at
updated_at
}
}
query faqs {
faqs(groupId: 1) {
faq_id
title
content
group
storeview
customer_group
sortorder
status
created_at
updated_at
}
}
query faqs {
faqGroups {
faqgroup_id
groupname
icon
storeview
customer_group
sortorder
status
created_at
updated_at
}
}
1. To show all FAQ
{{block class="Mageprince\Faq\Block\Index\Index" template="Mageprince_Faq::faq_main.phtml" show_group_title=1 show_group=1 page_type="scroll"}}
2. To show FAQ by group
{{block class="Mageprince\Faq\Block\Index\Index" template="Mageprince_Faq::faq_main.phtml" group_id=1 show_group_title=1}}
Want to contribute to this extension? The quickest way is to open a pull request on GitHub.
If you encounter any problems or bugs, please open an issue on GitHub.