LegacyShopBridgePlugin
Overview
This plugin provides backward compatibility with the Sylius 1.x shop frontend for applications migrating to Sylius 2.0+.
Sylius 2.0 introduced a completely new frontend architecture, removing the legacy shop controllers, template event system, and Twig extensions from version 1.x. For teams with existing Sylius 1.x storefronts, this means a full frontend rewrite would be required to upgrade.
The LegacyShopBridgePlugin solves this problem by restoring the removed functionality. It brings back the shop controllers (cart, checkout, account, orders), the sylius_template_event() Twig function for template customization, Sonata block support, and the complete set of legacy shop templates.
This allows teams to upgrade their Sylius backend to 2.0 while keeping their existing storefront working. The migration to the new frontend can then happen gradually, page by page, rather than all at once.
Note: Compatibility is guaranteed only for core Sylius (
sylius/sylius) functionality. Third-party plugins may require additional adjustments on a case-by-case basis.
Requirements
PHP
^8.2
Sylius
^2.0
Symfony
^6.4 or ^7.1
SonataBlockBundle
^4.2 or ^5.0
FOSRestBundle
^3.0
Documentation
Resources
Last updated
Was this helpful?
