Giter Site home page Giter Site logo

mageprince / magento2-faq Goto Github PK

View Code? Open in Web Editor NEW
55.0 7.0 37.0 1.82 MB

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 87.76% HTML 7.67% Less 2.55% JavaScript 2.02%
magento2 faq faq-extension-free faq-accordion faq-extension-in-magento-2 magento-2-faq-extension magento magento-marketplace magento2-module-free magento2-module

magento2-faq's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.