sschreier/sschreierbadgenavigationproductdetailpage
最新稳定版本:1.3.1
Composer 安装命令:
composer require sschreier/sschreierbadgenavigationproductdetailpage
包简介
badges for the navigation and the product detail page
README 文档
README
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
- 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
- badgeOutOfStockText
- badgeText
- boxLabelDiscount
How to install the extension
via zip and console (recommended)
- Download the latest SschreierBadgeNavigationProductDetailPage-master.zip.
- Unzip the zip file and rename the folder to SschreierBadgeNavigationProductDetailPage.
- Move the folder to the project folder custom/plugins/ .
- Connect to the console via ssh:
bin/console plugin:refresh
bin/console plugin:install --activate SschreierBadgeNavigationProductDetailPage
via composer
- Add the repository URL to the composer.json of the project
"repositories": [
...,
{
"type": "vcs",
"url": "https://github.com/sschreier/SschreierBadgeNavigationProductDetailPage"
}
],
- 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 https://packagist.org
- 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
- Download the latest SschreierBadgeNavigationProductDetailPage-master.zip.
- Unzip the zip file and rename the folder to SschreierBadgeNavigationProductDetailPage.
- Zip the folder to SschreierBadgeNavigationProductDetailPage.zip.
- Upload the zip in the Shopware Administration.
- Install & Activate the extension.
extension update (zip)
- Download the latest SschreierBadgeNavigationProductDetailPage-master.zip.
- Unzip the zip file and rename the folder to SschreierBadgeNavigationProductDetailPage.
- Zip the folder to SschreierBadgeNavigationProductDetailPage.zip.
- Upload the zip in the Shopware Administration.
- Update the extension.
Images
custom badge in navigation
custom badge on product detail page
extension configuration part 1
extension configuration part 2
extension configuration part 3
extension configuration part 4
custom badges in shopware administration
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-03-09