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
Requires
- shopware/core: ~6.6.0
- shopware/storefront: ~6.6.0
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:
- 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.