swcommerce / javascript-css-injector
SwCommerce JavaScript/CSS Injector
Package info
github.com/sw-commerce/javascript-css-injector
Type:shopware-platform-plugin
pkg:composer/swcommerce/javascript-css-injector
1.0.1
2025-06-13 15:18 UTC
Requires
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.75
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^12.1
- squizlabs/php_codesniffer: ^3.12
This package is auto-updated.
Last update: 2026-04-13 17:22:18 UTC
README
This plugin for Shopware 6 lets you manage custom JavaScript and CSS/SCSS snippets through the admin interface. It simplifies the process of injecting code into your storefront without needing to modify theme files directly.
Features
- Create unlimited containers for JavaScript and/or CSS code
- Assign code snippets to specific sales channels
- Define which pages should include each snippet
- Set a date and time range for snippet activation
- Available in English, German, Italian, and French
Requirements
- Shopware 6.6 or higher
Installation
composer require swcommerce/javascript-css-injector bin/console plugin:refresh bin/console plugin:install -a SwCommerceJavascriptCSSInjector