zaheercena / fetchtex-magento2-faq

Magento2 FAQ Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magento 2 FAQ GraphQL Module

Hereby FAQ module provides to list FAQs with the categories. FAQs can be added through Content > FAQ section.

Graphql requests are used by frontend with only search functionality. Requests are sent by apollo-boost using GET method so that they can be cached on backend.

Install Module

composer require fetchtex/module-faq

bin/magento module:enable Fetchtex_FAQs
bin/magento setup:upgrade

Sample Request

query myFaq {
  allfaqs(filter: { question:"%Wha%"}) {
    items {
      question
      answer
      category{
        id
        name
      }
    }
    total_count
  }
}

tested with Magento CE 2.3.4

About

Magento2 FAQ Module


Languages

Language:PHP 87.3%Language:JavaScript 8.6%Language:CSS 3.0%Language:HTML 1.0%