PHPackages                             flagbit/shopware-6-product-badge - 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. flagbit/shopware-6-product-badge

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

flagbit/shopware-6-product-badge
================================

A badge for the navigation and the product detail page

v2.0.0(4y ago)131proprietaryTwig

Since Jul 12Pushed 4y agoCompare

[ Source](https://github.com/flagbit/sw6-product-badge)[ Packagist](https://packagist.org/packages/flagbit/shopware-6-product-badge)[ RSS](/packages/flagbit-shopware-6-product-badge/feed)WikiDiscussions main Synced today

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

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

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

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

Possible Badges
---------------

[](#possible-badges)

- Discount badge
- Top seller badge
- New badge
- Out of stock badge
- Custom badge

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

[](#possible-configurations)

- select, if any of the badges should be shown in the category lists
- select, if any of the badges should be shown on the product detail page
- select, if the colors of the custom or out-of-stock badge should be set via the configuration
- set the background color of the custom or out-of-stock badge
- set the font color of the custom or out-of-stock badge

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

[](#available-snippets)

- badgeText
- boxLabelDiscount

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

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

### via composer (recommended)

[](#via-composer-recommended)

1. Make sure that `"packagist.org": false` is NOT disabled in your project composer.json
2. Add the package via composer `composer require flagbit/shopware-6-product-badge`
3. Refresh plugins `bin/console plugin:refresh`
4. Install and activate `bin/console plugin:install --activate SschreierProductBadge`

### via download &amp; console

[](#via-download--console)

1. Download the latest *SschreierProductBadge-main.zip*.
2. Unzip the zip file and rename the folder to *SschreierProductBadge*.
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 SschreierProductBadge

```

### via zip upload

[](#via-zip-upload)

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

Images
------

[](#images)

### custom badge in navigation

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

[![custom badge in navigation](https://camo.githubusercontent.com/591598ee4c16519270589ca5b92dc230f7aa33f8eefa834008c94c6ba6e48e5b/68747470733a2f2f7777772e73656261737469616e73636872656965722e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765312e6a7067)](https://camo.githubusercontent.com/591598ee4c16519270589ca5b92dc230f7aa33f8eefa834008c94c6ba6e48e5b/68747470733a2f2f7777772e73656261737469616e73636872656965722e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765312e6a7067)

### custom badge on product detail page

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

[![custom badge on product detail page](https://camo.githubusercontent.com/20a272a673f23da16f0aaca63250d7b28b300a4a976dd581f18e8bfb855a9040/68747470733a2f2f7777772e73656261737469616e73636872656965722e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765322e6a7067)](https://camo.githubusercontent.com/20a272a673f23da16f0aaca63250d7b28b300a4a976dd581f18e8bfb855a9040/68747470733a2f2f7777772e73656261737469616e73636872656965722e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765322e6a7067)

### extension configuration part 1

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

[![extension configuration part 1](https://camo.githubusercontent.com/65afac0a7f192cde16f678d80a26b0b097696219165c73d451ee9150f6a85882/68747470733a2f2f7777772e73656261737469616e73636872656965722e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765332e6a7067)](https://camo.githubusercontent.com/65afac0a7f192cde16f678d80a26b0b097696219165c73d451ee9150f6a85882/68747470733a2f2f7777772e73656261737469616e73636872656965722e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765332e6a7067)

### extension configuration part 2

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

[![extension configuration part 2](https://camo.githubusercontent.com/acf9be5388a4eb4fc1222971db54c394d8b03b28d83672973052efe6d5ff3832/68747470733a2f2f7777772e73656261737469616e73636872656965722e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765342e6a7067)](https://camo.githubusercontent.com/acf9be5388a4eb4fc1222971db54c394d8b03b28d83672973052efe6d5ff3832/68747470733a2f2f7777772e73656261737469616e73636872656965722e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765342e6a7067)

### custom badge in shopware administration

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

[![custom badge in shopware administration](https://camo.githubusercontent.com/a94991097b409fdf23d1549ea2fa27696563fa990a14155f8762233a036edc20/68747470733a2f2f7777772e73656261737469616e73636872656965722e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765352e6a7067)](https://camo.githubusercontent.com/a94991097b409fdf23d1549ea2fa27696563fa990a14155f8762233a036edc20/68747470733a2f2f7777772e73656261737469616e73636872656965722e64652f706c7567696e732f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652f53736368726569657242616467654e617669676174696f6e50726f6475637444657461696c506167652d496d616765352e6a7067)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

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

Total

2

Last Release

1626d ago

Major Versions

v1.0.0 → v2.0.02022-01-20

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/flagbit-shopware-6-product-badge/health.svg)

```
[![Health](https://phpackages.com/badges/flagbit-shopware-6-product-badge/health.svg)](https://phpackages.com/packages/flagbit-shopware-6-product-badge)
```

###  Alternatives

[shopware/production

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

Provides some basic things for managing the Shopware Installation

87820.7k3](/packages/frosh-tools)[adyen/adyen-shopware6

Official Shopware 6 Plugin to connect to Payment Service Provider Adyen

25117.9k](/packages/adyen-adyen-shopware6)[kiener/mollie-payments-plugin

Mollie Payments

6565.2k](/packages/kiener-mollie-payments-plugin)[werkstattl/openblogware

OpenBlogware: A Blog Module for Shopware 6.

438.0k](/packages/werkstattl-openblogware)[basecom/sw6-fixtures-plugin

basecom Fixtures Plugin

19200.5k](/packages/basecom-sw6-fixtures-plugin)

PHPackages © 2026

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