Mageplaza Product Labels Extension supports getting and pushing data on the website with GraphQl, this support for PWA Studio.
Run the following command in Magento 2 root folder:
composer require mageplaza/module-product-labels-graphql
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Note: Mageplaza Product Labels GraphQL requires installing Mageplaza Product Labels in your Magento installation.
To perform GraphQL queries in Magento, please do the following requirements:
- Use Magento 2.3.x or higher. Set your site to developer mode.
- Set GraphQL endpoint as
http://<magento2-server>/graphql
in url box, click Set endpoint. (e.g.http://dev.site.com/graphql
) - To view the queries that the Mageplaza Product Labels GraphQL extension supports, you can look in
Docs > Query
in the right corner
Feel free to Fork and contribute to this module and create a pull request so we will merge your changes main branch.
- Feel free to contact us if you have any further questions.
- Like this project, Give us a Star