I have just found a way to make this work in V1.5.5c.
I am no expert, so I should not say "make it work", but if I remove a few lines of code in the new_order.php file it seems to work just fine.
The lines can be found close to the bottom, and this is what they are (I have no real idea what they do - or don't do, in this case)...
// Create the order totals.
$order_totals = $GLOBALS['order_total_modules']->process();
for($i=0, $n=sizeof($order_totals); $i<$n; $i++) {
// Skip shipping modules. No shipping method has been added at this point.
if($order_totals[$i]['code'] == 'ot_shipping') continue;
$sql_data_array = array(
'orders_id' => $cInfo->orders_id,
'title' => $order_totals[$i]['title'],
'text' => $order_totals[$i]['text'],
'value' => (is_numeric($order_totals[$i]['value'])) ? $order_totals[$i]['value'] : '0',
'class' => $order_totals[$i]['code'],
'sort_order' => $order_totals[$i]['sort_order']
);
zen_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array);
}
Be careful to only remove exactly this section... OH and back stuff up first, so if this does something really stupid you can fix it.
I hope somebody really clever on here will know why this chunk of code makes this fail.


Reply With Quote

