PHPackages                             etechflow/module-product-warning - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. etechflow/module-product-warning

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

etechflow/module-product-warning
================================

Per-product and per-category warning banners on the Magento 2 PDP. Admin can write coloured notices, assign them to specific products or whole categories, and the storefront auto-renders them. Theme-agnostic — works on Hyvä, Luma, and any custom theme without template overrides.

1.1.3(1mo ago)01↓85.7%1proprietaryPHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0CI passing

Since Jun 3Pushed 3w agoCompare

[ Source](https://github.com/etechflow/module-product-warning)[ Packagist](https://packagist.org/packages/etechflow/module-product-warning)[ RSS](/packages/etechflow-module-product-warning/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (8)Versions (8)Used By (0)

Etechflow\_ProductWarning — Product Warning Banners for Magento 2
=================================================================

[](#etechflow_productwarning--product-warning-banners-for-magento-2)

Per-product and per-category warning banners on the storefront PDP. Admin can create coloured notices ("This item ships from a remote warehouse", "Cutting service unavailable for this key", "Backorder — 7 day lead time", etc.), assign them to specific products or whole categories, and the storefront auto-renders them above the price.

- **Version:** 1.0.0
- **Package:** `etechflow/module-product-warning`
- **Magento:** 2.4.4 – 2.4.8 (newer versions should work; report incompatibilities)
- **PHP:** 8.1, 8.2, 8.3
- **License:** proprietary (`LICENSE.txt`) — Commercial licenses available at
- **Vendor:** ETechFlow —

---

What you get
------------

[](#what-you-get)

- **Admin grid + edit form** under `Catalog → Inventory Warning`
    - Warning name (admin-only label)
    - Warning message (customer-facing text)
    - Color (hex picker, used for the banner tint + left border)
    - Active toggle, sort order
    - Assigned categories (multi-tree picker — assigns to every product in those categories)
    - Assigned products (search + multi-select picker)
- **Storefront PDP rendering** (auto-injected via this module's own layout XML — no theme override required)
    - Stacks multiple warnings if a product matches several
    - Tints background + border using the warning's color
    - Scoped CSS namespace (`.epw-*`) — won't collide with theme classes
- **Resolver model** (`ETechFlow\ProductWarning\Model\WarningResolver::getForProduct($product)`) for stores that want to render warnings in a custom location (e.g., listing pages, cart, emails)
- **Theme-agnostic by design** — works on Hyvä, Luma, Mage-OS adminhtml, and any custom theme

---

Theme compatibility
-------------------

[](#theme-compatibility)

ThemeStatus**Magento 2 default (Luma / Blank)**✅ Works — vanilla CSS, no Knockout dependency**Hyvä Theme**✅ Works — no Alpine / Tailwind required**Custom themes**✅ Works — uses standard `product.info.main` container which exists in every theme**Mage-OS forks**✅ Works**Adobe Commerce**✅ Works**Headless / PWA Studio**⚠️ Storefront template bypassed; use the `WarningResolver` PHP API or expose a REST endpoint to surface the warnings in your headless front endSee `COMPATIBILITY.md` for the design choices that make this portable.

---

Quick start
-----------

[](#quick-start)

```
# 1. Extract into your Magento root
unzip etechflow-module-product-warning-1.0.0.zip -d /

# 2. Enable + migrate
bin/magento module:enable Etechflow_ProductWarning
bin/magento setup:upgrade
bin/magento setup:di:compile      # production-mode only
bin/magento cache:flush

# 3. Visit the admin
open https://your-store.example.com/admin/etechflow_warning/warning/index
# (or: Admin sidebar → Catalog → Inventory Warning)
```

A fresh install starts with an empty warnings grid. Click **Add New Warning**, set name + message + colour, assign it to a product or category, and reload the PDP — the banner renders above the price.

---

Documentation index
-------------------

[](#documentation-index)

FilePurpose`README.md`Overview, features, compatibility (this file)`INSTALL.md`Manual + Composer install + verification + troubleshooting`USAGE.md`Admin walk-through — creating warnings, assigning to products / categories`CONFIGURATION.md`Module-level customization options + how to move the banner block elsewhere`COMPATIBILITY.md`Theme + Magento + PHP matrix and the choices that keep it portable`CHANGELOG.md`Version history`UNINSTALL.md`Clean removal (disable / drop tables / remove media)`LICENSE.txt`proprietary license text---

Support
-------

[](#support)

- Email:
- Include: Magento version, PHP version, active theme, steps to reproduce, screenshot of the PDP with browser inspector open.

---

License
-------

[](#license)

proprietary — free for commercial and non-commercial use. See `LICENSE.txt`.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance94

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

7

Last Release

39d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/72d596daffc1cbadfe809b006d2fc518e5ca32cdccca9485410d282898d07ba1?d=identicon)[etechflow0](/maintainers/etechflow0)

---

Top Contributors

[![ahmed21-rg](https://avatars.githubusercontent.com/u/185612486?v=4)](https://github.com/ahmed21-rg "ahmed21-rg (3 commits)")[![ayeshanisar786](https://avatars.githubusercontent.com/u/106437953?v=4)](https://github.com/ayeshanisar786 "ayeshanisar786 (2 commits)")

---

Tags

magentoalertmagento2noticehyvalumapdpproduct-warning

### Embed Badge

![Health badge](/badges/etechflow-module-product-warning/health.svg)

```
[![Health](https://phpackages.com/badges/etechflow-module-product-warning/health.svg)](https://phpackages.com/packages/etechflow-module-product-warning)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8064.7M50](/packages/smile-elasticsuite)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

1310.9k2](/packages/opengento-module-category-import-export)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[joseph-leedy/module-custom-fees

Adds configurable custom fees to orders

361.2k](/packages/joseph-leedy-module-custom-fees)[angeo/module-llms-txt

Magento 2 module for AI Engine Optimization (AEO). Generates spec-compliant llms.txt and llms-full.txt per llmstxt.org standard, plus streaming JSONL for vector indexing. Multi-store, multi-website, CLI, cron, async admin UI, Page Builder-aware sanitization, customer-group pricing, atomic writes, ETag/Cache-Control, .md mirrors.

111.1k](/packages/angeo-module-llms-txt)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
