magesource/product-attribute-graphql
Composer 安装命令:
composer require magesource/product-attribute-graphql
包简介
Magesource Product Attribute in Graph Ql for Magento 2.
README 文档
README
Magesource Product Attribute in Graph Ql for Magento 2.
Installation
-
Install the module composer by running
composer require magesource/product-attribute-graphql:dev-main -
Enable the module by running
php bin/magento module:enable Magesource_ProductAttributeGraphQl -
Run Magento commands by running
php bin/magento set:up;php bin/magento s:d:c;php bin/magento s:s:d -f;php bin/magento c:f
Features
Create custom product attribute and get value in product api of graph ql.
Testing
Use graphql after magento 2 store base url {Magento 2 Base Url}/graphql
Query:
{ products( filter: { sku: { eq: "{Product Sku}" } } ){ items { id sku name is_type } } }
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2024-05-30