项目作者: mageprince

项目描述 :
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.
高级语言: PHP
项目地址: git://github.com/mageprince/magento2-FAQ.git
创建时间: 2017-06-30T11:19:55Z
项目社区:https://github.com/mageprince/magento2-FAQ

开源协议:

下载


Latest Stable Version
Total Downloads
Monthly Downloads
License
Scrutinizer Code Quality
Code Intelligence Status

Magento 2 FAQ

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.

New Features

  • Show all FAQ on CMS page and static block
  • Show FAQ by group on CMS page and static block
  • Load FAQ by ajax on group selection on the frontend
  • Custom FAQ URL
  • Add FAQ anywhere by widget
  • GraphQL support

Check full description and user guid on Magento Marketplace

Demo

Frontend | Backend

How to install Magento 2 FAQ

1. Install from Magento Marketplace

Magento Marketplace Link

2. Install via composer (packagist.org)

Run the following command in the Magento 2 root folder:

  1. composer require mageprince/module-faq
  2. php bin/magento setup:upgrade
  3. php bin/magento setup:di:compile
  4. php bin/magento setup:static-content:deploy

GraphQL

Get all FAQs

  1. query faqs {
  2. faqs {
  3. faq_id
  4. title
  5. content
  6. group
  7. storeview
  8. customer_group
  9. sortorder
  10. status
  11. created_at
  12. updated_at
  13. }
  14. }

Get FAQs by Group ID:

  1. query faqs {
  2. faqs(groupId: 1) {
  3. faq_id
  4. title
  5. content
  6. group
  7. storeview
  8. customer_group
  9. sortorder
  10. status
  11. created_at
  12. updated_at
  13. }
  14. }

Get all FAQ Groups

  1. query faqs {
  2. faqGroups {
  3. faqgroup_id
  4. groupname
  5. icon
  6. storeview
  7. customer_group
  8. sortorder
  9. status
  10. created_at
  11. updated_at
  12. }
  13. }

Use the below code for the CMS page and Static Block

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}}

Contribution

Want to contribute to this extension? The quickest way is to open a pull request on GitHub.

Support

If you encounter any problems or bugs, please open an issue on GitHub.

Extension Screenshots