For OpenCart 2.3, 3.0, 4.0 and 4.1
What you can do
- Find an order by number, customer name or e-mail, or open it straight from a button added to the shop's own order page.
- Change the quantity or the price of any product line. Quantity 0 (or the Remove box) takes the line out. An order must keep at least one line.
- Add products by searching name, model or number. They are added at the shop price, or at a price you type.
- Edit shipping and other charge lines by typing a new amount, and add one manual line (for example a goodwill discount with a minus sign).
- Change the customer name, e-mail and telephone, and the billing and shipping addresses, including country and region.
- Add a note that goes into the order history with the change.
What happens when you save
- The sub-total follows the lines. Each tax row (for example VAT) moves by the tax of what changed, using the shop's tax classes and the addresses on the order. A new country or region works the tax out again. The grand total is the sum of all lines.
- Stock: when the order is in a status where the shop has already taken the stock (the shop's processing and complete statuses), a larger quantity takes more stock, a smaller one or a removed line gives it back, for the product and for options that track stock. In other statuses stock is not touched. Products set to not subtract stock are left alone.
- One history row is added with the changes (the customer is not e-mailed), and a separate edit log keeps the old and new total, the admin user and the date.
- A save that is refused (a wrong number, an empty order, a product with required options, a total below zero) changes nothing.
- Two admins saving the same order at the same time cannot overwrite each other's figures.
Safe by design
- Admin only. Every action checks the admin permission: looking needs Access, saving needs Modify.
- All text you type is stripped of tags and stored the way the shop stores it. Quantities are whole numbers from 0 to 9999, prices and amounts are checked numbers.
- The edit log table is kept if you uninstall the module.
Notes
- Amounts are in the shop's default currency, as the shop stores them.
- Percentage coupons, vouchers and reward-point discounts are not recalculated when the lines change. Edit that line by hand if it should change.
- Products with required options (size, colour) cannot be added here; add them from the shop's own order page and then edit them here. Existing lines keep their options.
- If you use a separate stock-by-warehouse module, it is not told about the change.
- On very old installations whose tables are MyISAM, the checks run before anything is written; a database failure in the middle of a save could not be rolled back there.