Thanks to visit codestin.com
Credit goes to github.com

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

Commit 9d71bd9

Browse files
authored
Merge pull request #11 from bartoszpietrzak1994/docs
Intallation guide
2 parents a0faa10 + 50ea864 commit 9d71bd9

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,39 @@
11
# CustomerReorderPlugin
2+
3+
SyliusCustomerReorderPlugin allows customer to reorder previously placed order.
4+
5+
## Installation
6+
7+
Require plugin with composer:
8+
9+
```bash
10+
composer require sylius/customer-reorder-plugin
11+
```
12+
13+
Import configuration:
14+
15+
```yaml
16+
imports:
17+
- { resource: "@SyliusCustomerReorderPlugin/Resources/config/config.yml" }
18+
```
19+
20+
Import routing:
21+
22+
````yaml
23+
sylius_admin_order_creation:
24+
resource: "@SyliusCustomerReorderPlugin/Resources/config/app/reorder_routing.yml"
25+
````
26+
27+
Add plugin class to your `AppKernel`:
28+
29+
```php
30+
$bundles = [
31+
new \Sylius\CustomerReorderPlugin\SyliusCustomerReorderPlugin(),
32+
];
33+
```
34+
35+
Clear cache:
36+
37+
```bash
38+
bin/console cache:clear
39+
```

0 commit comments

Comments
 (0)