fetchtex/module-faq

N/A

dev-master 2020-04-30 18:45 UTC

This package is auto-updated.

Last update: 2024-04-29 04:59:30 UTC


README

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