Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Latest commit

 

History

History
25 lines (19 loc) · 644 Bytes

legacy_installation.md

File metadata and controls

25 lines (19 loc) · 644 Bytes

Legacy installation (without Symfony Flex)

  1. Require plugin using Composer:

    composer require sylius/customer-order-cancellation-plugin
  2. Add plugin class to your AppKernel:

    $bundles = [
       new \Sylius\CustomerOrderCancellationPlugin\SyliusCustomerOrderCancellationPlugin(),
    ];
  3. Import routing to app/config/routing.yml:

    sylius_customer_order_cancellation_plugin:
        resource: "@SyliusCustomerOrderCancellationPlugin/Resources/config/routing.yml"
        prefix: /{_locale}
        requirements:
            _locale: ^[a-z]{2}(?:_[A-Z]{2})?$