Hello,
how to remove / edit items in orders.
I have to edit orders when the user creates an order but the order is not confirmed by his manager.
Company maneger is responsible for the company's orders. He must can edit/delete/comfirmed all normal company customers orders .
How to manege order items in frontend ?
Where to to add/remove/edit programicly items in orders.
Sorry form my bad English.
Hello @vanssata
Magento does not provide change existing order.
If you click on edit order it will cancel old order and place new order, hope it will help you.
There are some extension available into market.
Hope it will help you.
I need help guide how to add/remove/edit item in orders programatically.
In my case, the logic is quite confused. A ready module will not help me.
Hello @vanssata
please check below blog for same
https://webkul.com/blog/modify-existing-order-magento-2/
but take backup before that.
hope it will help you.
If works then mark as solution.
Sunil, thanks for awser.
Post help me to add/edit order items, but i still can not understand how I can remove the product.
I do not see a method (removeProduct or removeItem)
Hello @vanssata
why are you not using credit memo thing for that?
This is not resolve on my problem .
I need to edit orders items before get specific status.
I don't found any solution on this, just is not possible in magento CE to change order, after save in DB.
Now i make new module for that, but it's part of magento EE.
It is not possible to add this functionality unless you change the basic functionality of an order module.