Files affected:
/catalog/admin/edit_orders.php


Work-around for the bug where the Edit Order function hangs (blank screen). I would like to resolve this issue properly, but for the time being this fix will work. The shipping method will appear as a line item in the order (with description, e.g. FedEx, etc.) and the cost of shipping can be edited.

Order Editor will also report that no shipping methods are available. If you don't mind manually figuring the shipping cost then this works as a stop-gap measure to allow you to utilize this wonderful mod and also the Free Shipping mod which many stores use.

The alternative is you have to turn off Free Shipping in your store in order to be able to edit any orders - not very helpful!

FIX:

Around Line 349:

Original:

// Get the shipping quotes- if we don't have shipping quotes shipping tax calculation can't happen
// $shipping_modules = new shipping;
// $shipping_quotes = $shipping_modules->quote();


Change to:

// BOF Fix for Free Shipping mod compatibility by Richard Cranium
// Removing lines below prevents blank page on Order Update function
// Get the shipping quotes- if we don't have shipping quotes shipping tax calculation can't happen
// $shipping_modules = new shipping;
// $shipping_quotes = $shipping_modules->quote();
// EOF Fix for Free Shipping mod compatibility

#################

Around line 663:

Original Code:

// Get the shipping quotes
// $shipping_modules = new shipping;
// $shipping_quotes = $shipping_modules->quote();
// End fix for Free Shipping


Change to:

// Fix for Free Shipping compatibility by Richard Cranium
// Removing lines below prevents blank page on Edit Order from Admin panel
// Get the shipping quotes
// $shipping_modules = new shipping;
// $shipping_quotes = $shipping_modules->quote();
// End fix for Free Shipping


More...