diff --git a/README.md b/README.md index 62fffbb..8f298a0 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,64 @@ Edit orders inside your admin interface. composer require setono/sylius-order-edit-plugin ``` +### Import routing + +```yaml +# config/routes/setono_sylius_order_edit.yaml +setono_sylius_order_edit: + resource: "@SetonoSyliusOrderEditPlugin/Resources/config/routes.yaml" +``` + +### Extend the `Order` entity + +```php +addSql('UPDATE sylius_order SET initial_total = total'); +} + +// ... +``` + +### Done! + +You should be able to edit orders in your admin interface. Enjoy :tada: + [ico-version]: https://poser.pugx.org/setono/sylius-order-edit-plugin/v/stable [ico-license]: https://poser.pugx.org/setono/sylius-order-edit-plugin/license [ico-github-actions]: https://github.com/Setono/sylius-order-edit-plugin/workflows/build/badge.svg