magemontreal / stock-qty-graph-ql
There is no license information available for the latest version (1.0.0) of this package.
N/A
Package info
github.com/MageMontreal/magento2-stock-qty-graph-ql
Type:magento2-module
pkg:composer/magemontreal/stock-qty-graph-ql
1.0.0
2021-09-29 13:56 UTC
Requires
- magento/framework: *
This package is auto-updated.
Last update: 2026-03-08 07:30:06 UTC
README
composer require magemontreal/stock-qty-graph-ql
Main Functionalities
Added stock_qty to product GraphQl
Example:
{
products(search: "Black", pageSize: 5) {
total_count
items {
name,
stock_qty,
sku
}
page_info {
page_size
current_page
}
}
}
Installation
Run: composer require magemontreal/stock-qty-graph-ql and run bin/magento se:up
Type 1: Zip file
- Unzip the zip file in
app/code/MageMontreal/StockQtyGraphQl - Enable the module by running
php bin/magento module:enable MageMontreal_StockQtyGraphQl - Apply database updates by running
php bin/magento setup:upgrade - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Install the module composer by running
composer require magemontreal/stock-qty-graph-ql - enable the module by running
php bin/magento module:enable MageMontreal_StockQtyGraphQl - apply database updates by running
php bin/magento setup:upgrade - Flush the cache by running
php bin/magento cache:flush
