PHPackages                             sschreier/sschreierbadgenavigationproductdetailpage - 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. sschreier/sschreierbadgenavigationproductdetailpage

ActiveShopware-platform-plugin[Utility &amp; Helpers](/categories/utility)

sschreier/sschreierbadgenavigationproductdetailpage
===================================================

badges for the navigation and the product detail page

1.3.1(7mo ago)1572GPL-3.0-or-laterTwig

Since Sep 13Pushed 7mo ago4 watchersCompare

[ Source](https://github.com/sschreier/SschreierBadgeNavigationProductDetailPage)[ Packagist](https://packagist.org/packages/sschreier/sschreierbadgenavigationproductdetailpage)[ RSS](/packages/sschreier-sschreierbadgenavigationproductdetailpage/feed)WikiDiscussions master Synced 1mo ago

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

A extension for badges for the navigation and the product detail page for Shopware 6
====================================================================================

[](#a-extension-for-badges-for-the-navigation-and-the-product-detail-page-for-shopware-6)

A extension for *badges for the navigation and the product detail page*. The text from the custom badges is set at the custom fields at the product. The background color and the font color of the badges could be set over the configuration or at the product. The custom badges are also displayed when assigning a product page layout. When you increase the value from the constant *NUMBER\_BADGES* in the file *SschreierBadgeNavigationProductDetailPage.php* in the *src*-directory before the installation, you can add so much badges as you like.

Possible Configurations
-----------------------

[](#possible-configurations)

- select, if the discount badge should be shown in the category lists
- select, if the discount badge should be shown on the product detail page
- select, if the topseller badge should be shown in the category lists
- select, if the topseller badge should be shown on the product detail page
- select, if the new badge should be shown in the category lists
- select, if the new badge should be shown on the product detail page
- select, if the out of stock badge should be shown in the category lists
- select, if the out of stock badge should be shown on the product detail page
- set the background color of the out of stock badge
- set the font color of the out of stock badge
- set the content of the out of stock badge via snippet
- select, if the custom badge 1 should be shown in the category lists
- select, if the custom badge 1 should be shown on the product detail page
- select, if the colors of the custom badge 1 should be set via the configuration
- set the background color of the custom badge 1
- set the font color of the custom badge 1
- select, if the custom badge 2 should be shown in the category lists
- select, if the custom badge 2 should be shown on the product detail page
- select, if the colors of the custom badge 2 should be set via the configuration
- set the background color of the custom badge 2
- set the font color of the custom badge 2
- select, if the custom badge 3 should be shown in the category lists
- select, if the custom badge 3 should be shown on the product detail page
- select, if the colors of the custom badge 3 should be set via the configuration
- set the background color of the custom badge 3
- set the font color of the custom badge 3
- select, if the custom badge 4 should be shown in the category lists
- select, if the custom badge 4 should be shown on the product detail page
- select, if the colors of the custom badge 4 should be set via the configuration
- set the background color of the custom badge 4
- set the font color of the custom badge 4
- select, if the custom badge 5 should be shown in the category lists
- select, if the custom badge 5 should be shown on the product detail page
- select, if the colors of the custom badge 5 should be set via the configuration
- set the background color of the custom badge 5
- set the font color of the custom badge 5

Available snippets
------------------

[](#available-snippets)

- badgeOutOfStockText
- badgeText
- boxLabelDiscount

How to install the extension
----------------------------

[](#how-to-install-the-extension)

### via zip and console (recommended)

[](#via-zip-and-console-recommended)

1. Download the latest *SschreierBadgeNavigationProductDetailPage-master.zip*.
2. Unzip the zip file and rename the folder to *SschreierBadgeNavigationProductDetailPage*.
3. Move the folder to the project folder *custom/plugins/* .
4. Connect to the console via ssh:

```
bin/console plugin:refresh
bin/console plugin:install --activate SschreierBadgeNavigationProductDetailPage

```

### via composer

[](#via-composer)

1. Add the repository URL to the composer.json of the project

```
"repositories": [
    ...,
    {
        "type": "vcs",
        "url": "https://github.com/sschreier/SschreierBadgeNavigationProductDetailPage"
    }
],

```

2. Connect to the console via ssh and install the plugin via the command

```
composer require sschreier/sschreierbadgenavigationproductdetailpage
bin/console plugin:refresh
bin/console plugin:install --activate SschreierBadgeNavigationProductDetailPage

```

### via

[](#via-httpspackagistorg)

- Connect to the console via ssh and install the plugin via the command

```
composer require sschreier/sschreierbadgenavigationproductdetailpage
bin/console plugin:refresh
bin/console plugin:install --activate SschreierBadgeNavigationProductDetailPage

```

### via zip upload

[](#via-zip-upload)

1. Download the latest *SschreierBadgeNavigationProductDetailPage-master.zip*.
2. Unzip the zip file and rename the folder to *SschreierBadgeNavigationProductDetailPage*.
3. Zip the folder to *SschreierBadgeNavigationProductDetailPage.zip*.
4. Upload the zip in the Shopware Administration.
5. Install &amp; Activate the extension.

#### extension update (zip)

[](#extension-update-zip)

1. Download the latest *SschreierBadgeNavigationProductDetailPage-master.zip*.
2. Unzip the zip file and rename the folder to *SschreierBadgeNavigationProductDetailPage*.
3. Zip the folder to *SschreierBadgeNavigationProductDetailPage.zip*.
4. Upload the zip in the Shopware Administration.
5. Update the extension.

Images
------

[](#images)

### custom badge in navigation

[](#custom-badge-in-navigation)

[![custom badge in navigation](https://camo.githubusercontent.com/dea7c078fa6242bcc63f17f8cd2ba85f55c8e7015950a38b38060f94fd27fb4d/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765312e6a7067)](https://camo.githubusercontent.com/dea7c078fa6242bcc63f17f8cd2ba85f55c8e7015950a38b38060f94fd27fb4d/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765312e6a7067)

### custom badge on product detail page

[](#custom-badge-on-product-detail-page)

[![custom badge on product detail page](https://camo.githubusercontent.com/f880089ae3ae8a08313adf414b1786a12d84d01b20f85d056b4f83b151b926c8/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765322e6a7067)](https://camo.githubusercontent.com/f880089ae3ae8a08313adf414b1786a12d84d01b20f85d056b4f83b151b926c8/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765322e6a7067)

### extension configuration part 1

[](#extension-configuration-part-1)

[![extension configuration part 1](https://camo.githubusercontent.com/9d76bcf0a5b21c1e9c823da2f910bd927d209465202cd3d5accb57841b4eb225/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765332e6a7067)](https://camo.githubusercontent.com/9d76bcf0a5b21c1e9c823da2f910bd927d209465202cd3d5accb57841b4eb225/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765332e6a7067)

### extension configuration part 2

[](#extension-configuration-part-2)

[![extension configuration part 2](https://camo.githubusercontent.com/1b6fa7037044a9b6fe048b0ef0ad649cd257319077fd3dd001a689b3272df5d4/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765342e6a7067)](https://camo.githubusercontent.com/1b6fa7037044a9b6fe048b0ef0ad649cd257319077fd3dd001a689b3272df5d4/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765342e6a7067)

### extension configuration part 3

[](#extension-configuration-part-3)

[![extension configuration part 3](https://camo.githubusercontent.com/f24edeef68dbf965a0ad7f9e2f800894b18687941706040154d7254584f6a0b8/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765352e6a7067)](https://camo.githubusercontent.com/f24edeef68dbf965a0ad7f9e2f800894b18687941706040154d7254584f6a0b8/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765352e6a7067)

### extension configuration part 4

[](#extension-configuration-part-4)

[![extension configuration part 4](https://camo.githubusercontent.com/029570df979edfa5e286b3ed807fb0ac58cfdd762349d6e7829032da2c98ad18/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765362e6a7067)](https://camo.githubusercontent.com/029570df979edfa5e286b3ed807fb0ac58cfdd762349d6e7829032da2c98ad18/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765362e6a7067)

### custom badges in shopware administration

[](#custom-badges-in-shopware-administration)

[![custom badge in shopware administration](https://camo.githubusercontent.com/62ca7ecf483fa3bf42a6b4b29b67b767e428e595e90d4e163e0d950debaf5a68/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765372e6a7067)](https://camo.githubusercontent.com/62ca7ecf483fa3bf42a6b4b29b67b767e428e595e90d4e163e0d950debaf5a68/68747470733a2f2f7777772e7765622d736f6c7574696f6e732d6472657364656e2e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765372e6a7067)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance65

Regular maintenance activity

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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 ~126 days

Recently: every ~66 days

Total

7

Last Release

214d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62dc2323b3934f1d1569745338904fc37f372802ebdd6e945a4938b399aaf4da?d=identicon)[sschreier](/maintainers/sschreier)

---

Tags

badgebadgesshopwareshopware-platform-pluginshopware-pluginshopware6shopware6-plugin

### Embed Badge

![Health badge](/badges/sschreier-sschreierbadgenavigationproductdetailpage/health.svg)

```
[![Health](https://phpackages.com/badges/sschreier-sschreierbadgenavigationproductdetailpage/health.svg)](https://phpackages.com/packages/sschreier-sschreierbadgenavigationproductdetailpage)
```

###  Alternatives

[frosh/tools

Provides some basic things for managing the Shopware Installation

79709.7k2](/packages/frosh-tools)[werkstattl/openblogware

OpenBlogware: A Blog Module for Shopware 6.

415.7k](/packages/werkstattl-openblogware)[shopware-pwa/shopware-pwa

Shopware PWA extension

4074.0k](/packages/shopware-pwa-shopware-pwa)[basecom/sw6-fixtures-plugin

basecom Fixtures Plugin

18185.5k](/packages/basecom-sw6-fixtures-plugin)[frosh/product-compare

A Simple Product Compare plugin for Shopware 6

4032.8k](/packages/frosh-product-compare)[swag/migration-assistant

Migration plugin for shopware/platform

2036.3k](/packages/swag-migration-assistant)

PHPackages © 2026

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