magepulse / magento2-module-products
Adds product catalogue data to the MagePulse Collector payload.
Package info
github.com/MagePulse/magento2-module-products
Type:magento2-module
pkg:composer/magepulse/magento2-module-products
0.1.0
2026-03-27 18:10 UTC
Requires
- ext-sodium: *
- magento/framework: >=2.3.0
- magepulse/magento2-module-collector: ^0.1
- magepulse/magento2-module-core: ^1.1
README
This module adds product counts, type breakdown, stock status, and category totals to the MagePulse Collector payload.
Payload
Data is collected under the products key within the mainGroup of the MagePulse Collector payload:
{
"products": {
"total_enabled": 150,
"total_disabled": 25,
"by_type": {
"simple": 120,
"configurable": 30,
"virtual": 10,
"bundle": 8,
"downloadable": 5,
"grouped": 2
},
"out_of_stock": 8,
"total_categories": 45,
"visible_in_catalogue": 160
}
}
Fields
| Field | Type | Description |
|---|---|---|
total_enabled |
int |
Count of enabled products |
total_disabled |
int |
Count of disabled products |
by_type |
object |
Product counts keyed by product type ID (e.g. simple, configurable) |
out_of_stock |
int |
Count of stock-managed items currently out of stock |
total_categories |
int |
Count of categories (excludes root category) |
visible_in_catalogue |
int |
Count of products visible in catalogue or both catalogue and search |