定制 sschreier/sschreierimprovementdisplaystockdeliveryinformation 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Switch to "Content" and "Themes"
  2. Select the active theme
  3. Click on the button "Save"

How to install the extension

via zip and console (recommended)

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

via composer

  1. Add the repository URL to the composer.json of the project
"repositories": [
    ...,
    {
        "type": "vcs",
        "url": "https://github.com/sschreier/SschreierImprovementDisplayStockDeliveryInformation"
    }
],
  1. 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

  1. Download the latest SschreierImprovementDisplayStockDeliveryInformation-master.zip.
  2. Unzip the zip file and rename the folder to SschreierImprovementDisplayStockDeliveryInformation.
  3. Zip the folder to SschreierImprovementDisplayStockDeliveryInformation.zip.
  4. Upload the zip in the Shopware Administration.
  5. Install & Activate the extension.

extension update (zip)

  1. Download the latest SschreierImprovementDisplayStockDeliveryInformation-master.zip.
  2. Unzip the zip file and rename the folder to SschreierImprovementDisplayStockDeliveryInformation.
  3. Zip the folder to SschreierImprovementDisplayStockDeliveryInformation.zip.
  4. Upload the zip in the Shopware Administration.
  5. 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 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 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 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, if the product is sold out

circle with an icon for the status when a product will be back in stock

circle with an icon for the status when a product will be back in stock

circle without an icon, but with colorized text

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

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

two circles without icons for the status, if the product has a release date

extension configuration part 1

extension configuration part 1

extension configuration part 2

extension configuration part 2

extension configuration part 3

extension configuration part 3

extension configuration part 4

extension configuration part 4

extension configuration part 5

extension configuration part 5

extension configuration part 6

extension configuration part 6

extension configuration part 7

extension configuration part 7

extension configuration part 8

extension configuration part 8

extension configuration part 9

extension configuration part 9

extension configuration part 10

extension configuration part 10

sschreier/sschreierimprovementdisplaystockdeliveryinformation 适用场景与选型建议

sschreier/sschreierimprovementdisplaystockdeliveryinformation 是一款 基于 Twig 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 03 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 sschreier/sschreierimprovementdisplaystockdeliveryinformation 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 sschreier/sschreierimprovementdisplaystockdeliveryinformation 我们能提供哪些服务?
定制开发 / 二次开发

基于 sschreier/sschreierimprovementdisplaystockdeliveryinformation 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 11
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • 开发语言: Twig

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2025-03-09