mageprince/module-faq 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mageprince/module-faq

Composer 安装命令:

composer require mageprince/module-faq

包简介

Magento2 FAQ Module

README 文档

README

Latest Stable Version Total Downloads Monthly Downloads License Scrutinizer Code Quality Code Intelligence Status

Magento 2 FAQ

This module adds an easy and efficient way to integrate a comprehensive FAQ section into your Magento store using a jQuery Accordion layout. It allows the admin to create and manage FAQs and organize them into groups, each with its own icon for better visual distinction. With a rich WYSIWYG editor, admins can enhance FAQ answers by adding widgets, static blocks, images, and more. The module streamlines customer support by making key information easily accessible in a user-friendly and interactive format.

✨ Features

  • Display all FAQs or FAQs by group on CMS pages and static blocks
  • Enable AJAX-based FAQ loading on group selection for a seamless frontend experience
  • Define a custom URL for the FAQ page
  • Full GraphQL support to retrieve all FAQs, FAQs by group ID, and FAQ groups
  • Create and manage FAQ groups (categories) with editing capabilities
  • Provide detailed FAQ answers using a rich WYSIWYG editor
  • Assign store view visibility to individual FAQs and FAQ groups
  • Restrict FAQ and group visibility by customer group
  • Organize FAQs into groups for better navigation and user experience
  • Lightweight and easy-to-install extension with no impact on site performance
  • Supports multistore environments
  • Add custom icons to FAQ groups
  • Support for inserting images, static blocks, and widgets in FAQ answers
  • Support for collapse/expand view toggle on the FAQ page
  • Hyva compatible

Check full description and user guid on Magento Marketplace

📺 Demo

Frontend | Backend

🚀 Installation Instructions

1. Install from Magento Marketplace

Magento Marketplace Link

2. Install via composer (packagist.org)

Run the following Magento CLI commands:

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

3. Manual Installation

Copy the content of the repo to the Magento 2 app/code/Mageprince/Paymentfee

Run the following Magento CLI commands:

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
  }
}

How to Display FAQs in CMS Pages or Static Blocks

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.

📸 Screenshots

1_faq_page 3_widget 5_group_grid 6_group_edit 7_faq_grid 9_faq_edit_1 10_faq_edit_2 11_configuration_1 12_configuration_2 13_widget

mageprince/module-faq 适用场景与选型建议

mageprince/module-faq 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 113.29k 次下载、GitHub Stars 达 58, 最近一次更新时间为 2018 年 08 月 03 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 mageprince/module-faq 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 mageprince/module-faq 我们能提供哪些服务?
定制开发 / 二次开发

基于 mageprince/module-faq 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 113.29k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 58
  • 点击次数: 11
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 58
  • Watchers: 5
  • Forks: 41
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2018-08-03