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 73109ca

Browse files
authored
Merge pull request #32 from pamil/make-readme-great-again
Make README great again
2 parents 66a150f + 1e3a85a commit 73109ca

2 files changed

Lines changed: 35 additions & 26 deletions

File tree

README.md

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,55 @@
1-
# CustomerReorderPlugin
1+
<p align="center">
2+
<a href="https://sylius.com" target="_blank">
3+
<img src="https://demo.sylius.com/assets/shop/img/logo.png" />
4+
</a>
5+
</p>
26

3-
SyliusCustomerReorderPlugin allows customer to reorder previously placed order.
7+
<h1 align="center">Customer Reorder Plugin</h1>
8+
9+
<p align="center">This plugin allows customers to reorder a previously placed order.</p>
10+
11+
![Screenshot showing the customer's orders page with reorder buttons](docs/screenshot.png)
412

513
## Installation
614

7-
Require plugin with composer:
15+
1. Require plugin with composer:
816

9-
```bash
10-
composer require sylius/customer-reorder-plugin
11-
```
17+
```bash
18+
composer require sylius/customer-reorder-plugin
19+
```
1220

13-
Import configuration:
21+
2. Import configuration:
1422

15-
```yaml
16-
imports:
17-
- { resource: "@SyliusCustomerReorderPlugin/Resources/config/config.yml" }
18-
```
23+
```yaml
24+
imports:
25+
- { resource: "@SyliusCustomerReorderPlugin/Resources/config/config.yml" }
26+
```
1927
20-
Import routing:
28+
3. Import routing:
2129
22-
````yaml
23-
sylius_customer_reorder:
24-
resource: "@SyliusCustomerReorderPlugin/Resources/config/app/reorder_routing.yml"
25-
````
30+
```yaml
31+
sylius_customer_reorder:
32+
resource: "@SyliusCustomerReorderPlugin/Resources/config/app/reorder_routing.yml"
33+
```
2634
27-
Add plugin class to your `AppKernel`:
35+
4. Add plugin class to your `AppKernel`:
2836
29-
```php
30-
$bundles = [
31-
new \Sylius\CustomerReorderPlugin\SyliusCustomerReorderPlugin(),
32-
];
33-
```
37+
```php
38+
$bundles = [
39+
new \Sylius\CustomerReorderPlugin\SyliusCustomerReorderPlugin(),
40+
];
41+
```
3442
35-
Clear cache:
43+
5. Clear cache:
3644
37-
```bash
38-
bin/console cache:clear
39-
```
45+
```bash
46+
bin/console cache:clear
47+
```
4048
4149
## Extension points
4250
4351
Customer Reorder plugin is based on two processes:
52+
4453
* reorder processing
4554
* reorder eligibility checking
4655

docs/screenshot.png

202 KB
Loading

0 commit comments

Comments
 (0)