mageprince/module-faq

Magento2 FAQ Module

Installs: 72 056

Dependents: 0

Suggesters: 0

Security: 0

Stars: 55

Watchers: 7

Forks: 36

Open Issues: 1

Type:magento2-module

2.1.4 2024-04-18 10:04 UTC

This package is auto-updated.

Last update: 2024-05-07 06:07:44 UTC


README

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:

composer require mageprince/module-faq
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

GraphQL

Get all FAQs

query faqs {
  faqs {
    faq_id
    title
    content
    group
    storeview
    customer_group
    sortorder
    status
    created_at
    updated_at
  }
}

Get FAQs by Group ID:

query faqs {
  faqs(groupId: 1) {
    faq_id
    title
    content
    group
    storeview
    customer_group
    sortorder
    status
    created_at
    updated_at
  }
}

Get all FAQ Groups

query faqs {
  faqGroups {
    faqgroup_id
    groupname
    icon
    storeview
    customer_group
    sortorder
    status
    created_at
    updated_at
  }
}

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

68747470733a2f2f636f6d6d657263656d61726b6574706c6163652e61646f62652e636f6d2f6d656469612f636174616c6f672f70726f647563742f662f622f666237345f315f6661715f706167655f322e6a7067

68747470733a2f2f636f6d6d657263656d61726b6574706c6163652e61646f62652e636f6d2f6d656469612f636174616c6f672f70726f647563742f652f372f653737375f335f7769646765745f322e6a7067

68747470733a2f2f636f6d6d657263656d61726b6574706c6163652e61646f62652e636f6d2f6d656469612f636174616c6f672f70726f647563742f382f352f383564345f355f67726f75705f677269645f322e6a7067

68747470733a2f2f636f6d6d657263656d61726b6574706c6163652e61646f62652e636f6d2f6d656469612f636174616c6f672f70726f647563742f312f362f313664655f365f67726f75705f656469745f322e6a7067

68747470733a2f2f636f6d6d657263656d61726b6574706c6163652e61646f62652e636f6d2f6d656469612f636174616c6f672f70726f647563742f312f352f313537395f375f6661715f677269645f322e6a7067

68747470733a2f2f636f6d6d657263656d61726b6574706c6163652e61646f62652e636f6d2f6d656469612f636174616c6f672f70726f647563742f302f652f306537625f395f6661715f656469745f315f322e6a7067

68747470733a2f2f636f6d6d657263656d61726b6574706c6163652e61646f62652e636f6d2f6d656469612f636174616c6f672f70726f647563742f392f622f396232385f31305f6661715f656469745f325f322e6a7067

68747470733a2f2f636f6d6d657263656d61726b6574706c6163652e61646f62652e636f6d2f6d656469612f636174616c6f672f70726f647563742f642f332f643333625f31315f636f6e66696775726174696f6e5f315f322e6a7067

68747470733a2f2f636f6d6d657263656d61726b6574706c6163652e61646f62652e636f6d2f6d656469612f636174616c6f672f70726f647563742f642f362f643637325f31325f636f6e66696775726174696f6e5f325f322e6a7067

68747470733a2f2f636f6d6d657263656d61726b6574706c6163652e61646f62652e636f6d2f6d656469612f636174616c6f672f70726f647563742f362f312f363131325f31335f7769646765745f322e6a7067