Plugins
The Shopware 6 Plugin System is a flexible and modular system that allows developers to add functionalities to the Shopware platform or extend existing features. It is based on the Symfony framework and follows modern PHP standards.
Target systems
Shopware plugins can only be used in a self hosted or PaaS (Cloud) environment. It is not possible to use a plugin in a SaaS (Cloud) environment.
Core Features of the Shopware 6 Plugin System:
Modularity
Plugins can be developed, installed, and updated independently.
Extensions do not directly modify the core but instead enhance or modify specific areas.
Two Main Types of Extensions
Apps: Platform-independent extensions that interact with Shopware via API without directly modifying the code.
Plugins: PHP-based extensions that deeply integrate with the system and can modify core functionalities.
Symfony Event System & Hooks
Plugins utilize the event listener system to influence existing processes or add custom logic.
Subscribers can hook into events to extend order processes or modify the frontend.
Dependency Injection (DI)
The plugin system uses Symfony's DI container to manage services efficiently and flexibly.
Database Extensions with Migrations
Plugins can add custom database tables or fields using migration scripts.
Theme Customization & Twig Templates
Plugins can modify the frontend by adding custom templates, blocks, or Twig-based enhancements.
Management via the Shopware Admin Panel
Plugins can be easily installed, activated, and configured through the Admin Panel.
Last updated
Was this helpful?