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

Commit

Permalink
Merge pull request #11 from bartoszpietrzak1994/docs
Browse files Browse the repository at this point in the history
Intallation guide
  • Loading branch information
Zales0123 committed Jun 7, 2018
2 parents a0faa10 + 50ea864 commit 9d71bd9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,39 @@
# CustomerReorderPlugin

SyliusCustomerReorderPlugin allows customer to reorder previously placed order.

## Installation

Require plugin with composer:

```bash
composer require sylius/customer-reorder-plugin
```

Import configuration:

```yaml
imports:
- { resource: "@SyliusCustomerReorderPlugin/Resources/config/config.yml" }
```
Import routing:
````yaml
sylius_admin_order_creation:
resource: "@SyliusCustomerReorderPlugin/Resources/config/app/reorder_routing.yml"
````
Add plugin class to your `AppKernel`:

```php
$bundles = [
new \Sylius\CustomerReorderPlugin\SyliusCustomerReorderPlugin(),
];
```

Clear cache:

```bash
bin/console cache:clear
```

0 comments on commit 9d71bd9

Please sign in to comment.