jbl / shopware-config-elements
Adds a bunch of additional config elements for the administration
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:symfony-bundle
Requires
- php: ^8.0
- shopware/core: >=6.5.0.0
This package is auto-updated.
Last update: 2024-12-22 00:34:32 UTC
README
Since shopware's plug-in config only supports some default Elements and some pre-defined components,
this repository aims to extend it by a bunch of new elements.
Feel free to add your own or to adjust the existing ones.
Make sure to pre-build the assets and commit the compiled JS as well.
Install
install bundle
Install via composer:
composer require jbl/shopware-config-elements:dev-main
activate bundle
open config/bundles.php
and add to the end of the array:
Jbl\ShopwareConfigElements\JblShopwareConfigElements::class => ['all' => true]
copy assets
execute in console
bin/console assets:install
Config Elements
jbl-cta
<component name="jbl-cta"> <name>uniqueName</name> <headline>This is a headline</headline> <text>Some Text displyed below the headline</text> <buttonText>Text displayed on button</buttonText> <buttonLink>https://www.something.com/</buttonLink> <buttonVariant>primary|ghost|danger|ghost-danger|contrast|context</buttonVariant> </component>
jbl-simple-text
<component name="jbl-simple-text"> <name>uniqueName</name> <text>This element simply displays some regular text.</text> </component>