Download the PHP package setono/sylius-order-edit-plugin without Composer
On this page you can find all versions of the php package setono/sylius-order-edit-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setono/sylius-order-edit-plugin
More information about setono/sylius-order-edit-plugin
Files in setono/sylius-order-edit-plugin
Package sylius-order-edit-plugin
Short Description Setono example plugin for Sylius.
License MIT
Informations about the package sylius-order-edit-plugin
Sylius Order Edit Plugin
Edit orders inside your admin interface.
Install
Import routing
If you're using Sylius <=1.10, also import additional product variant routes:
and remember to add the referenced ProductVariantRepository
methods (findByCodes
and findByPhrase
).
Extend the Order
entity
Update your database schema
The plugin adds a new field to the Order
entity named initialTotal
which will contain the order total and is used when editing orders.
To set the initialTotal
field for existing orders, you can add the following to your migration:
Done!
You should be able to edit orders in your admin interface. Enjoy :tada:
All versions of sylius-order-edit-plugin with dependencies
doctrine/orm Version ^2.0 || ^3.0
doctrine/persistence Version ^2.0 || ^3.0
sylius/admin-bundle Version ^1.0
sylius/core Version ^1.0
sylius/core-bundle Version ^1.0
sylius/grid-bundle Version ^1.0
sylius/money-bundle Version ^1.0
sylius/order Version ^1.0
sylius/order-bundle Version ^1.0
sylius/resource-bundle Version ^1.6
symfony/config Version ^5.4 || ^6.4 || ^7.0
symfony/dependency-injection Version ^5.4 || ^6.4 || ^7.0
symfony/event-dispatcher Version ^5.4 || ^6.4 || ^7.0
symfony/form Version ^5.4 || ^6.4 || ^7.0
symfony/http-foundation Version ^5.4 || ^6.4 || ^7.0
symfony/http-kernel Version ^5.4 || ^6.4 || ^7.0
symfony/messenger Version ^5.4 || ^6.4 || ^7.0
symfony/options-resolver Version ^5.4 || ^6.4 || ^7.0
symfony/routing Version ^5.4 || ^6.4 || ^7.0
symfony/translation Version ^5.4 || ^6.4 || ^7.0
webmozart/assert Version ^1.11