Custom CSS + JavaScript + version history & optional cookie consent
Product information "Custom CSS + JavaScript + version history & optional cookie consent"
Highlights
Dedicated container manager for CSS, SCSS and JavaScript Compilation of custom code directly into the theme Change history with recovery option Script integration dependent on cookie consentÂ
Features
Code editor with syntax highlighting for SCSS and JavaScript Creation of any number of containers for code management Direct insertion of CSS/JS into the Shopware theme compilation No additional HTTP requests – clean integration without dependency issues (e.g. jQuery) Option to only integrate scripts with active cookie consent Prioritizable containers – controllable order of executionÂ
By default, Shopware does not offer a simple way to manage your own styles or scripts directly in the administration area and integrate them in a performant manner. Adjustments often have to be made laboriously via themes or external files.
We have therefore developed a plugin that offers the following functions:
- Manage your own styles
Individual CSS or SCSS customisations can be stored directly in the editor – for example, for colours, spacing or animations. Integration is automatic and takes precedence over the Shopware standard styles. - Insert your own scripts
Your own JavaScript functions can be added centrally, for example for tracking or interactive shop elements. Scripts can be configured so that they are only loaded with the customer's consent (e.g. Google Analytics). - Change history & restoration
All customisations are automatically logged. The integrated history allows you to keep track of everything and revert to older versions at any time if necessary. - Flexible management through containers
Styles and scripts are organised in separate containers. These can be created, prioritised and assigned to individual sales channels as required. - Script integration after cookie consent
Scripts can only be integrated after cookie consent has been given. An individual cookie name and a predefined cookie group can be selected. - Clean & high-performance integration
The code is integrated directly into the Shopware theme compilation. This means that no additional HTTP requests are generated and there are no conflicts with existing libraries (e.g. jQuery).
Â
- A problem with the code editor in the Admin has been fixed.
- Fixes possible issues during a plugin update.
- Fixes possible compatibility issues.
- Admin and storefront code optimizations.
- When a style/script is changed, the cache is now invalidated so that the changes are immediately visible in the shop.
- Fixes an issue where JavaScript was loaded in the storefront even when no scripts were specified in the admin.
- Optimised theme compilation functionality.
- Resolved security risk, Compile script while saving data at administration side instead of loading raw HTML data.
- Optimization in the administration for the compilation of styles.
- Display the lastChanged card after the first save. If no changes are made, no history entry will be generated.
- Fixed the console error when creating a new style and remove !important statements.
- Added descriptive names to the migration files.
- Behebt ein Problem, bei dem Styles nicht mehr korrekt geladen wurden.
- Behebt mögliche Probleme beim Plugin Update.
- Improved the lastChangedByUser card and functionality & optimised the code & changes the snippets.
- Implemented versioned log history
- Fixed icon compatibility with other plugins.
- Improved technical name validation and style-script code color
- Javascript is working based on the cookie acceptance
- Improved plugin compatibility with Shopware 6.7.
- Improved plugin compatibility with Shopware 6.7.
- Compatibility with Shopware 6.7.
- Support for the following languages: de-DE, en-GB, nl-NL, fr-FR, es-ES, fi-FI, nn-NO, sv-SE, cs-CZ, pt-PT, tr-TR, da-DK, it-IT, pl-PL, bs-BA
- Improved functionality to dynamically retrieve the plugin name from the configuration collection instead of using a static value.
- Resolved security risk, Compile script while saving data at administration side instead of loading raw HTML data.
- Fixes potential issues during plugin updates.
- Improved the lastChangedByUser card and functionality & optimised the code & changes the snippets.
- Improved version history functionality
- Improved script validation and code editor color picker
- Bug fixing
- Javascript is working based on the cookie acceptance
- Code optimizations.
- Code optimizations.
- Improved compatibility of the admin view with Shopware 6.6.10.0.
- Compatibility with Shopware 6.6.
- Change of the compatibility specification for Shopware.
- Compatibility with Shopware 6.5.
- Change of the compatibility specification for Shopware.
- Change of the plugin name and the manufacturer links.
- Optimizes plugin image.
- Improves compatibility with Shopware >= 6.4.10.0.
- Optimizes plugin color in administration.
- Fix a problem on adding multiple styles
- Add possibility to insert style code before Shopware.
- Add search ranking of name and code fields for custom style / script in administration.
- Allows you to define the order in which the codes are compiled.
- Add modal for compiling themes after deleting the style / script.
- Optimisation of snippets
- Release
Login