PHPackages                             px86/category-notifier - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. px86/category-notifier

ActiveShopware-platform-plugin[Mail &amp; Notifications](/categories/mail)

px86/category-notifier
======================

Ermöglicht Besuchern, sich für Benachrichtigungen zu neuen Produkten in Kategorien anzumelden

v1.0.7(2mo ago)091MITPHP

Since Nov 12Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/px86de/shopware-category-notifier)[ Packagist](https://packagist.org/packages/px86/category-notifier)[ RSS](/packages/px86-category-notifier/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (3)Versions (10)Used By (0)

Shopware Category Notifier Plugin
=================================

[](#shopware-category-notifier-plugin)

[![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT) [![Packagist Version](https://camo.githubusercontent.com/9bcd95b5eb69fd784da2e26d353ca5d9e83881f316b2c8ecc2936b67165cab84/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707838362f63617465676f72792d6e6f7469666965723f6c6162656c3d737461626c65)](https://packagist.org/packages/px86/category-notifier) [![Packagist Downloads](https://camo.githubusercontent.com/435e3013f555476511db79072b6092f92582cd241624e08579a6472e3c983036/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707838362f63617465676f72792d6e6f746966696572)](https://packagist.org/packages/px86/category-notifier)

A Shopware 6.6+ / 6.7 plugin that allows visitors to subscribe to email notifications for new products in specific categories.

Thanks for your Support &lt;3
-----------------------------

[](#thanks-for-your-support-3)

[!["Buy Me A Coffee"](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://buymeacoffee.com/busaku)

Features
--------

[](#features)

- ✅ **Frontend subscription form** on category pages
- ✅ **Double-Opt-In** confirmation via email
- ✅ **Automatic notifications** for new products
- ✅ **Notifications for category assignments** to existing products
- ✅ **Administration module** to manage subscriptions
- ✅ **Multilingual** (German/English)
- ✅ **GDPR compliant** with unsubscribe functionality
- ✅ **Customizable email templates** in admin panel
- ✅ **Compatible** with Shopware 6.6 and 6.7

Installation
------------

[](#installation)

### Via Composer (recommended)

[](#via-composer-recommended)

```
composer require px86/category-notifier
bin/console plugin:refresh
bin/console plugin:install --activate Px86CategoryNotifier
```

### Manual Installation

[](#manual-installation)

1. Download the latest release ZIP
2. Extract to `custom/plugins/Px86CategoryNotifier`
3. Install via CLI: ```
    bin/console plugin:refresh
    bin/console plugin:install --activate Px86CategoryNotifier
    ```

### Build Assets

[](#build-assets)

After installation, build the assets:

```
# Storefront assets
bin/console assets:install
bin/build-storefront.sh

# Administration assets
bin/build-administration.sh
```

Configuration
-------------

[](#configuration)

Navigate to: **Settings → Extensions → My Extensions → Px86CategoryNotifier → ... → Configuration**

### Basic Settings

[](#basic-settings)

- **Display Mode**: Configure where the subscription form should appear

    - Show in all categories
    - Show only in selected categories
    - Show in all except selected categories
- **Selected Categories**: Choose specific categories (required for "selected" and "excluded" modes)

### Form Display

[](#form-display)

- **Form Position**: Choose whether to display the form above or below the product listing

Customization
-------------

[](#customization)

### Storefront Texts

[](#storefront-texts)

Text strings in the subscription form can be customized in the snippet files:

**German:**

```
src/Resources/snippet/de_DE/messages.de-DE.json

```

**English:**

```
src/Resources/snippet/en_GB/messages.en-GB.json

```

Available snippet keys:

- `px86-category-notifier.subscription.title` - Form heading
- `px86-category-notifier.subscription.description` - Form description
- `px86-category-notifier.subscription.email` - Email field label
- `px86-category-notifier.subscription.firstName` - First name label
- `px86-category-notifier.subscription.lastName` - Last name label
- `px86-category-notifier.subscription.submit` - Submit button text
- `px86-category-notifier.subscription.success` - Success message
- `px86-category-notifier.subscription.error.*` - Error messages

**Clear cache after changes:**

```
bin/console cache:clear
```

### Email Templates

[](#email-templates)

Email templates can be edited directly in the admin panel:

**Settings → Email Templates**

Search for "Category" or filter by plugin:

- **Category Notification: Confirmation** - Double-opt-in email
- **Category Notification: New Product** - Product notification email

### Styling

[](#styling)

Customize the form design in:

```
src/Resources/app/storefront/src/scss/base.scss

```

### Additional Languages

[](#additional-languages)

Add translations by creating new snippet files under `src/Resources/snippet/`

Technical Details
-----------------

[](#technical-details)

### Database Schema

[](#database-schema)

Table: `px86_category_notifier_subscription`

- Stores email, category ID, name, and status
- Foreign keys to `category` and `salutation` tables
- Optimized with indexes for performance

### Event System

[](#event-system)

- Listens to `ProductEvents::PRODUCT_WRITTEN_EVENT`
- Automatically detects new products
- Sends notifications to all confirmed subscribers
- Detects category assignments to existing products

### API Endpoints

[](#api-endpoints)

- `POST /category-notifier/subscribe` - Create new subscription
- `GET /category-notifier/confirm/{token}` - Confirm subscription
- `GET /category-notifier/unsubscribe/{email}/{categoryId}` - Unsubscribe

Development
-----------

[](#development)

### Requirements

[](#requirements)

- PHP 8.1+
- Shopware 6.6.0+ or 6.7.0+
- Composer
- Node.js (for asset building)

### Code Quality

[](#code-quality)

This plugin follows Shopware Store quality guidelines:

- ✅ PSR-4 Autoloading
- ✅ Shopware 6.6/6.7 API compatibility
- ✅ Multilingual support
- ✅ Admin interface
- ✅ Proper migration system
- ✅ Service container pattern
- ✅ Event subscriber pattern
- ✅ GDPR compliant

Changelog
---------

[](#changelog)

### Version 1.0.0

[](#version-100)

- Initial release
- Frontend subscription form
- Double-opt-in confirmation
- Automatic product notifications
- Administration module for subscription management
- Multilingual support (DE/EN)
- Customizable email templates
- GDPR-compliant unsubscribe functionality

Support
-------

[](#support)

- **Issues**: [GitHub Issues](https://github.com/px86de/shopware-category-notifier/issues)
- **Donate**: [Buy me a coffee](https://buymeacoffee.com/busaku)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance86

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.2% 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 ~23 days

Recently: every ~40 days

Total

8

Last Release

71d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25269085?v=4)[PaD](/maintainers/busaku)[@busaku](https://github.com/busaku)

---

Top Contributors

[![busaku](https://avatars.githubusercontent.com/u/25269085?v=4)](https://github.com/busaku "busaku (15 commits)")[![x1h0](https://avatars.githubusercontent.com/u/10372217?v=4)](https://github.com/x1h0 "x1h0 (2 commits)")

### Embed Badge

![Health badge](/badges/px86-category-notifier/health.svg)

```
[![Health](https://phpackages.com/badges/px86-category-notifier/health.svg)](https://phpackages.com/packages/px86-category-notifier)
```

###  Alternatives

[shopware/storefront

Storefront for Shopware

684.6M237](/packages/shopware-storefront)[shopware/production

177209.0k](/packages/shopware-production)[frosh/tools

Provides some basic things for managing the Shopware Installation

87820.7k3](/packages/frosh-tools)[shopware/administration

Administration frontend for the Shopware Core

414.3M116](/packages/shopware-administration)[shopware/elasticsearch

Elasticsearch for Shopware

153.9M19](/packages/shopware-elasticsearch)[frosh/mail-platform-archive

Mail Archive

23237.8k](/packages/frosh-mail-platform-archive)

PHPackages © 2026

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