mtrzk/magento2-faqpage-graphql

1.0.1 2022-08-31 14:50 UTC

This package is auto-updated.

Last update: 2024-04-29 04:41:23 UTC


README

1. Documentation

2. How to install

Install via composer (recommend)

Run the following command in Magento 2 root folder:

composer require mtrzk/magento2-faqpage mtrzk/magento2-faqpage-graphql
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

3. How to use

Query {
    faqQuestions: [FaqQuestion!]
}

type FaqQuestion {
    id: ID!
    question: String
    answer: String
    position: String
    active: Boolean
    store_ids: [String]
    created_at: String
    updated_at: String
}

StoreConfig {
    faqpage_general_is_enabled: Boolean 
    faqpage_general_add_to_menu: String 
    faqpage_general_faq_menu_name: String 
}

4. CHANGELOG

Version 1.0.1

- Added README
- Fixed casting for FaqQuestion Type

Version 1.0.0

- First commit
- Added support for GraphQL