-
Run
composer require webgriffe/sylius-clerk-plugin. -
Add the plugin to the
config/bundles.phpfile if not already done automatically:Webgriffe\SyliusClerkPlugin\WebgriffeSyliusClerkPlugin::class => ['all' => true],
-
Add the plugin's configuration by creating the file
config/packages/webgriffe_sylius_clerk_plugin.yaml.yamlwith the following content:imports: - { resource: "@WebgriffeSyliusClerkPlugin/config/config.php" }
-
Add the plugin's routing by creating the file
config/routes.yamlwith the following content:webgriffe_sylius_clerk_shop: resource: "@WebgriffeSyliusClerkPlugin/config/routes/shop.php" prefix: /{_locale} requirements: _locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$ webgriffe_sylius_clerk_feed: resource: "@WebgriffeSyliusClerkPlugin/config/routes/feed.php"
-
Finish the installation by installing assets:
bin/console assets:install bin/console sylius:theme:assets:install