Download the PHP package flagbit/shopware-6-product-badge without Composer
On this page you can find all versions of the php package flagbit/shopware-6-product-badge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download flagbit/shopware-6-product-badge
More information about flagbit/shopware-6-product-badge
Files in flagbit/shopware-6-product-badge
Package shopware-6-product-badge
Short Description A badge for the navigation and the product detail page
License proprietary
Informations about the package shopware-6-product-badge
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 _NUMBERBADGES in the file SschreierProductBadge.php in the src-directory before the installation, you can add so much badges as you like.
Possible Badges
- Discount badge
- Top seller badge
- New badge
- Out of stock badge
- Custom badge
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
- badgeText
- boxLabelDiscount
How to install the extension
via composer (recommended)
- Make sure that
"packagist.org": false
is NOT disabled in your project composer.json - Add the package via composer
composer require flagbit/shopware-6-product-badge
- Refresh plugins
bin/console plugin:refresh
- Install and activate
bin/console plugin:install --activate SschreierProductBadge
via download & console
- Download the latest SschreierProductBadge-main.zip.
- Unzip the zip file and rename the folder to SschreierProductBadge.
- Move the folder to the project folder custom/plugins/ .
- Connect to the console via ssh:
via zip upload
- Download the latest SschreierProductBadge-main.zip.
- Unzip the zip file and rename the folder to SschreierProductBadge.
- Zip the folder to SschreierProductBadge.zip.
- Upload the zip in the Shopware Administration.
- Install & Activate the extension.