Why default magento is not allowing to edit the order without cancel the existing order?
Hello @gkarthick87,
We are not probably the ones who can answer why there is no such functionality in the core.
Possibly,
The major problem when editing orders is that the total calculation is made based on the actual store settings. These settings can get changed from the moment of order creation to the moment of order editing, which can trigger unpredictable outcomes after the total gets calculated.
For example,
Changing the tax rate after the order is placed will result in an absolutely different grand total when adding a product to the order (when editing) as the new tax rate will influence other products as well.
The correct workaround would be not to edit an existing order but create a new one and thus avoid any unpredictable results.
It can be on the conscience of store admins but cause plenty of new bugs and issues. Or, there could be some other reason. =)
Anyways,
Order editing is possible with the help of extensions, including some products of ours:
https://marketplace.magento.com/mageworx-module-ordereditor.html
https://marketplace.magento.com/mageworx-module-ordereditormeta.html
---------------------------------------------------------
If you find our answer useful, please give 'Kudos' or 'Accept as Solution'.
Programming and all challenges are deformed for success. The shape of the goal and telemedicine app is vital for the themes. Improvement is observed for the full use of the offered data for the cycled element for the turns for the shows.
Dear gkarthick87,
We haven't read your code in detail, but on a general level: From a business logic standpoint editing an existing order should be restricted/avoided as it is tied to accounting/bookkeeping. Respecting accounting standards, the correct way is to create some kind of order that will adjust the existing order (cancel, add, change price, etc).
Best,
We at Sciflare are known for our speedy development process. The development timeline for a mobile app development can vary based on factors such as the platforms and features involved. On average, it can take between 4 to 6 months to develop a fully-functional custom fantasy sports app from scratch. However, if you're looking for a quicker launch, a white label solution may be a viable alternative.