mageplaza/module-product-labels-graphql

Mageplaza Magento 2 Product Labels GraphQl

1.0.1 2020-03-09 10:04 UTC

This package is auto-updated.

Last update: 2020-07-09 10:46:48 UTC


README

How to install

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

How to use

To start working with Product Labels GraphQL in Magento, you need the following:

  • Use Magento 2.3.x. Return your site to developer mode
  • Install chrome extension (currently does not support other browsers)
  • Set GraphQL endpoint as http://<magento2-3-server>/graphql in url box, click Set endpoint. (e.g. http://develop.mageplaza.com/graphql/ce232/graphql)
  • Mageplaza-supported queries are fully written in the Description section of Query.LabelRules

  • In addition, the label information is also displayed when using GraphQL to retrieve the information of the Product according to Magento. Supported queries are fully written at Product.ProductInterface.mp_label_data.LabelRules