Installation

Step 1: Install via Composer

composer require sylius/legacy-shop-bridge-plugin --no-scripts

Step 2: Enable Bundles

Add to config/bundles.php:

return [
    // ... existing bundles

    Sonata\BlockBundle\SonataBlockBundle::class => ['all' => true],
    FOS\RestBundle\FOSRestBundle::class => ['all' => true],
    Sylius\LegacyShopBridgePlugin\SyliusLegacyShopBridgePlugin::class => ['all' => true],
];

Step 3: Import Configuration

Add to config/packages/_sylius.yaml:

imports:
    - { resource: "@SyliusLegacyShopBridgePlugin/config/config.yaml" }

Step 4: Add Routes

Add to config/routes.yaml after existing shop routes:

Step 5: Install Frontend Dependencies

Add to package.json:

Install:

Next Steps

Proceed to Configuration to set up controllers, templates, and assets.

Last updated

Was this helpful?