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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

Possible Configurations

Available snippets

How to install the extension

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 & 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:

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 & Activate the extension.

Images

custom badge in navigation

custom badge in navigation

custom badge on product detail page

custom badge on product detail page

extension configuration part 1

extension configuration part 1

extension configuration part 2

extension configuration part 2

custom badge in shopware administration

custom badge in shopware administration


All versions of shopware-6-product-badge with dependencies

PHP Build Version
Package Version
Requires shopware/core Version ~6.4.1
shopware/storefront Version ~6.4.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package flagbit/shopware-6-product-badge contains the following files

Loading the files please wait ....