magesource/product-attribute-graphql

Magesource Product Attribute in Graph Ql for Magento 2.

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

pkg:composer/magesource/product-attribute-graphql

dev-main 2024-05-30 06:31 UTC

This package is auto-updated.

Last update: 2025-11-29 03:39:20 UTC


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