Manual Installation
1. Install the Plugin via Composer
composer require sylius/product-bundle-plugin2. Enable the Bundle
# config/bundles.php
return [
...
Sylius\ProductBundlePlugin\SyliusProductBundlePlugin::class => ['all' => true],
];3. Import Configuration
# config/packages/_sylius.yaml
imports:
...
- { resource: "@SyliusProductBundlePlugin/config/config.yaml" }4. Import routes
# config/routes.yaml
...
sylius_product_bundle:
resource: "@SyliusProductBundlePlugin/config/routes.yaml"5. Extend the OrderItem entity
OrderItem entity6. Extend the Product entity
Product entity7. Import plugin assets
8. Install and build assets
9. Run Doctrine Migrations
10. Clear the Symfony Cache
Last updated
Was this helpful?
