yireo/magento2-byattribute-graph-ql 问题修复 & 功能扩展

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

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

yireo/magento2-byattribute-graph-ql

Composer 安装命令:

composer require yireo/magento2-byattribute-graph-ql

包简介

Show any listing of any product attribute in GraphQL

README 文档

README

This Magento 2 extension adds a GraphQL endpoint for accessing product attributes via GraphQL. This requires at least Magento 2.3 or higher.

To install this module, run:

composer require yireo/magento2-byattribute-graph-ql
./bin/magento module:enable Yireo_ByAttributeGraphQl

Sample GraphQL queries

Here are some sample GraphQL queries to show the usage of this extension:

{
  productAttribute(code:"material") {
    id
    code
    label
    default_value
    options {
      value
      label
      product_count
    }
  }
}

Or if you want to return less information (and include a category filter):

{
  productAttribute(code:"color", category_id: 42) {
    id
    options {
      value
    }
  }
}

TODO

  • Cache vital parts of product count
  • Refactor ProductCounter and split it up in smaller classes

统计信息

  • 总下载量: 375
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2018-11-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固