---
tags: [products, notification]
module: Products
---

# [Notification]Notifications

## Connections
[[_Products]] · [[[Model]WarehouseProduct]] · [[[Observer]Observers]] · [[[Cross]CrossModuleDependencies]]

## Source
`Modules/Products/Notifications/`

## Notification Classes (4)
| Class | Trigger |
|---|---|
| NotifyProductMinimumQuantity | Product stock reaches minimum_quantity |
| NotifyProductBelowMinimumQuantity | Product stock drops below minimum_quantity |
| NotifyWarehouseProductMinimumQuantity | Warehouse-specific stock at minimum |
| NotifyWarehouseProductBelowMinimumQuantity | Warehouse-specific stock below minimum |

## Content Generators (4)
One per notification class: generates title + body for notification.

## Targeting
- Users with `inventory.warehouse.{warehouse_id}.view` permission
- Deduplication: 24-hour check to prevent duplicate alerts
- Guard: FeaturesEnum::INVENTORY must be active + `allow_notification=true` on WarehouseProduct

## Used By
[[[Observer]Observers#WarehouseProductObserver]] → dispatches on WarehouseProduct updated event
