Everything you'd want to know before you install.
A detailed look at how Edit Orders in PrestaShop 8 & 9: Products, Addresses and Invoice works, why we built it the way we did, and the thinking behind the features above.
What the native order page cannot do
The PrestaShop back office lets you add a product or change a quantity, but not switch an existing line from size M to size L. Percentage discounts are not always recalculated, an address change does not update the VAT, and an invoice already issued is edited in place, with the same number and no archive. To fix an order properly, many merchants cancel it and create a new one while the customer waits.
A complete editor under the Products block
The Edit this order button opens the editor right under the products. Each line can change combination, quantity or price, or be removed, and new products are added by search. Addresses, carrier, discounts and shipping cost are set on the same screen. Prices are entered tax excl. or tax incl., as the shop prefers.
A recalculation identical to a real order
Instead of computing amounts itself, the module rebuilds the order in a temporary cart that is never linked to an order, and lets PrestaShop apply its rules: specific prices, customer groups, cart rules, gift products, ecotax, carrier price ranges and rounding mode. Prices already paid are kept with specific prices restricted to that cart. The preview runs in a transaction that is rolled back, so it leaves nothing in the database.
Credit slip and new invoice, or updated invoice
In France and in many EU countries, an issued invoice cannot be changed: it is cancelled by a credit note and a new one is issued. This is the default mode. The invoice PDF is archived before any write, the credit slip takes its lines and full amount, and the new invoice takes the next number. The update mode, close to the native behaviour, keeps the number and still archives the previous PDF. The choice is made for each edit.
Stock, payments and tracking
Stock is adjusted by difference: a quantity raised from 2 to 3 only uses one unit, and a removed line can be put back in stock. The amount still due or overpaid is shown before confirmation and the payment stays on the order. The history keeps every edit with its documents, and lines already refunded or returned are locked so existing credit slips stay correct.
There are no reviews yet.