magemontreal / stock-qty-graph-ql
N/A
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/framework: *
This package is auto-updated.
Last update: 2025-04-08 05:42:23 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