sschreier/sschreierimprovementdisplaystockdeliveryinformation
Composer 安装命令:
composer require sschreier/sschreierimprovementdisplaystockdeliveryinformation
包简介
improvement of the display of the stock and delivery information
README 文档
README
An extension to improve the display of the stock and delivery information on the product detail page. In the interest of accessibility, it is possible to display the availability indicator not only in color, but also via icons (checkmark, exclamation and X).
For the icons, the color, the width, the height and the distance to the top can be specified in pixels.
For the exclamation mark can be made different settings.
For the circle, the width, height and distance to the top can be specified in pixels.
If necessary, the text can also be colorized.
In addition, you can customize the color and the text for each status within the configuration of the extension.
If the product is available and has a delivery time, three circles can be displayed instead of one. If the product has a release date or the status when it will be back in stock, you can display two circles instead of one.
Possible configurations for the circle without icon
- select the width in pixels (*1)
- select the height in pixels (*1)
- select the distance to the top in pixels (*1)
Possible configurations for the circle with icon
- select the height in pixels (*1)
- select the distance to the top in pixels (*1)
Possible configurations for the icons
- select if the icons should be shown
- select the color (*1)
- select the width in pixels (*1)
- select the height in pixels (*1)
- select the distance to the top in pixels (*1)
Possible configurations for the exclamation icon
- select the width in pixels (*1)
- select the height in pixels (*1)
- select the distance to the top in pixels (*1)
- select the outside distance to the top in pixels (*1)
Possible configurations for the text
- select if the text should be colorized
Possible configurations for the status, if the product is not active
- select the color (*1)
- set the text via snippet
Possible configurations for the status, if the product has a release date
- select if two circles should be shown
- select the color (*1)
- set the text via snippet
Possible configurations for the status, if the product is available and has a delivery time
- select if three circles should be shown
- select the color (*1)
- set the text via snippet
Possible configurations for the status, if the product is sold out
- select the color (*1)
- set the text via snippet
Possible configurations for the status when a product will be back in stock
- select if two circles should be shown
- select the color (*1)
- set the text via snippet
Available snippets
- general.deliveryNotAvailable
- general.deliveryShipping
- detail.deliveryTimeAvailable
- detail.soldOut
- detail.deliveryTimeRestock
Some changes in the settings within the configuration are not immediately visible in the frontend of the shop
After changing settings specifically for the appearance of the circles and the icons (*1), the theme must be recompiled, for example by saving the theme in the administration:
- Switch to "Content" and "Themes"
- Select the active theme
- Click on the button "Save"
How to install the extension
via zip and console (recommended)
- Download the latest SschreierImprovementDisplayStockDeliveryInformation-master.zip.
- Unzip the zip file and rename the folder to SschreierImprovementDisplayStockDeliveryInformation.
- Move the folder to the project folder custom/plugins/ .
- Connect to the console via ssh:
bin/console plugin:refresh
bin/console plugin:install --activate SschreierImprovementDisplayStockDeliveryInformation
via composer
- Add the repository URL to the composer.json of the project
"repositories": [
...,
{
"type": "vcs",
"url": "https://github.com/sschreier/SschreierImprovementDisplayStockDeliveryInformation"
}
],
- Connect to the console via ssh and install the plugin via the command
composer require sschreier/sschreierimprovementdisplaystockdeliveryinformation
bin/console plugin:refresh
bin/console plugin:install --activate SschreierImprovementDisplayStockDeliveryInformation
via https://packagist.org
- Connect to the console via ssh and install the plugin via the command
composer require sschreier/sschreierimprovementdisplaystockdeliveryinformation
bin/console plugin:refresh
bin/console plugin:install --activate SschreierImprovementDisplayStockDeliveryInformation
via zip upload
- Download the latest SschreierImprovementDisplayStockDeliveryInformation-master.zip.
- Unzip the zip file and rename the folder to SschreierImprovementDisplayStockDeliveryInformation.
- Zip the folder to SschreierImprovementDisplayStockDeliveryInformation.zip.
- Upload the zip in the Shopware Administration.
- Install & Activate the extension.
extension update (zip)
- Download the latest SschreierImprovementDisplayStockDeliveryInformation-master.zip.
- Unzip the zip file and rename the folder to SschreierImprovementDisplayStockDeliveryInformation.
- Zip the folder to SschreierImprovementDisplayStockDeliveryInformation.zip.
- Upload the zip in the Shopware Administration.
- Update the extension.
Images
circle with an icon for the status, if the product is not active
circle with an icon for the status, if the product has a release date
circle with an icon for the status, if the product is available and has a delivery time
circle with an icon for the status, if the product is sold out
circle with an icon for the status when a product will be back in stock
circle without an icon, but with colorized text
three circles without icons for the status, if the product is available and has a delivery time
two circles without icons for the status, if the product has a release date
extension configuration part 1
extension configuration part 2
extension configuration part 3
extension configuration part 4
extension configuration part 5
extension configuration part 6
extension configuration part 7
extension configuration part 8
extension configuration part 9
extension configuration part 10
sschreier/sschreierimprovementdisplaystockdeliveryinformation 适用场景与选型建议
sschreier/sschreierimprovementdisplaystockdeliveryinformation 是一款 基于 Twig 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 03 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 sschreier/sschreierimprovementdisplaystockdeliveryinformation 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sschreier/sschreierimprovementdisplaystockdeliveryinformation 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-03-09