SyliusCustomerReorderPlugin allows customer to reorder previously placed order.
Require plugin with composer:
composer require sylius/customer-reorder-plugin
Import configuration:
imports:
- { resource: "@SyliusCustomerReorderPlugin/Resources/config/config.yml" }
Import routing:
sylius_customer_reorder:
resource: "@SyliusCustomerReorderPlugin/Resources/config/app/reorder_routing.yml"
Add plugin class to your AppKernel
:
$bundles = [
new \Sylius\CustomerReorderPlugin\SyliusCustomerReorderPlugin(),
];
Clear cache:
bin/console cache:clear