sschreier/sschreierimprovementdisplaystockdeliveryinformation

improvement of the display of the stock and delivery information

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Language:Twig

Type:shopware-platform-plugin

1.0.3 2025-03-15 09:00 UTC

This package is auto-updated.

Last update: 2025-04-15 09:08:23 UTC


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