As an EXPERIMENT (no guarantees here with this idea), you could try the following...
/includes/modules/checkout_process.php
Around line 51 you'll see this section of code:
Code:
// load the selected shipping module
require(DIR_WS_CLASSES . 'shipping.php');
$shipping_modules = new shipping($_SESSION['shipping']);
require(DIR_WS_CLASSES . 'order.php');
$order = new order;
Try moving the shipping-module part down a few lines, like this:
Code:
// load the selected shipping module
require(DIR_WS_CLASSES . 'shipping.php');
require(DIR_WS_CLASSES . 'order.php');
$order = new order;
$shipping_modules = new shipping($_SESSION['shipping']);
Note: ZC v155b includes this fix:
https://github.com/zencart/zencart/pull/1034
Bookmarks